Skip to content

Byte order conversion on the raspberry pi. #53

@vincentNRC

Description

@vincentNRC

Hi,

I've been experimenting with LSL on the Raspberry Pi in the past few days and so far so good, it's installed and I'm able to exchange some data with a Windows PC.

The issue comes when I tried to send a string from the PC to the Pi. I keep getting an error from "data_receiver.cpp" line 342 that says "Stream transmission broke off (The byte order conversion requested by the other party is not supported.)".

I've had a look at the "data_receiver.cpp" script and I've identified that the error is thrown from line 231 when using the can_convert_endian() function. So I'm guessing this is returning false and the error is thrown.

Based on these observations, my questions is: Is there some conversion I'm not doing when sending strings from the PC to the Pi?

A good way to reproduce this is to run the "SendStringMarkers.py script" on the PC and the "ReceiveStringMarkers.py" on the Pi.

For reference, I'm using PyLSL version 1.15.0 on Raspberry Pi 3B.

Thanks in advance for your help.

Cheers,
Vincent G.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions