The “multicast control” package can be used to:
• Remotely create a multicast group security context inside a group of end-devices
• Report the list of multicast context existing in the end-device
• Remotely delete a multicast security context.
• Program a classC multicast session
• Program a classB multicast session
LoRa App Server provides an experimental implementation of this to support FUOTA. The control packages are note exposed as an API. But, these are application-layer payloads, so you can send these commands like any other device downlink
How can I send Mac commands that too in sync with the loraserver and network controller?
How do I add these mac commands as app-payload? As I know Mac-commands are inside fCtrl as fOpts there If i want to use McGroupStatusReq, how can I make the multicast mac commands alongside the downlink payload?
Oh, my bad.
Still I am unsure to send these commands a payload. Because I don’t think that the device firmware is capable of identifying these commands from the received downlink buffer. Do I have to take care of this at the firmware side?
Please note that remote multicast setup is an application layer protocol. Therefore you can assemble these packages yourself and enqueue them as normal downlinks. That is exactly what the FUOTA Server is doing. Then it creates the related multicast-group using the gRPC API and once the session starts, it starts enqueueing multicast messages.