I am able to connect my phone to laptop through Bluetooth plugin. I saw below code in ionic documentation-
this.bluetoothSerial.write(‘hello world’).then(this.success, this.fail);
Can anyone please help me how can i see this message in my laptop or what are ways to ensure data has been transferred to connected device successfully.
Below is my code-
this.bluetoothSerial.connect(address).subscribe(
() => {
console.log(‘connected to:’, address);
this.bluetoothSerial.write(‘hello world’).then(this.success, this.fail);
}
)