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

Method getUniqueID

modules/drivers/sakuraio/sakuraio.js:103–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 return result[0] | (result[1] << 8);
102 }
103 getUniqueID() {
104 let result = this.execute(CMD.GET_UNIQUE_ID, null, 10);
105 return result.reduce((a, b) => a += String.fromCharCode(b), "");
106 }
107 getFirmwareVersion() {
108 let result = this.execute(CMD.GET_FIRMWARE_VERSION, null, 32);
109 return result.reduce((a, b) => a += String.fromCharCode(b), "");

Callers 1

main.jsFile · 0.80

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected