Go Down

Topic: MKRWAN 1300 false success connection result. (Read 5948 times) previous topic - next topic


Does anybody has noticed a false success connection result in the joinABP function?
I run the FirstConfiguration sketch giving  random session keys without any gateway in range and the joinABP function returns success. After that, the sketch sends "Error sending message :("), wich is obvious, as I dont have any gateway in range.

Best Regards!


Jan 11, 2019, 10:03 am Last Edit: Jan 11, 2019, 10:04 am by MITEL
ABP has not really a join in common terms, because there is no ack or confirmation, so you will almost always join with success (OTAA is different). It's a fire-and-forget protocol, and even sending messages normally is without confirmation , thus the node normally does not know if the packet has been received. However, the provided examples are set to have confirmation, thus they fail if no gateway, or gateway not able to send downlinks, or node not able to receive.
If if you change true with false in the following line:
Code: [Select]

You will succeed also in sending.
Please remember that, if you connect to TTN, you have to comply with fair access policy that include not sending more than ten downlinks/day (that is, avoid confirmation!).


Go Up