kkhylchuk
Forum Replies Created
-
AuthorPosts
-
kkhylchukParticipant
Channel Plan: US915
ADR is enabled
MultiTech’s Conduit, public networkIndeed, I see incoming ADR commands:
[DEBUG] ADR Set Redundancy 1 [DEBUG] ADR DR: 0 PWR: 0 Ctrl: 07 Mask: 0002 NbRep: 1 Stat: 07 [DEBUG] ADR Set Redundancy 1 [DEBUG] ADR DR: 0 PWR: 0 Ctrl: 00 Mask: ff00 NbRep: 1 Stat: 07
I tried calling setAck before each send, but no luck. The result is exactly the same.
kkhylchukParticipantYes, that’s what I expected to see, but instead, I see this:
... [INFO] Preparing frame [INFO] Adjust PowerMax to 21 [INFO] Configure radio for TX [INFO] Rx Window 1 [DEBUG] mDotEvent - MissedAck : retries 0 [INFO] Rx Window 2 [DEBUG] mDotEvent - MissedAck : retries 0 [ERROR] ACK not received [ERROR] failed to send data to gateway [-5][Operation Timed Out] [INFO] Preparing frame [INFO] Adjust PowerMax to 21 [INFO] Configure radio for TX [INFO] Rx Window 1 [DEBUG] mDotEvent - MissedAck : retries 0 [INFO] Rx Window 2 [DEBUG] mDotEvent - MissedAck : retries 0 [ERROR] ACK not received [ERROR] failed to send data to gateway [-5][Operation Timed Out] ...
I set the ACK retries to 8 like so
dot->setAck(8)
.
Callingdot->getAck()
returns 8.Also, I should note that I’m using libmDot-dev v4.1.2.
kkhylchukParticipantThanks, Jason.
I implemented mDotEvent::MissedAck, but for some reason “retries” is always 0. I expected it to be equal to dot->getAck(). Or am I understanding this wrong?
kkhylchukParticipantI see. Thanks for the quick reply.
December 20, 2021 at 10:29 am in reply to: Can't set the application port to run LoRaWAN certification tests #32259kkhylchukParticipantIt worked. Thanks.
December 20, 2021 at 8:36 am in reply to: Can't set the application port to run LoRaWAN certification tests #32257kkhylchukParticipantThanks for the reply, Jason.
In handleTestModePacket (line 1409) there is a call to setAppPort:
CommandTerminal::Dot()->setAppPort(224);
which does not work (returns -1).
The description for setAppPort says that the valid port value is 1-223. Do I need to do anything else to make it set the port to 224?
Thanks.
kkhylchukParticipantI see. Thanks for the reply.
Where can I find the information about what version of the toolchain to use with a specific version of the library? -
AuthorPosts