I wanted to know how I could receive a message from a Bluetooth device. Currently I am using a Bluetooth module that can be used to communicate between a microcontroller and an App I have created. I wanted to test sending a message from the microcontroller to the app. I was wondering how I could receive the message? I have seen in the RCTBluetoothSerialModule.java file you can read with events like BluetoothSerial.on("read"). I was wondering if there were any examples I could use to figure out how to actually implement reading data from a device
I wanted to know how I could receive a message from a Bluetooth device. Currently I am using a Bluetooth module that can be used to communicate between a microcontroller and an App I have created. I wanted to test sending a message from the microcontroller to the app. I was wondering how I could receive the message? I have seen in the RCTBluetoothSerialModule.java file you can read with events like BluetoothSerial.on("read"). I was wondering if there were any examples I could use to figure out how to actually implement reading data from a device