Commit f0b45727 authored by robert.sharp's avatar robert.sharp

Upload Gateway Decoder file

parent 250bdc6c
function Decoder(bytes, port) {
// Decode plain text; for testing only
//var b = String.fromCharCode.apply(null, bytes);
//var decoded = {};
var testShort = (bytes[1] << 8) | bytes[0];
return {
field1 : testShort
};
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment