Are we able to make a BT host receiver from ESP32 connected to a USB of PC ?
Just BT to COM-port bridge, to receive any serialized data from other ESP32-BT-device sources.
Initialize an asyncstream in the stream of the serial object and write to it. For the reverse way see in my signature the rDebug.b4xlib in my contributions.
Initialize an asyncstream in the stream of the serial object and write to it. For the reverse way see in my signature the rDebug.b4xlib in my contributions.
Sub Process_Globals
Public Serial1 As Serial
Private astream As AsyncStreams
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
astream.Initialize(Serial1.Stream, "astream_NewData", "astream_Error")
Log("AppStart")
astream.Write("I am a stream".GetBytes)
End Sub
Private Sub astream_NewData (Buffer() As Byte)
End Sub
Private Sub astream_Error
End Sub
I do not know. I've never tried it. Although I have an ESP32CAM I just used it a few times and have put it aside never going deeper with it... What about Google?
In this tutorial, you'll learn how to use ESP32 Bluetooth Classic with Arduino IDE to exchange data between an ESP32 and an Android smartphone. We’ll control an ESP32 output, and send sensor readings.