anthonykirby / lora-packet

LoRa radio packet decoder
MIT License
258 stars 83 forks source link

Buffer Deprecation Warning #79

Closed RicardoStoklosa closed 2 years ago

RicardoStoklosa commented 2 years ago

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.

anthonykirby commented 2 years ago

fixed by #80 and released as #81