anthonykirby / lora-packet

LoRa radio packet decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buffer Deprecation Warning

RicardoStoklosa opened this issue · comments

Hi,

the lora-packet is raising a DeprecationWarning, as shown in following the image
image

This is due to the node-aes-cmac lib that uses the deprecated Buffer constructor. There is a PR in the original repo fixing this, but was completely ignored. The last update was 7 years ago.

One possible solution is to use aes-cmac. This is a typescript implementation of node-aes-cmac.

fixed by #80 and released as #81