Thankyou. Just trying to understand this better in light of this discussion on switching between networks.
Is the device address autogenerated once for the device, or regenerated each time the device “joins” the network?
Do I understand correctly that if I have a device with the same DevEui, AppEui and AppKey registered with another network, and with TTN, both using OTAA:
- On startup, it will randomly “join” one of the two networks (probably the one with the best reception).
- While connected to that network, transmissions will use an autogenerated device address that is only recognised by that network. So if “joined” to another network, TTN will reject transmissions from it. And if “joined” to TTN, the other network will reject transmissions, even though it knows the DevEui, AppEui and AppKey.
- The next time the power is cycled, it may join TTN, and the reverse would apply.
If that is the case, could I have a device that was registered with both networks, but occasionally attempted to rejoin, and in that process would connect to the network with the highest reception at the time?
Although this would not give the reliability of using all gateways simultaneously, it should mean that if one network were down temporarily, or the device moved out of reception, it would end up connecting to the other network and continue to transmit successfully.
Do I understand this correctly or would this not work for a reason I have missed?