Help with Bluetooth issue

Hi All

I have an HM-11 BT module that I am configuring as a Master/Central and attempting to connecting to a SH-M08 BT slave module. I can connect to the slave successfully but I cant send data. I found this code on line. After configuring the HM-11, scanning and printing the found BT modules to serial, it reads commands from the serial port.

From the monitor I can send AT+CON[ADDR] and get back OK+CONNA and OK+CONN which indicates that connection was successful. When I attempt to send anything via the serial connection it does not get received by the slave BY. I am able to used my phone to send data to the slave BT.

This is the code.

https://pastebin.com/Dh0LuXCn?fbclid=IwAR0PA77dkIk3GIZ4y507Wk0XhBzvenH5PaoHLsSKVriU8tre45hmZh7rPkI

Touch here for the full post on the Arduino Apprentices tumblr

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s