This guide will instruct you to configure a LoRaWAN RAK node to join a LoRaWAN multicast group.

LoRaWAN,Multicast,RAK,RAK 3172

What is LoRaWAN Multicast?

LoRaWAN Multicast group is a concept of grouping LoRaWAN nodes together to receive the same set of downlinks from server.

  • We can send a single downlink to the multicast address and all LoRaWAN nodes in the same multicast group will receive the downlink.
  • Multicast group will ease the downlink management and save the bandwidth of sending multiple downlinks to each of the LoRaWAN nodes.
  • All LoRaWAN nodes in the same multicast group share the same multicast-address, session-keys and frame-counter.
  • A LoRaWAN node can have up to 04 multicast groups.

broadcast multicast unicast

Join a LoRaWAN RAK module to LoRaWAN Multicast group

Step 1: Your node MUST be able to receive normal (unicast) downlink from the server.

Step 2: Run AT+ADDMULC in Arduino console and press Enter

  • To join multicast group: AT+ADDMULC=[Class]:[Multicast-Addr]:[Multicast-NwkSKey]:[Multicast-AppSKey]:[RX2-Frequency]:[RX2-Datarate]:[Periodicity]
  • You have to obtain Multicast-Addr, Multicast-NwkSKey, Multicast-AppSKey, RX2-Frequenc and RX2-Datarate from your LoRaWAN server or Easy LoRaWAN Cloud
  • To list multicast group: AT+LSTMULC=?
  • To remove node from a multicast group: AT+RMVMULC=[Multicast-Addr]
  • Reference: RAK Documentation

join a rak module to multicast group

Step 3: We need to configure Multicast in LoRaWAN server / Easy LoRaWAN Cloud to send downlink to the multicast group with multicast address.

Step 4: The node will receive the downlink as it is part of the multicast group.

receive multicast downlink

Done.

5 4 votes
Article Rating
Subscribe
Notify of
5 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Will this guide work for other RAK modules?
Thanks a lot.

This guide saves my day.
Thanks a lot.

Will LoRaWAN multicast work with ABP Class C?

Want to test LoRaWAN?

Subscribe Easy LoRaWAN Cloud to try this guide on your LoRaWAN gateways and nodes.
We will help you to get started and troubleshooting.

Thanks for the guides?

If this guide saves your days, you can give us a cup of coffee.
This is one-time donation.
Thank you for supporting us.