I am still seeing downlink data discarded due to size in the US915 bands. I have double confirmed I am running the 4.1.0 release. What is the specific change that might have had an effect on this behavior?
If it makes a difference, I am using a device based on the Microchip RN2903 module.
I have a little more information from the chirpstack logs. It looks like the server is frequently updating the device configuration. Here is an example data_up
event. Note the data rate being updated to dr=4, although I always see it reported as 3, and the requested channel reconfiguration.
I have read the Regional Parameters spec as it pertains to the US bands, especially the section on the LinkAdrReq command, but it’s not clear to me what is going on in the server.
2022-12-09T23:40:29.675151Z INFO chirpstack::storage::device: Setting device lock dev_eui=000.......
2022-12-09T23:40:29.675898Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Setting scheduler_run_after for device
2022-12-09T23:40:29.678999Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Filtering rx_info by tenant_id
2022-12-09T23:40:29.679056Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Decrypting mac-commands
2022-12-09T23:40:29.679101Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Decrypting FRMPayload
2022-12-09T23:40:29.679153Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Logging uplink frame-set
2022-12-09T23:40:29.680145Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Set ADR flag in device-session
2022-12-09T23:40:29.680168Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Set uplink data-rate and reset tx-power on change
2022-12-09T23:40:29.683363Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::storage::device: Data-rate updated dev_eui=000....... dr=4
2022-12-09T23:40:29.683410Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Set Class-B beacon locked
2022-12-09T23:40:29.683425Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Logging uplink meta
2022-12-09T23:40:29.684391Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Handling uplink mac-commands
2022-12-09T23:40:29.684518Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Mac-commands in f_opts
2022-12-09T23:40:29.689593Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::storage::mac_command: Pending mac-command block deleted dev_eui=000....... cid=LinkADRAns
2022-12-09T23:40:29.690810Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::maccommand::link_adr: LinkADRReq acknowledged dev_eui=000....... tx_power_index=3 dr=3 nb_trans=1 enabled_channels=[8, 9, 10, 11, 12, 13, 14, 15, 65]
2022-12-09T23:40:29.691921Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Saving gateway rx-info for device
2022-12-09T23:40:29.692376Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::storage::device_gateway: Gateway rx-info saved dev_eui=000.......
2022-12-09T23:40:29.692404Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Sending uplink event
2022-12-09T23:40:29.694125Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::integration::gcp_pub_sub: Initializing GCP Pub-Sub integration
2022-12-09T23:40:29.695792Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::integration::gcp_pub_sub: Publishing event event=up dev_eui=000.......
2022-12-09T23:40:29.697213Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::integration::mqtt: Publishing event topic=application/d4db8afe-64a9-450f-aa0c-ce4575d14661/device/000......./event/up
2022-12-09T23:40:29.754896Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Detecing and saving measurements
2022-12-09T23:40:29.754942Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Syncing uplink frame-counter
2022-12-09T23:40:29.754950Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Setting region_name to device-session
2022-12-09T23:40:29.754964Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Saving device-session
2022-12-09T23:40:29.756266Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::storage::device_session: Device-session saved dev_eui=000....... dev_addr=0048be2a
2022-12-09T23:40:29.756338Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Saving device metrics
2022-12-09T23:40:29.756762Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::storage::metrics: Metrics saved name=device:000....... aggregation=HOUR
2022-12-09T23:40:29.757258Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::storage::metrics: Metrics saved name=device:000....... aggregation=DAY
2022-12-09T23:40:29.757828Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::storage::metrics: Metrics saved name=device:000....... aggregation=MONTH
2022-12-09T23:40:29.757858Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up: chirpstack::uplink::data: Starting downlink data flow
2022-12-09T23:40:29.757919Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Downlink response flow
2022-12-09T23:40:29.757944Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Selecting downlink gateway
2022-12-09T23:40:29.758046Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Setting tx-info for RX1
2022-12-09T23:40:29.758320Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Setting tx-info for RX2
2022-12-09T23:40:29.758373Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Getting next device queue-item
2022-12-09T23:40:29.760051Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Requesting custom channel re-configuration
2022-12-09T23:40:29.760083Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Requesting channel-mask reconfiguration
2022-12-09T23:40:29.760111Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Requesting ADR change
2022-12-09T23:40:29.762066Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::storage::mac_command: Pending mac-command block set dev_eui=000....... cid=LinkADRReq
2022-12-09T23:40:29.762150Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Requesting device-status
2022-12-09T23:40:29.762197Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Requesting rejoin param setup
2022-12-09T23:40:29.762248Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Setting ping-slot parameters
2022-12-09T23:40:29.762289Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Setting rx parameters
2022-12-09T23:40:29.762328Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Setting tx parameters
2022-12-09T23:40:29.762386Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Setting downlink PHYPayloads
2022-12-09T23:40:29.762560Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Updating device queue-item
2022-12-09T23:40:29.762602Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Saving downlink frame
2022-12-09T23:40:29.763276Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::storage::downlink_frame: Downlink-frame saved downlink_id=678629962
2022-12-09T23:40:29.763367Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Saving device-session
2022-12-09T23:40:29.763850Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::storage::device_session: Device-session saved dev_eui=000....... dev_addr=0048be2a
2022-12-09T23:40:29.763910Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::downlink::data: Sending downlink frame
2022-12-09T23:40:29.764016Z INFO up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::gateway::backend::mqtt: Sending downlink frame gateway_id=0016c001ff19cf16 topic=us915_1/gateway/0016c001ff19cf16/command/down json=false
2022-12-09T23:40:29.764537Z TRACE up{deduplication_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}:data_up:data_down{downlink_id=4078b24a-f7b8-4378-8355-12dee18fd7c6}: chirpstack::gateway::backend::mqtt: Message sent
Followed by the downlink message attempt…
2022-12-09T23:40:35.123881Z TRACE schedule{dev_eui=000.......}: chirpstack::downlink::data: Handle schedule next-queue item flow
2022-12-09T23:40:35.127182Z TRACE schedule{dev_eui=000.......}: chirpstack::downlink::data: Selecting downlink gateway
2022-12-09T23:40:35.127239Z TRACE schedule{dev_eui=000.......}: chirpstack::downlink::data: Getting Class-C device lock
2022-12-09T23:40:35.127296Z INFO chirpstack::storage::device: Aquiring device lock dev_eui=000.......
2022-12-09T23:40:35.127556Z TRACE schedule{dev_eui=000.......}: chirpstack::downlink::data: Setting immediately flag
2022-12-09T23:40:35.127586Z TRACE schedule{dev_eui=000.......}: chirpstack::downlink::data: Setting tx-info for RX2
2022-12-09T23:40:35.127634Z TRACE schedule{dev_eui=000.......}: chirpstack::downlink::data: Getting next device queue-item
2022-12-09T23:40:35.130341Z INFO schedule{dev_eui=000.......}: chirpstack::storage::device_queue: Device queue-item deleted id=5ab2a54b-64a1-47a0-b3be-9f1e30970ea6
2022-12-09T23:40:35.131571Z TRACE schedule{dev_eui=000.......}: chirpstack::integration::gcp_pub_sub: Initializing GCP Pub-Sub integration
2022-12-09T23:40:35.133032Z INFO schedule{dev_eui=000.......}: chirpstack::integration::gcp_pub_sub: Publishing event event=log dev_eui=000.......
2022-12-09T23:40:35.134462Z INFO schedule{dev_eui=000.......}: chirpstack::integration::mqtt: Publishing event topic=application/d4db8afe-64a9-450f-aa0c-ce4575d14661/device/000......./event/log
2022-12-09T23:40:35.199052Z WARN schedule{dev_eui=000.......}: chirpstack::downlink::data: Device queue-item discarded because of max. payload size dev_eui=000....... device_queue_item_id=5ab2a54b-64a1-47a0-b3be-9f1e30970ea6
2022-12-09T23:40:35.201257Z TRACE chirpstack::downlink::scheduler: class_b_c_scheduler_loop completed successfully
I am also seeing all channels being turned off at times, resulting in no data being sent and (re)join failing. I have more data on that, but I’ll send that in another post if it would help. This does not happen on some other devices that send smaller data payloads less frequently.
Knowing the change that fixed this for EU868 might enable me to dig in some more.
Thanks.