Open damodharanj opened 1 year ago
BluetoothSerial.withDelimiter('\r\n').then(() => { setInterval(() => { // BluetoothSerial.readUntilDelimiter("\n").then((v: any) => { // setVal(JSON.stringify(v)); // }) BluetoothSerial.available().then((a: any) => { setVal(a); }) }, 3000); })
The data i read from arduino HC05 is always empty. But bluetooth terminal app shows correct text
Did your problem got solved ? I am also working on HC-05 module need your help
You gotta connect to the device before you read. Its a clutch unless you see the example code.
The data i read from arduino HC05 is always empty. But bluetooth terminal app shows correct text