I am using an Arduino UNO to pair two HC-05 modules in AT command mode but am getting "ERROR:(7)" when I try to bind the master module to slave's address.
Wiring:
Arduino 5v -> 5V of module
Arduino 3.3V -> EN of module
Arduino GND -> GND of module
RX of Arduino -> RX of module ( through 1 K Ohm / 2K Ohm voltage divider)
TX of Arduino -> TX of module
See attached pic for setup.
When I press the reset button on module while powering it up it does NOT blink every 2 seconds as if in AT command mode, only fast blinks as if it were pairing.
After struggling with this for a while I discovered that not every model blinks every 2 seconds in AT command mode. I can send AT commands IF I hold the button down on my module has while pressing ENTER in the terminal and then send a command.
References:
http://forum.arduino.cc/index.php?topic=394507.0
For the slave module I'm able to confirm it's role is 0 and the address: 21:13:1DE9
For the master module I'm able to set it's role to 1, cmode to 0 but if I try "AT+BIND=21,13,1DE9" without the quotes I get this error: ERROR:(7)
This error code is : "Bluetooth address: LAP is too long."
http://www.linotux.ch/arduino/HC-0305_serial_module_AT_commamd_set_201104_revised.pdf
AT+UART is set at 38400 for both modules and in IDE. And "Both NL & CR" in IDE is selected.
Any ideas what I'm doing wrong? I also have a friend who's running into the same issue as me when I comes to binding his modules, which makes me think it can't be faulty modules.