uncommented sending command
This commit is contained in:
parent
cadc0cb8d1
commit
1cd4a74979
|
@ -196,8 +196,8 @@ class _BluetoothScreen extends State<BluetoothScreen> {
|
|||
Future<void> _sendData() async {
|
||||
//String output = "0123456789 abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ";// !§%&()=?#!?";
|
||||
String output = textInput;
|
||||
//_bluetoothConnection!.output.add(Uint8List.fromList(const AsciiEncoder().convert("$output \r\n")));
|
||||
//await _bluetoothConnection!.output.allSent;
|
||||
_bluetoothConnection!.output.add(Uint8List.fromList(const AsciiEncoder().convert("$output \r\n")));
|
||||
await _bluetoothConnection!.output.allSent;
|
||||
debugPrint("sent: $output");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue