Conversation
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
|
One more note: this change in the structure of BLE chars is overall good and makes sense. I will not be surprised if this will be updated for old devices with some fw + app updates |
|
I just want to develop backend to scan and connect with muse S athena and stream EEG signals from it. Can anyone kindly guide me how I can do this? It will be of great help. Thanks |
I think this is not yet ready in the opensource community. Streaming data is now possible by brainflow (as above) but data is not yet interpreted to the EEG signal in micro-voltages that you need. If you are ok with offline data processing, paying for the mind monitor app may be the best option. if you are like me, hoping to do real time processing, we have to wait for these guys to update the code. I expect this is happening soon, I think the creators of bluemuse and muselsl are also working on this as we speak. |
|
How were you able to get the raw EEG packets? Im trying with brainflow , but Im getting errors. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a1d5c96a7f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
| [DllImport ("BoardController", SetLastError = true, CallingConvention = CallingConvention.Cdecl)] | ||
| public static extern int get_ppg_channels (int board_id, int preset, int[] channels, int[] len); | ||
| [DllImport ("BoardController", SetLastError = true, CallingConvention = CallingConvention.Cdecl)] | ||
| public static extern int get_optical_channels (int board_id, int preset, int[] channels, int[] len); |
| [DllImport ("BoardController32", SetLastError = true, CallingConvention = CallingConvention.Cdecl)] | ||
| public static extern int get_ppg_channels (int board_id, int preset, int[] channels, int[] len); | ||
| [DllImport ("BoardController32", SetLastError = true, CallingConvention = CallingConvention.Cdecl)] | ||
| public static extern int get_optical_channels (int board_id, int preset, int[] channels, int[] len); |
| switch (PlatformHelper.get_library_environment ()) | ||
| { | ||
| case LibraryEnvironment.x64: | ||
| return BoardControllerLibrary64.get_optical_channels (board_id, preset, channels, len); |
| case LibraryEnvironment.x64: | ||
| return BoardControllerLibrary64.get_optical_channels (board_id, preset, channels, len); | ||
| case LibraryEnvironment.x86: | ||
| return BoardControllerLibrary32.get_optical_channels (board_id, preset, channels, len); |
BLE characteristics are changed and now they match BrainFlow presets perfectly. Instead of one characteristic per channel there is one for all EEG it seems and one for the rest. Its like default and aux presets in BrainFlow:
Current state(updates will be in comments)
Incomming data is printed in logs: