sendData(){
this.bluetoothSerial.write(‘Hello world’).then((data)=>{
alert(data+'for success writing data');
},err=>{
alert(err+'for error writing data');
});
}
The above code always alert success But I don’t know is it sent or not…???
Please help its urgent