Payload Formatter for Dingtek DC200 to AlphaX (TTN)
function decodeUplink(input) { var data = [input.bytes[8],input.bytes[7]]; // Convert to 16-bit integer let value = (data[0] << 8) | data[1]; // Extract the 4-bit states let parkStatus = Read More