OpenBCI / OpenBCI_GUI

A cross platform application for the OpenBCI Cyton and Ganglion. Tested on Mac, Windows and Ubuntu/Mint Linux.
MIT License
708 stars 257 forks source link

Add Ganglion firmware toggle for Mac users #1193

Closed retiutut closed 11 months ago

retiutut commented 11 months ago

Temporary fix for #1191

retiutut commented 11 months ago

image

retiutut commented 11 months ago

Reduced the core temporary changes to 1 commit. In separate commit changed version to v6.0.0-beta.0.

Runs as expected on Mac OS 13 with Apple Silicon (Arm64) mac.

Though I saw some serious issues with periodic packet loss (probably not real, but I don't know) using Ganglion v3.0.1, BrainFlow 5.10.0, and Native Bluetooth. @philippitts

Update: I also re-uploaded 3.0.1 firmware just to make sure. For some reason, when I check the version using nRF connect app still shows 3.0.0.

retiutut commented 11 months ago
=================================================
||             INITIALIZING SYSTEM             ||
=================================================

MAC address for Ganglion is 3C89F9CC-86F7-F9AB-210F-112455EE343D
[DEFAULT]: Detected Ganglion firmware version 3
Sending config string to board: n
2023-09-20 15:56:08.466 java[13033:776969] Peripheral ready to send: <CBPeripheral: 0x7fe1649b1890, identifier = 3C89F9CC-86F7-F9AB-210F-112455EE343D, name = Simblee, mtu = 23, state = connected>
OpenBCI_GUI: Channel count set to 4
opening socket failed!
        > address:127.0.0.1, port:12350 [group:null]
        > Address already in use
[SUCCESS]: Marker Widget: Listening for markers on 127.0.0.1:12350
InitSettings: Saving Default Settings to file!
SessionSettings: 4 active widgets saved!
[SUCCESS]: Session started!
[DEFAULT]: openBCI_GUI: startButton was pressed. Starting data transfer, wait a few seconds.
OpenBCI_GUI: openNewLogFile: opened ODF output file: /Users/richard/Documents/OpenBCI_GUI/Recordings/OpenBCISession_2023-09-20_15-55-46/OpenBCI-RAW-2023-09-20_15-56-10.txt
OpenBCI_GUI: BrainFlow Streamer Location: file:///Users/richard/Documents/OpenBCI_GUI/Recordings/OpenBCISession_2023-09-20_15-55-46/BrainFlow-RAW_2023-09-20_15-55-46_0.csv:w
Brainflow start streaming
[DEFAULT]: Data stream started.
2023-09-20 15:56:10.187 java[13033:776970] Peripheral ready to send: <CBPeripheral: 0x7fe1649b1890, identifier = 3C89F9CC-86F7-F9AB-210F-112455EE343D, name = Simblee, mtu = 23, state = connected>
WARNING: Lost 1 Samples Between 0-1
[WARN]: Lost packets detected, open packet loss widget for more info
[INFO]: Data streaming is running as usual
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
WARNING: Lost 1 Samples Between 0-1
[DEFAULT]: openBCI_GUI: stopButton was pressed. Stopping data transfer, wait a few seconds.
Brainflow stop streaming
[DEFAULT]: Data stream stopped.
retiutut commented 11 months ago

Screenshot 2023-09-20 at 4 18 18 PM

philippitts commented 11 months ago

There was an issue with the Ganglion v3.0.1 build posted on the releases page as discussed here. Can you try re-downloading and flashing the Ganglion v3.0.1 firmware?