TheThingsNetwork / arduino-device-lib

Arduino Library for TTN Devices
MIT License
207 stars 96 forks source link

Bug: Airtime nan/inf when not joined #112

Closed FokkeZB closed 7 years ago

FokkeZB commented 7 years ago

When using ttn.poll() I get:

-- LOOP
Sending: mac tx uncnf 1 00
Airtime added: nan s
Total airtime: inf s
Successful transmission
FokkeZB commented 7 years ago

This happened when I called the function without calling join/personalize first.

We need to catch this case.