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!

3
  • 1
    what problem are you referring to?
    – dandavis
    May 10, 2017 at 9:07
  • The code above will only read one byte May 10, 2017 at 10:51
  • @dandavis I want to get one byte using BLE without pairing May 10, 2017 at 13:51

1 Answer 1

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.

2
  • Thank you for the explanation. So without SPP and detail configurations for BLE I can't receive data from neuro? May 10, 2017 at 14:12
  • Seems like not :( May 10, 2017 at 14:31

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