Note that there are some explanatory texts on larger screens.

plurals
  1. POAccessing serial data from Neurosky Mindset over bluetooth in linux
    text
    copied!<p>I am trying to access the serial data stream being transmitted from the Neurosky Mindset over bluetooth. It is a step in using ThinkGear Communications Protocol mentioned here:</p> <p><a href="http://developer.neurosky.com/docs/doku.php?id=which_api_is_right_for_me" rel="nofollow">http://developer.neurosky.com/docs/doku.php?id=which_api_is_right_for_me</a></p> <p>There are a couple programs that should do this for me (Puzzlebox, Mindstream, etc.), I've either had apparently unsolvable dependency issues or they don't do exactly what I want.</p> <p>I am able to pair the Mindset with my machine using blueman (specifically blueman-manager) I am able to connect the serial port to /dev/rfcomm0. What I am first wondering is: how do I read from this data stream. If I run sdptool records on the device, I get the following output:</p> <p>Service Name: Dev B Service RecHandle: 0x10005 Service Class ID List: "Serial Port" (0x1101) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 3 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100</p> <p>(I get more than that, but that is the service I'm trying to access.)</p> <p>I guess my main questions are: If cat /dev/rfcomm0 displays nothing does that mean that there is no data being transmitted? Is the problem that it isn't being displayed because it is raw? Is there a command that will guarantee to give me any serial data if it is being transmitted? Is there a bluetooth standard command that starts SPP transmission (I've searched for documentation for bluez, but that hasn't been too fruitful)?</p> <p>I have run everything as both root and regular so that doesn't seem to fix it.</p> <p>Any help would be greatly appreciated.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload