Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
29
scan();
Callers
nothing calls this directly
Calls
4
toHex
Method · 0.95
testUART
Function · 0.85
read
Method · 0.65
close
Method · 0.65
Tested by
no test coverage detected