I need to connect this arduino mega to an external device (ANT BMS which has integrated Bluetooth), and I need to find out the address of the ANT BMS, in the provided iPhone app, there are no informations regarding the bluetooth address, so I wanted to use this arduino, which anyway in the end will stay connected permanently to ANT BMS
After I connected HC-05 module to arduino I issued the commands bellow :
I connected HC-05 to RX and TX pins of my mega and issued the commands in serial monitor (set to 38400 and Both NL & CR)
AT
// responded : OK
AT+ROLE=1
// responded : OK
AT+ROLE?
// responded : +ROLE:1
AT+INQ
// responded : ERROR:(16)
I also tried to send the AT+INIT but after that command the led starts flashing quickly and it does not accept any other commands :frowning:
AT+STATE?
// responded: +STATE:INQUIRING
// OK