adeunis-payload

1.0.2 • Public • Published

Adeunis field test device "LoRaWAN Europe EU863-870"

Build Statusnpm version

Generates field test device payload properties from user guide v1.2.2

  • Status
  • Temperature
  • Uplink frame counter
  • Downlink frame counter
  • Downlink frame counter
  • RSSI and SNR

Future work will include to payload composed next properties

  • GPS latitude
  • GPS longitude
  • GPS quality
  • Battery

Installation

npm install --save adeunis-payload

Usage

  const adeunisPayload = require('adeunis-payload')
 
  const payload = adeunisPayload.encode({
    temperature: 27,
    uplinkFrameCounter: 32,
    downlinkFrameCounter: 32,
    rssi: 82,
    snr: 7,
  })
  console.log(payload.toString('hex'))
  // ad1b000000000000000000202000005207

Package Sidebar

Install

npm i adeunis-payload

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

8.54 kB

Total Files

19

Last publish

Collaborators

  • antoniobusrod