(sx1276 frequency is 868,1 MHz, SF9, BW125)
As far as I understand, to send join request I have to send 23 bytes:
MHDR (which is 0 in case of join request),
8 bytes of AppEUI (8 times 0x00),
DevEUI (lsb, 8 bytes, ending with 0xD5, 0xB3, 0x70),
two bytes of random number,
and finally 4 bytes of MIC (MIC[3…0] = aes128_cmac(AppKey, MHDR | AppEUI | DevEUI | DevNonce).
The questions are:
- Should I see something in end device live data console?
- Is my join request procedure corrent?
- Are there any other settings that I should set for sx1276 that are not mentioned in semtech document?
- To calculate MHDR | AppEUI | DevEUI | DevNonce can I just
result = MHDR | AppEUI | DevEUI | (DevNonce & 0xFF)
result = AppEUI | DevEUI | ((DevNonce>>8) & 0xFF)
result[n] = AppEUI[n] | DevEUI[n]for n from 2 to 8?
Thanks for any help. I really appreciate it. Have a great day.