anthonykirby / lora-packet

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

If FPort does not exist in the packet, getFPort() throws an exception #12

Closed rerickson1 closed 6 years ago

rerickson1 commented 7 years ago

https://github.com/anthonykirby/lora-packet/blob/054cc726a21cc759820c938faca20b02f0c884b2/lib/packet.js#L348

A check to see if FPort exists should be added to the function. If FPort does not exist, just return null.

anthonykirby commented 7 years ago

(I'm scheduling time in September to work on this; apologies for the delay)