Comment on page
General Instruction
Both the POST request data format and the return data format are JSON data types.
Status Code | Meaning |
---|---|
100 | Succeed |
Others | Fail |
// device id nodejsgenerate logic reference id
let equipmentNo = ''
if (address.length <= 32) {
let n = 32 - address.length
for (let i = 0; i < n; i++) {
equipmentNo += 'x'
}
equipmentNo += address
} else {
equipmentNo = address.slice(0, 32)
}
Last modified 1yr ago