My question is which part in the “mac set devaddr” command is the NwkID / NetID, some sources says the LSB while others says MSB, and I can’t figure out if the command is little endian or big endian either. I haven’t been able to figure it out by any example I found on this and other websites either as I expect things belonging to the TTN network to either start or end with a byte 0x26 or 0x27, and I haven’t found any that have that.
But the real question for us is how should we assign the DevAddr to our LoRaWAN devices, our plan was that settings the NwkID to 0x00, and filling the remaining 25 bits with some serial- or random number, so that it isn’t locked to any specific network, and for that I need to know the order of the devaddr-command since our design makes use of the Microchip LoRaWAN stack, which should be the same as the RN2483
So let’s say we got a DevAddr (which I assume has either a byte set to 26h or 27h ) assigned to an sensor, how should we configure a RN2483 device to join the TTN network via ABP, should we write
a) mac set devaddr 26XXYYZZ
b) mac set devaddr ZZYYXX26