Updates on adding Synchroni Devices#754
Conversation
Requires information of boards, Require setup of child board class and implementation of virtual methods needbuild.cmakenew files and directories to target include directories
Need implementation of the Synchroni board class
added info and binding of: Uno Tro Pento Octo Neo Synchroni board
TODO added
Changed boardIDs to be universal for synchroni devices. update on read_data()
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
…SI/brainflow into Synchroni_Device_Setup
Data parsing implmentation in progress. stream ends abnormally with no data during wait time with current command send for start_stream. checking command with hardware department
…SI/brainflow into Synchroni_Device_Setup
This reverts commit df382a8.
Dropping tests that was not excluded from previous merge in fork
roping tests that was not excluded from previous merge
Andrey1994
left a comment
There was a problem hiding this comment.
would be much easier wo need to hide communication protocol and just implement parsing in BrainFlow using BleLibBoard... but its fine, I think brainflow part for adding new board is ok
.gitignore
Outdated
| build/ No newline at end of file | ||
| build/ | ||
| *.DS_Store | ||
| /tryinstall/ |
There was a problem hiding this comment.
removed and discarding changes resulted from changes in gitignore
CMakeLists.txt
Outdated
| @@ -1,4 +1,9 @@ | |||
| cmake_minimum_required (VERSION 3.13) | |||
| if (APPLE) | |||
There was a problem hiding this comment.
Because MAC version requires XCFramework (new format of library), so it will require latest version of CMake
| NEUROPAWN_KNIGHT_BOARD = 57 | ||
| SYNCHRONI_TRIO_3_CHANNELS_BOARD = 58 | ||
| SYNCHRONI_OCTO_8_CHANNELS_BOARD = 59 | ||
| SYNCHRONI_PENTO_8_CHANNELS_BOARD = 62 |
There was a problem hiding this comment.
60 and 61 are missed, see no reasons for such gaps, so please change board ids
There was a problem hiding this comment.
fixed ID in new commit
| NEUROPAWN_KNIGHT_BOARD(57); | ||
| NEUROPAWN_KNIGHT_BOARD(57), | ||
| SYNCHRONI_TRIO_3_CHANNELS_BOARD(58), | ||
| SYNCHRONI_OCTO_8_CHANNELS_BOARD(59), |
There was a problem hiding this comment.
60 is missed, such ids should match each other among languages otherwise it will not work
There was a problem hiding this comment.
Fixed id in new commit
matlab_package/brainflow/BoardIds.m
Outdated
| NEUROPAWN_KNIGHT_BOARD(57) | ||
| SYNCHRONI_TRIO_3_CHANNELS_BOARD(58) | ||
| SYNCHRONI_OCTO_8_CHANNELS_BOARD(59) | ||
|
|
There was a problem hiding this comment.
fixed ID in new commit
| params.file = args.file | ||
| params.master_board = args.master_board | ||
|
|
||
There was a problem hiding this comment.
this file should not be changed
| {"timestamp_channel", 4}, | ||
| {"marker_channel", 5}, | ||
| {"num_rows", 6}, | ||
| {"eeg_channels", {1, 2}}, |
There was a problem hiding this comment.
is it really ecg channel only? for the cases where electrode can be connected to everything and there is no way to know it in front we just write eeg_channels emg_channels and ecg_channels to the same values(e.g. openbci ganglion)
There was a problem hiding this comment.
We recommend user use according to IFU
| std::tuple<std::string> info = | ||
| std::make_tuple (params.mac_address); | ||
| return func ((void*)&info); | ||
| // return s_close_device((void*)params.mac_address.c_str()); |
There was a problem hiding this comment.
would be good to remove such comments here and in other places
There was a problem hiding this comment.
CLeaned up synchroni_board.cpp
| @@ -0,0 +1,205 @@ | |||
| name: Cpp Release | |||
There was a problem hiding this comment.
all changes from simpleble should be removed from this change, it doesnt even use ble_board anymore
| @@ -0,0 +1,102 @@ | |||
| // | |||
There was a problem hiding this comment.
is there any difference between all these macos headers for different archs? I guess no, so can the headers folder be made common for all of them?
There was a problem hiding this comment.
Because MAC version requires XCFramework (new format of library), this is part of released xcframework
build/ *.DS_Store /tryinstall/ removed from git ignore discarding changes
Fixing id gaps, id 60 reserved for OB5000 Fixing test changed
|
will make another pass on review when jobs are green, seems like there are multile compilation issues. From Linux job: And on windows there is: |
disable build for linux
I've submited, disable linux build, please check |
|
sorry for delays, for the 1st time contributors CI jobs do not start automatically, so I am approving them manually and there is some delay here |
Np, I'll inform Ye and Tony |
Andrey1994
left a comment
There was a problem hiding this comment.
looks good, just two minor comments about cmake
also, which OSes and devices have you tested with brainflow api so far? could you share some recorded files and do you want me to test any particular OS or config?
|
|
||
| if (BUILD_SYNCHRONI_SDK) | ||
| if (ANDROID) | ||
|
|
There was a problem hiding this comment.
add a warning message here that its not currently supported
| ${BOARD_CONTROLLER_SRC} | ||
| ) | ||
|
|
||
| #if (ANDROID AND BUILD_BLE) |
There was a problem hiding this comment.
thats not related to syncroni devices and should be restored
|
I will update docs and website, do you have any preferred images for that? I need smth with no background or white backgraound and one square image for the website and any image you like for docs |
|
I’ll ask Tony for a set of pictures taken earlier, will get back to you asap
Regards,
Ziyue Wang
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Andrey Parfenov ***@***.***>
Sent: Sunday, January 26, 2025 2:39:55 PM
To: brainflow-dev/brainflow ***@***.***>
Cc: Ziyue Wang ***@***.***>; Author ***@***.***>
Subject: Re: [brainflow-dev/brainflow] Updates on adding Synchroni Devices (PR #754)
I will update docs and website, do you have any preferred images for that? I need smth with no background or white backgraound and one square image for the website and any image you like for docs
—
Reply to this email directly, view it on GitHub<#754 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BKHTHZKBDKRBVGARUE2HR4D2MU2YXAVCNFSM6AAAAABUTOUU52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJUGU3DIMBWHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Adding support for the following Synchroni Devices:
Synchroni_Uno
Synchroni_Trio
Synchroni_Pento
Synchroni_Octo
OB3000