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.