Replies: 3 comments 6 replies
-
Greetings! I was running into similar issues - primarily because of my lack of experience on the subject. But thanks to the people affiliated with RadioLib, it became obvious that the root of my problem was that since DOWNLINK messages were not possible (1-way comms... UPLINK to satellite only), the correct way for me to configure my devices in TTN was to set them as type 'ABP'. Then, TTN was simply waiting to hear from them... which it did via in-house testing thru a standard LoRaWAN gateway. The replies that helped get me past this issue are at: |
Beta Was this translation helpful? Give feedback.
-
Hi @Krulknul, welcome to RadioLib! And if you happen to study / have studied at Utrecht University, then we may have seen each other as well - MSc CS at UU here. |
Beta Was this translation helpful? Give feedback.
-
@StevenCellist was being so very kind to @K4KDR, the reality is that LoRaWAN is a terrestrial transmission system and by asserting that downlinks aren't possible due to the satellite comms being 1 way only is confusion of the very highest order. The notes.md give precise & detailed instructions on setup including the issue of the DevNonce - if @Krulknul ensures they read them, they will make good progress apart from having to suffer horribly if any pet trackers are used on cats because be assured, the best way to kill a cat is to put a clunky collar on them. But at least you can find the body. The CONSOLE (please please read notes.md, we call it the console) won't show join requests that the gateways don't hear due to the meta-physical nature of the universe. If one does hear the JR and the dev nonce is too small, that's because you haven't read the notes.md. Even though Steven issued a spoiler, please read the notes.md for other information. There is a reasonable prospect of the JA being sent but your device doesn't hear it, please bear that in mind. It is highly recommended that you have your own gateway so you can see what's going on. Next best is to have read only access to the console but I'm not sure if UU has provided that - shame on them if they haven't. If the equally impressive Learn section on TTN hasn't been read, please do so now. LoRaWAN is not at all suitable for tracking applications due to the duty cycle limitations and on TTN, the Fair Use Policy. It is OK for asset location (ie, stopped moving for a while). You are right about increasing the SF. Messing with the power could lead to jail time, there are EU laws about the power output and how often you can transmit. The gateway is but a dumb convertor box, it doesn't choose anything, ever, apart from dumping packets that don't pass CRC. Leave ADR to alter the settings, the LNS is so much better at it than we are. We have no control over others copying the library in to their own offering, so any issues with what they've provided needs addressing with them - until now I didn't know that they had copied the implementation wholesale, at least the really helpful and awesome notes.md was included. I'd recommend using this repro as it's, like updated when issues are raised, LilyGo have copied not set as a sub-module so it won't automatically get updates. I'll check this issue isn't in this version as the senior dev is away getting sunburnt. If you love your cat, do not attach a tracker to it. If you don't love your cat, Steven will pick it up when he gets home and re-home it with me. Dogs don't do any of the things that cats do and are almost always supervised and are larger. Track them with a purchased harness that carries it in the middle of their back comfortably. Do not use duck tape. As Steven will attest, I'm actually a big pussy cat, happy to help, I even house, feed & entertain students from UU, but only the ones that have read the Learn section and don't mess with cats. If you want more bonhomie sarcasm, do drop by the TTN forum where a bunch of LoRaWAN nerds hang out. LW is a great way to get good at embedded - the radio side is a bit niche but all the rest of writing efficient firmware applies. |
Beta Was this translation helpful? Give feedback.
-
Hi! I come from a Computer Science background but I'm a bit new to embedded, so please bear with me
I am using this LILYGO T-BEAM featuring an ESP32 and SX1276
I would like to create a device that uploads location data to TTN. I have the GPS module working, and I can receive longitude and latitude information.
I worked through LILYGO's example for LoRaWAN, and I am now successfully able to initialize the LoRa module and try to join the network. However, when I join the network, the following error code is returned: -1116
This error code seems to be related to no downlink being present for the join request, which the troubleshooting guide says is normal due to not every uplink having a downlink, but I wonder if that's the case for join requests.
When I look on the TTN's web interface, it looks like some of the join requests are listed there, but most are not. More importantly though: All the join requests that are listed there are failed with the message: "DevNonce is too small".
I'm wondering: Could this be due to a misconfiguration? Or is the signal too weak?
Should note that I do not have my own gateway, but I am living in an urban/suburban area in the Netherlands with a few gateways around (judging by TTN's coverage map)
Thank you very much in advance! I have another request: I'm looking for a nice community or channel to chat about these kinds of things and/or ask questions. I would really appreciate some leads on that, if anyone would happen to know one :)
Beta Was this translation helpful? Give feedback.
All reactions