Open pjb304 opened 3 years ago
15 up, 14 down suggests you are sending Conf_data_up messages and getting the confirmation reply.
Btw, ttn fair use limits you to 10 downlinks per day.
Agreed, that's what it suggests. However, the code is for unconfirmed message, and the lower screenshot is from TTNv2 (exact same code, just different ini file), which shows the expected 5 uplinks and no downlinks.
Since my Kickstarter gaetway is defunct (at the moment) I can't do any checking with my end-node dev (coz they aren't being seen). I'll be looking for a single chan gateway to build to see if that helps.
Have you been able to view the downlink messages on the console IIRC you could see the data on V2.
Alas my time to work on this is limited, and I ended up having to rebuilt a pi SD card last time I had put some time aside to debugging this so progress is slow - but yes looking in the console to see what the downlink messages are is on my todo list. Thanks for the suggestion
Set the ‘verbose stream’ on in TTSCE and you’ll probably notice TTN is sending MAC commands downlink. These need to handled or you need to try to avoid them by setting device parameters. Check TTN forum for more information.
Thanks @kersing for the hint. I think the messages that I'm seeing coming down are to do with ADR. Unfortunately, the amount of time that I have available to work on this particularly bit of sofware has been diminishing for the last couple of years, and the deployment that we have been using this for is ending shortly so I can't justify the time to fix this, as all our devices currently using it will be decommissioned before TTN v2 is.
Sorry @BNNorman I know this will be a blow to your project, I wish you all the best with it.
No problem. I started working on handling MAC commands. I'll just have to continue with my variant. Thanks for the initial work you have done.
I haven't scheduled any downlink messages, so not sure where they are coming from. Don't see this behaviour in v2