The source project of this merge request has been removed.
max unsigned int that can fit into 1 byte is 255
Given four bytes containing the CDR Reference: 80 ea 71 33. 0x80 is 128, so the error: 'uint32 value (' + toHexString(message, 4, nextByte) + ') too big for JS number'` gets thrown and the decode fails.
The max value that can be held in 1 byte is 2^8 - 1 = 255.
According to the Iridium Short Burst Data Service Developers Guide Release 3.0 dated March 9, 2012, all values will be unsigned, so 255 is safe.
Edited by Alice x