Skip to content

stream_data_wifi.py "failed to parse" errors #75

Open
@sarah-mcl

Description

@sarah-mcl

Apologies in advance if this is not the right way to post such an issue.

When trying to run stream_data_wifi.py, I am able to connect to the board but the packets are garbled, as shown in the output below:
Welcome to OpenBCI Native WiFi Shield Driver - Please contribute code!
Opened socket on 192.168.1.110:49624
Try to find WiFi shields on your local wireless network
Scanning for 5 seconds nearby devices...
Found WiFi Shield OpenBCI-4AAD with IP Address 192.168.1.104
Init WiFi connection with IP: 192.168.1.104
Connected to cyton with 8 channels
WiFi Shield to Python TCP Socket Established
WiFi Shield Instantiated
Incoming connection from ('192.168.1.104', 5672)
failed to parse: ?D??U??V?͆?? ?????s???F??#??9??k???u?????s???G????????????um?u??T?s,??H?????????Ú?u?????{?sU??I?????P?̍??%?u?%????r???J??{????????f?uO?S??1???K?????????é?u?????j?sE??L?????????å?u?????Y?s;????M??????????Ë?uv?r??8?s?
No JSON object could be decoded

I have an OpenBCI Cyton and Wifi Shield, both with up-to-date firmware. Streaming works with the OpenBCI GUI, and I was able to get the js example (getStreaming.js) to work.

I'm running on a Mac so I was unable to install bluepy, but all other requirements are at or above the required versions.

Any assistance would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions