Skip to content

Data read from arduino HC05 is always empty #134

Description

@damodharanj
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions