I do not have the Rep to create a tag for Flutter_Blue. But this uses Flutter_Blue in Android Studio.
I am trying to send commands to a device that my company creates devices and I am developing and Android/IOS application that connects to the devices and sends commands and reads what the device returns.
I have transplanted the example code to find devices and then write to them. I have the following code.
_writeCharacteristic(BluetoothCharacteristic c) async {
await device.writeCharacteristic(c, [0x076, 0x0d, 0x0a],
type: CharacteristicWriteType.withResponse);
setState(() {});
}
This sends a v and crlf to a device. How do I read the device response?
Let me know if there is more I need to accomplish this question properly.
I figured it out, See Below