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

Method getProductID

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

Source from the content-addressed store, hash-verified

97 return new Date(time);
98 }
99 getProductID() {
100 let result = this.execute(CMD.GET_PRODUCT_ID, null, 2);
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), "");

Callers 1

main.jsFile · 0.80

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected