cancel
Showing results for 
Search instead for 
Did you mean: 

How to Set Up a Multicast in the LoRaWAN_AT_Slave Example for FUOTA?

PrathamSalunkhe
Associate II

Hi everyone,

I am currently working on the LoRaWAN_AT_Slave example from the firmware package repository (STM32Cube_FW_WL_V1.3.0) provided by ST. So far, I have successfully implemented uplink and downlink communication, enabling the device to send sensor data and receive downlink commands.

Now, I aim to implement FUOTA (Firmware Update Over The Air). As a first step, I need to configure multicast within the LoRaWAN_AT_Slave project to support the FUOTA process.

However, I'm not sure how to configure the multicast properly. Could anyone guide me through the steps or provide an example configuration?

Here’s what I’ve done so far:

  1. I’ve explored the LoRaWAN_AT_Slave project in the STM32Cube's STM32WL firmware package.
  2. I understand that FUOTA requires multicast communication, but I couldn’t find detailed documentation or examples specific to this setup.

Specific questions:

  • Which files or functions should I modify or focus on to enable and configure multicast in this project?
  • Are there specific AT commands or APIs I need to use to set the multicast address, key, and other parameters?
  • Do I need to configure the multicast settings on the network server as well, and if so, how does that link to the device setup?

Any guidance, documentation, or example projects would be greatly appreciated!

Thank you in advance!

Best regards,
Pratham

3 REPLIES 3
STTwo-32
ST Employee

Hello @PrathamSalunkhe 

For the FUOTA applications, I suggest you refer to the examples available on the STM32Cube_FW_WL_V1.3.0\Projects\NUCLEO-WL55JC\Applications (LoRaWAN_FUOTA and LoRaWAN_FUOTA_DualCore). A good start will be to take a look at this video to understand more details about FUOTA on STM32WL. Also, details on FUOTA are provided on the AN5554.

PS: Please download the STM32CubeWL V1.3.0 from the ST website.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @STTwo-32 
Thank you for the guidance!

I understand that the LoRaWAN_FUOTA and LoRaWAN_FUOTA_DualCore examples provide a good starting point for FUOTA implementation. However, my specific requirement is to perform FUOTA within the LoRaWAN_AT_Slave project, as I’ve already built my uplink and downlink communication around this example.

Could you please guide me on how to integrate the LoRaWAN_FUOTA  example in the LoRaWAN_AT_Slave project to support FUOTA?

  • Are there specific files, configurations, or APIs I need to modify or integrate from the FUOTA examples?
  • How can I set up and manage the multicast group in the LoRaWAN_AT_Slave project for FUOTA purposes?
  • Any specific considerations for ensuring compatibility between this project and the FUOTA process?

I’d appreciate detailed instructions or pointers on how to bridge the gap between the LoRaWAN_FUOTA example and the LoRaWAN_AT_Slave project.

Thank you in advance for your help!

Best Regards,

Pratham

I think you should be able to do that by understanding how it works from the provided details on the AN5554. After that try to adapt that to your working project. 

Best Regards.

STTwo-32

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.