1

I read exist articles about it, but still not understand how to do that. I have a Genuino 101 and an EEG Headband (neuro interface). Need to get data from neuro device. With external HC-05 bluetooth module the code look like this:

 SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);
 bluetooth.begin(57600); 
 while (!bluetooth.available()) {}
 byteRead = bluetooth.read();

Has anyone encountered a similar problem? Thanks!

  • 1
    what problem are you referring to? – dandavis May 10 '17 at 9:07
  • The code above will only read one byte – Code Gorilla May 10 '17 at 10:51
  • @dandavis I want to get one byte using BLE without pairing – Rachkovan Oleg May 10 '17 at 13:51
0

HC-05 module is not BLE (Bluetooth 4.0)! HC-05 implements SPP (Serial port profile) over Bluetooth Classic (Bluetooth 2.0). You will need a module with BLE capability and that is not over yet. BLE implements several (hundred) profiles for each task such as heartrate monitor, neuro monitor, time etc etc. Your BLE module must be condigured to receive a specific profile data.

  • Thank you for the explanation. So without SPP and detail configurations for BLE I can't receive data from neuro? – Rachkovan Oleg May 10 '17 at 14:12
  • Seems like not :( – Mert Gülsoy May 10 '17 at 14:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.