Hello,
I am using HC-05 with ESP8266.
The Interface is as below:
ESP8266------> HC-05
RX------> TX
TX------> RX
GND------> GND
3.3V------> 3.3V
I am able to connect successfully and Paired HC05 with my android mobile.
I have downloaded Bluetooth terminal HC05 to communicate with ESP8266.
But after successful pairing with my mobile I am not able to communicate.
Below is my code
Please advice
I am using HC-05 with ESP8266.
The Interface is as below:
ESP8266------> HC-05
RX------> TX
TX------> RX
GND------> GND
3.3V------> 3.3V
I am able to connect successfully and Paired HC05 with my android mobile.
I have downloaded Bluetooth terminal HC05 to communicate with ESP8266.
But after successful pairing with my mobile I am not able to communicate.
Below is my code
B4X:
Public Serial1 As Serial
'Private wifi As ESP8266WiFi
Private Softserial As SoftwareSerial
Private astream As AsyncStreams
End Sub
Private Sub AppStart
Serial1.Initialize(9600)
Log("AppStart")
Softserial.Initialize(9600,5,4) '5 as for RX(D1) and 4 is for TX(D2)
astream.Initialize(Softserial.Stream,"astream_NewData",Null)
End Sub
private Sub astream_NewData(buffer() As Byte)
Log(buffer)
End Sub
Please advice