Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

lora-decrypt

1.0.1 • Public • Published

Lora-decrypt

Node container for decrypting LoRaWan payloads (FRMpayload) from Thingpark/Actility platform.

Usage

npm install lora-decrypt

> lora = require('lora-decrypt');
> payload_hex = '11daf7a44d5e2bbe557176e9e6c8da';
> sequence_counter = 2;
> key = 'AABBCCDDEEFFAABBCCDDEEFFAABBCCDD';
> addr = '00112233';
> lora.lora_decrypt(payload_hex, sequence_counter, key, addr);
[222, 59, 24, 8, 7, 155, 237, 158, 103, 125, 93, 34, 161, 204, 33]

Returns Uint8Array

install

npm i lora-decrypt

Downloadsweekly downloads

5

version

1.0.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability