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

Method echoback

modules/drivers/sakuraio/sakuraio.js:89–91  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

87 return this.execute(CMD.GET_CONNECTION_STATUS, null, 1)[0];
88 }
89 echoback(data) {
90 return this.execute(CMD.ECHO_BACK, data, data.length);
91 }
92 getUnixTime() {
93 let result = this.execute(CMD.GET_DATETIME, null, 8); // 64 bit little-endian result. use low 6 bytes.
94 let time = 0;

Callers 1

main.jsFile · 0.80

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected