Data read from arduino HC05 is always empty
damodharanj opened this issue · comments
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.