Hi! I'm working on a project involving Bluetooth communication between a raspberry pi 3B+ and two HC-05 modules, each connected to separate Arduino Uno boards. The goal is to transmit sensor data from the two Arduino boards to the RPi, for processing, using Bluetooth. One of the HC-05 module works perfectly fine. I'm able to receive data on the RPi. This module is in the INITIALISED STATE (I found this out through AT commands) and the LED blinks rapidly (around 5Hz) when powered ON. This runs the firmware V2.0-20100601. Baud rate = 9,600 (I used AT+UART?).
The other HC-05 module is able to establish connection with the RPi but, I couldn't receive any data. The received data buffer is empty. I found out that this module is in the PAIRABLE STATE and the LED blinks less rapidly (around 2Hz) when powered ON. I tried to initialise the module using the AT+INIT command but, I got an error 17 message. The firmware is V2.0-20161226. Baud rate=38,400 (again, AT+UART?). I have a question here, what is this baud rate? Is it the rate at which the module sends BT data or is this the AT mode baud rate? I read that the baud rate in the AT mode is 38,400 by default.
What do you think is the issue? Why am I not able to receive data on RPi? And is there a way to bring the module to the INITIALISED mode? Help me out, fellas. This is for a project in my clg and the deadline is around the corner now. Thanks in advance.