Bluetooth-Library icon indicating copy to clipboard operation
Bluetooth-Library copied to clipboard

Connected but chat not working

Open ronnieedev opened this issue 3 years ago • 2 comments

I'm not able to receive data on the other end Data cannot be sent to the device too. module hc-06

ronnieedev avatar Aug 30 '20 08:08 ronnieedev

Regarding the device side: the default behaviour is to read data line by line (you can change that, see README). So if you want to receive data on your phone you should send data with "\n" at the end.

Regarding HC-06 side: I don't know why cannot receive data if you managed to connect. Can you send the receiving code ? Are you using Arduino ?

omaraflak avatar Aug 30 '20 08:08 omaraflak

Regarding the device side: I tried the solution, but it didn't work. Regarding HC-06 side: I'm using Arduino. Do I have to set the tx / rx value?

ronnieedev avatar Aug 31 '20 04:08 ronnieedev