CRC Erros and lora-network-server.conf Resets On Start

Home Forums General CRC Erros and lora-network-server.conf Resets On Start

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23437
    Joshua Lilly
    Participant

    So I got a seeeduino talking to the MTCAP, in one specific run I was able to send data from the gateway to the seeeduino and vise versa, and I was able to decode the base 64 strings to ensure the data was correct. With absolutely no changes, I now get the errors
    2018-05-15T00:50:39.571548-04:00 mtcap lora-network-server: GW:00-80-00-00-00-01-0b-2b|FRAME-RX|Parsing 1 packets
    2018-05-15T00:50:39.574173-04:00 mtcap lora-network-server: ED:ab-f7-15-88-09-cf-4f-3c|CHECK-PKT|MAX_FCNT_GAP exceeded diff: 13112686492155707214
    2018-05-15T00:50:39.576088-04:00 mtcap lora-network-server: ED:ab-f7-15-88-09-cf-4f-3c|CHECK-PKT|FCNT: 0001005c LAST-FCNT: 0000010e Duplicate: no
    2018-05-15T00:50:39.576351-04:00 mtcap lora-network-server: ED:ab-f7-15-88-09-cf-4f-3c|CHECK-MIC|ADDR: 22-33-44-55 failed
    2018-05-15T00:50:39.576609-04:00 mtcap lora-network-server: ED:ab-f7-15-88-09-cf-4f-3c|DROP-PKT|Addr: 22:33:44:55 Duplicate: no

    Any ideas?

    Also one just for my clarification, is the whitelist in the lora-network-server.conf only for OTAA setups? Or is it necessary to whitelist devices that I am trying to get working with ABP as well?

    Thank you.

    • This topic was modified 5 years, 11 months ago by Joshua Lilly. Reason: Made forward progress
    #23439
    Joshua Lilly
    Participant

    So I may have stumbled across an answer, it looks like the issue is from the AES-128 keys, since I am using ABP. When I unplug the seeeduino I noticed that the issue happens, so on the gateway it looks like I will have to delete the device and re-add it along with adding a session to be able to send and receive the data.

    Not sure if that is the best answer so someone please correct me 😛

    #23440
    Jason Reiss
    Keymaster

    The frame counter must be maintained on the end-device.

    If the frame counter resets to 0 the network server will reject packets, avoiding replay attack, until the counter reaches the last received value.

    #23555
    Joshua Lilly
    Participant

    Jason, is there a way to set the frame counter on the gateway?

    #23556
    Jason Reiss
    Keymaster
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.