Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

getNetworkJoinStatus() and resetNetworkSession() methods?

$
0
0

I have been using the getNetworkJoinStatus() to determine if the mdot is still connected to the gateway and if not i use the joinNetwork() method to join the network? Is this accurate of determining that? If not what is the best way to re-join the network? Every time I can joinNetwork does it use a different sub-band to try and join the network? What is the default retry count or should I be using the setJoinRetries(const uint8_t& retries) method to set a minimum retries?

Also does the resetNetworkSession() method does it cause the mdot to disconnect from the gateway/lora network? I am using the AUTO_OTA mode to join the network, I am assuming this still holds onto the previous network id and passphrase that was set on a call to resetNetworkSession method?

Thanks,
Ajay.


Viewing all articles
Browse latest Browse all 7111

Trending Articles