Open jmadden173 opened 4 days ago
Confirmed that the issue is the adaptive data rate. See below link for table of DR for US915 band. I noticed that it was set to DR0
or SF10BW125
which has a max payload size of 11 bytes. The typical payload is ~30 bytes which causes an error that appears as empty payload.
I've tried turning off ADR in the settings. I have a hunch that the clock synchronization is resetting the LmHandler configuration. Possibly need to force reconfigure the Lm settings after clock sync.
https://www.thethingsnetwork.org/docs/lorawan/regional-parameters/us915/
TBH ADR would be good to keep enabled. Can set it via the CLI, don't believe its possible via the web interface.
./ttn-lw-cli app set --application-id <APP_ID> --mac-settings.adr.mode.dynamic --mac-settings.adr.mode.dynamic.max-data-rate-index 13 --mac-settings.adr.mode.dynamic.min-data-rate-index 1
Describe the Bug When I setup monitoring for the cacti, I verified that the devices could upload to dirtviz when connected to my laptop. When I plugged them into a USB power hub, empty payload messages are being sent to Dirtviz. There should be a check for an empty FIFO buffer before uploading so unsure why there are empty payload messages.
To Reproduce Steps to reproduce the behavior:
Expected Behavior Data uploaded successfully
Screenshots See below for more context
Environment
OS: Linux spruce 6.8.2-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000 x86_64 GNU/Linux
Hardware version:2.2.0-2
and2.2.0-6
Software version:release/2.2.1
Platformio Version: 6.1.15Additional Context
Example live data
Example upload event. Notice that
f_port
andpayload
are not set. I checked in the TTN slack where they confirmed that default values ie0
andNULL
do not get decoded into the json. This also confirms that they are using protobuf internally for encoding the messages.