We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83ef048 commit 1c038b3Copy full SHA for 1c038b3
js/repl.js
@@ -523,7 +523,13 @@ class ReplJS{
523
524
//This is writing to cause the XRP to reboot, so we don't expect a response from the BLE. So, we will not ask for one.
525
async writeSTOPtoBleDevice(str){
526
- await this.WRITEBLE.writeValue(this.str2ab(str));
+ try{
527
+ await this.WRITEBLE.writeValueWithoutResponse(this.str2ab(str));
528
+ } catch(error){
529
+ console.error('ble stop write failed:', error);
530
+ //do nothing we expected an error
531
+ }
532
+
533
}
534
535
async softReset(){
0 commit comments