Edit Decoder
This commit is contained in:
parent
2fbb239e4e
commit
aab096a5d9
@ -1,6 +1,6 @@
|
||||
/*********************************************************************
|
||||
* The TTN Payload function equal for all environment applications
|
||||
**********************************************************************
|
||||
**********************************************************************/
|
||||
function Decoder(bytes, port) {
|
||||
var retValue = {
|
||||
bytes: bytes
|
||||
@ -14,4 +14,5 @@ function Decoder(bytes, port) {
|
||||
retValue.humidity = ((bytes[8] << 8) | bytes[9]) / 10.0;
|
||||
return retValue;
|
||||
}
|
||||
*********************************************************************/
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user