Hi, I got Autonomo, LoRaBee from the workshop at KPN.
Some questions:
where can I find a LoRa coverage map in the Netherlands
if I dont have coverage, what is the expected result of (LoRaBee.initABP(loraSerial, devAddr, appSKey, nwkSKey, true))
I do get a True here but I expect that I dont have a connection to the LoRa network, only to the LoRaBee
if I dont have coverage, what is the expected result of switch (LoRaBee.sendReqAck(1, (uint8_t*)reading.c_str(), reading.length(), 8))
I do get a Timeout, InternalError and Busy here, nothing else.
Is the Timeout a timeout error between the Autonomo and the LoRaBee ?
The result of LoRaBee.initABP(loraSerial, devAddr, appSKey, nwkSKey, true)) should always be true, else there is something wrong with the lorabee. This command just sets the keys for the network you want to use.
A timeout is the correct feedback when you dont have a basestation in range, the Busy is that you are trying to send to many times. The Internal error comes after that, the buffer of the bee is full and overloads. Now you cannot send anything anymore and you will have to re init the network.
I have an overview of the basestation I made connection to. http://cursus.sodaq.com/basestations.php
This is collected in one year, base station could be moved around, down, so try your luck with it
I made it fast so when a basestation has no GPS fix you get coordinates 0,0 (just zoom out and zoom in at the benelux)
And the gps is not accurate, so the map is showing multiple basestation positions on the map.
I will fix it in the future, if i have time for it.
LoRaBee.initABP(loraSerial, devAddr, appSKey, nwkSKey, true) will always return true as really don’t send any packet, just set the keys for transmition.
The timeout error must come from the USAR connection with the LoRaBee module.
You should close the SJ3 strap in autonomo and the SJ1 strap in LoRaBee module to connect the reset properly. This way the LoRaBee will really work fine.
LoRaBee.sendReqAck send the packet and expect an ack from the gateway, if there is no gateway you should receive a NoAcknowledgment error.
You can use also LoRaBee.send then you should receive a NoError even if there is no gateway.