TTN OTAA join acknowledgement not being received ?
I am a bit confused on the current status of the LoPy with TTN. I have just upgraded to latest firmware:
((sysname='LoPy', nodename='LoPy', release='1.6.13.b1', version='v1.8.6-607-g9c8a0e9e on 2017-05-01', machine='LoPy with ESP32', lorawan='1.0.0'))
When I try to do an OTAA join to TTN inside a "while not lora.has_joined():" loop the value of the "has_joined" property remains 0.
However when logging on to the TTN Console I can see the device status light up in GREEN ("connected") and looking at the data received by the TTN backend I am gettting activation messages.
Has anybody been able to get OTAA joins acknowledged by the LoPy ? I can see several forum messages dating back a few months with similar issues.
I ended up documenting the steps I had to take to get the LoPy to successfully connect over OTAA (and subsequently send data).
In case it helps others: https://www.gaggl.com/2017/05/connecting-your-lopy-to-the-things-network-in-australia/
Thanks again for your help @jmarcelino !
Jose - your suggestion did the trick ! The join is now acknowledged and data being sent.
Thanks again for the help and quick reply. MUCH APPRECIATED !
Thanks a lot for that info Jose ! Will give this a try.
I did have the triple ``` around - no problem with markdown.
The error message was an Akismet message on submit that the text was rejected as it was classified as SPAM.
For 915 regions you'll have to use LoRa.remove_channel() and LoRa.add_channel calls to make the LoPy listen on the frequencies set by TTN and the gateway.
This is because the 915Mhz band is peculiar in that it has 72 available frequency channels but most gateways can only listen on 8.
It will be something like this https://forum.pycom.io/topic/393/lorawan-915mhz-in-the-us/2 (Us915) but I'm not sure the exact details for AU915.
And then you can only post every 10mins.....
only with lower reputation :-) This is "spam filter".
Rejecting code in a software forum is ridiculous
it accept code look here:
code is with triple ``` around
Test code here: [https://pastebin.com/iT5ui0Pc](Pastebin link url)
This Forum software is really highly annoying. Rejecting code in a software forum is ridiculous. And then you can only post every 10mins.....
Here are the details:
GW: Multitech Conduit AU915
I tried to share the test code but I am getting a message that Akismet is rejecting it as SPAM. Which is not very useful for this type of forum. Any idea on how to get around this. It's pretty much the standard example code.
What is your gateway? Region? Can you share your code here?