MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / onReadable

Function onReadable

examples/io/ble/client/uart/main.js:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 "6e400001-b5a3-f393-e0a9-e50e24dcca9e", // Nordic UART service
21 ],
22 onReadable() {
23 const advertisement = this.read();
24 this.close();
25 testUART(advertisement.address);
26 }
27 });
28}
29scan();

Callers

nothing calls this directly

Calls 4

toHexMethod · 0.95
testUARTFunction · 0.85
readMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected