Skip to content

[FUOTA] Server sends all queued multicast downlinks at once

0

Hello,

I am facing a very annonying issue. Once I create a new multicast group, it sends all queued downlinks at once. It makes impossibile to test a fuota session since end node and LNS can't catch fuota specification since at each uplink doesn't correspond the right downlink ( or no downlink at all ). Down below it follows a snapshot from Network Analyzer:

FuotaMulticastIssue

asked 2 years ago182 views

2 Answers
0

Hi. I'm struggling to understand your question because there shouldn't be any "queued downlinks". From your screenshot, it seems your complaint is specifically about MCAST_SETUP_PKG_VERSION_REQ. Is that right? They seem to have been sent 10s apart. It looks to me like the problem is that your device hasn't sent a PackageVersionAns, so the request is re-sent. I'm not saying your device is necessarily doing anything wrong; I'm just trying to understand where things have broken down. What's your normal uplink interval?

Here's what it looks like with my device:

Enter image description here

AWS
EXPERT

answered 2 years ago

  • Hello Greg,

    I apologize for any lack of clarity in my initial explanation. In the hours following the opening of this post, I've conducted additional analysis and observed that this issue with the transmission of specification packets specifically occurs with LoRaWAN device profiles where the "Supports Class C field" is enabled. In that case, LNS sends all scheduled packets at 10-second intervals; if that field option is disabled, packets are scheduled on downlink queue and sent only upon next LoRaWAN uplink from end node side.

    More specifically, profile configuration are designed for EU868 Class A devices.

  • Well done! Yes "Supports class C" means that AWS IoT Core for LoRaWAN thinks your device is always running in Class C. But probably you have a class A device that just occasionally switches to class C for multicast.

  • Ok, I think it's a bit odd though. If I configure a new Class A device which occasionaly supports Class C, LNS should handle it... doesn'it? I think main Class should prevale over "Support" function.

0
The issue you're experiencing with FUOTA (Firmware Update Over-The-Air) where the server sends all queued multicast downlinks at once is not typical behavior for AWS IoT Core for LoRaWAN. This could be causing problems with your FUOTA session as it disrupts the expected sequence of messages between the end node and the network server.

For a successful FUOTA process, there should be a specific sequence of messages exchanged between the device and the network server. This typically includes:

1. Multicast setup messages
2. Clock synchronization messages
3. Fragmentation setup messages
4. Actual firmware fragments

Each of these steps should occur in order, with the device responding appropriately to each message before moving to the next step.

To troubleshoot this issue:

1. Check your device profile settings in AWS IoT Core for LoRaWAN. Ensure that the LoRaWAN version and supported features are correctly configured.

2. Verify that your device firmware supports the correct versions of the LoRa Alliance specifications for FUOTA, including the Remote Multicast Setup, Fragmented Data Block Transportation, and Application Layer Clock Synchronization specifications.

3. Use the Network Analyzer feature in AWS IoT Core for LoRaWAN to monitor the FUOTA process in detail. Activate both frame info and multicast frame info for your devices and multicast groups.

4. Check if there are any configuration issues with your multicast group or FUOTA task settings, such as incorrect timing parameters.

5. Ensure your device is correctly set up to receive multicast messages and is in the appropriate LoRaWAN class (typically Class C) during the FUOTA process.

6. If possible, try creating a new multicast group and FUOTA task to see if the issue persists.

If the problem continues after these steps, it may be worth contacting AWS support for further assistance, as this behavior is not expected and could indicate a potential issue with the AWS IoT Core for LoRaWAN service configuration.
  

Sources
Debug and troubleshoot your multicast groups and FUOTA tasks using network analyzer - AWS IoT Wireless
No Fragmentation Setup during FUOTA | AWS re:Post

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.