Very simple npm module to parse messages sent by a Sensit device
$ npm install --save sensit-sigfox
const SensitMsg = require('./index.js');
var testFrame = "a06e1119";
var msg = SensitMsg.parse(testFrame);
The parse(hexFrame)
will gives back an object with the following attributes : mode
, frameType
, as well as mode-specific attributes (battery
, temperature
, ...)
- Need to publish the Sensit frames documentation here
- All modes are not properly parsed yet