Hello, everybody.
I really don’t know very well in which category this post should go.
I just installed my chirpstack server and I have a problem trying to send data with my LoRa device.
First of all, I show you the configuration of my physical device LoRa. This configuration is tested, and it works on The Things Network.
“lora.device-eui”: “{ 0xbd, 0xa0, 0xd4, 0x6d, 0x0e, 0x21, 0x22, 0xdf}”,
“lora.application-eui”: “{ 0x12, 0xab, 0x3c, 0xf1, 0xaa, 0x90, 0x00, 0x07}”,
“lora.application-key”: “{ 0x02, 0x2d, 0x07, 0xa9, 0xaa, 0xaf, 0x60, 0xea, 0x4a, 0xbb, 0xfa, 0xe5, 0x91, 0x3a, 0x7c, 0x3c }”
I create an OTAA device in the chirpstack application. Here I find the first differences. ChirpStack doesn’t have the application-eui parameter, as I read, for chirpstack this parameter can be left at 0.
“lora.application-eui”: “{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}”,
Is this correct?
The second difference I find is that chirpstack has a network key parameter, I don’t know what the network key is used for, can anyone help me with this?
Finally, using this configuration for my device:
“lora.device-eui”: “{ 0xbd, 0xa0, 0xd4, 0x6d, 0x0e, 0x21, 0x22, 0xdf}”,
“lora.application-eui”: “{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}”,
“lora.application-key”: “{ 0x02, 0x2d, 0x07, 0xa9, 0xaa, 0xaf, 0x60, 0xea, 0x4a, 0xbb, 0xfa, 0xe5, 0x91, 0x3a, 0x7c, 0x3c }”
I get an error with MIC:
in the frames section, we can see that JoinRequest requests arrive, but we don’t get any joinAccept
Can someone help me? Is it necessary to change anything in the configuration of my device? I have tried using the OTAA keys in LSB mode and in MSB mode.