JOIN only once on Conduit AP
Home › Forums › Lora Network Server › JOIN only once on Conduit AP
- This topic has 7 replies, 2 voices, and was last updated 7 years, 10 months ago by
Paul Fux.
-
AuthorPosts
-
January 5, 2018 at 8:46 am #22239
Paul Fux
ParticipantHello,
I think there is something wrong with my Conduit AP because all my lora devices join only once after a node-add. If I shut down the device, I have to delete the node and add it again. Does anyone have an idea why ?
Logs say :
mtcap lora-network-server: GW:00:80:00:00:00:01:08:2a|FRAME-RX|Parsing 1 packets mtcap lora-network-server: ED:07-03-d5-e7-5e-00-36-ca|CHECK-PKT|FCNT: ffffffff LAST-FCNT: 00000002 Duplicate: no mtcap lora-network-server: ED:07-03-d5-e7-5e-00-36-ca|CHECK-MIC|ADDR: 00:00:36:ca failed mtcap lora-network-server: ED:07-03-d5-e7-5e-00-36-ca|DROP-PKT|Addr: 00:00:36:ca Duplicate: noBest,
Paul
January 5, 2018 at 8:54 am #22241Jason Reiss
KeymasterAre the devices joined via OTA or ABP?
How do you shutdown the device? Pulling power will not allow the database to be backed to flash.
The database is backed-up to flash on a 1 hour interval.
Try to backup the database after adding your nodes.
$ nc -u localhost -p 6677
database backupThere will still be an issue for downlink counters if the power is pulled without backup. Uplink counters can be caught-up when power is back. But the downlink frames will be rejected until the counter exceeds the previous value.
January 5, 2018 at 9:05 am #22243Paul Fux
ParticipantVia ABP. I shutdown the device with the power switch… but by “device”, I mean, the lora sensor. The conduit AP still runs.
January 5, 2018 at 9:08 am #22244Jason Reiss
KeymasterIf the device is reset and counters are not saved then they will have to catch-up the counter to the previous value in the uplink.
January 5, 2018 at 9:14 am #22246Paul Fux
ParticipantOk. But why Lora server on Multitech AEP with firmware 1.3.2 allow to reset a lora device without counter check while Conduit AP with 1.4.4 firmware don’t ? Is the an option allowing that ?
January 5, 2018 at 9:22 am #22248Jason Reiss
KeymasterLoRaWAN protocol does not allow reuse of frame counters. It is a security risk.
The AEP 1.4.4 firmware rejects them by default.
January 5, 2018 at 9:23 am #22249Paul Fux
ParticipantThanks a lot for your help and answers.
January 5, 2018 at 9:53 am #22252Paul Fux
ParticipantHum. One more thing :
After a node-add and a join by the lora device, I restart my conduit AP and my lora device. Why the lora device cannot join anymore ?
CHECK-PKT|FCNT: ffffffff LAST-FCNT: 00000004 Duplicate: no CHECK-MIC|ADDR: 00:00:36:ca failed DROP-PKT|Addr: 00:00:36:ca Duplicate: noI was expecting a reset of frames counter. It useful in a context where the Conduit and all the Lora sensors are prepare some days before being on production.
-
This reply was modified 7 years, 10 months ago by
Paul Fux.
-
This reply was modified 7 years, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.