Skip to content

Latest commit

 

History

History
executable file
·
109 lines (70 loc) · 2.92 KB

MULTICAST.md

File metadata and controls

executable file
·
109 lines (70 loc) · 2.92 KB

Dot Configuration

This example is using Dot v4.0.0 firmware and mPower 5.3.0 on Conduit

AT Commands

Setup the output format

Enable addition of Type, DevAddr, FCnt and Port to HEX output of the data. Use AT+RXO=2 for ascii output instead of hexadeicmal.

AT+RXO=3

Packet output will contain a set of fields, Type is 1 byte, DevAddr is 4 bytes, FCnt is 4 bytes and Port is 1 byte. DevAddr and FCnt are presented in little endian order. The Data field is provided as received.

012f49daf00500000001090909

Type  DevAddr   FCnt      Port  Data
01    2f49daf0  05000000  01    090909

Enable output of unsolicited messages during the AT command session

AT+URC=1

Received packets will appear in the command output without needing to issue commands.

RECV 012f49daf00500000001090909

The last packet can be displayed with the AT+RECV command.

at+recv
012f49daf00500000001090909

OK

Multicast Session Setup

Multicast Operation

Setup Time

This setting controls the when the Session Setup packet will be queued for each end-device. Class A end-devices must send an uplink after this packet is queued to create the session needed for to authenticate and decrypt the multicast message payload.

Launch Time

This setting controls the time allowed for end-devices to retrieve the Session Setup before the multicast payload will be sent.

Session Progess

Multicast Operation Progress

After setup time has expired and until launch time the Operation will be in Setup phase. After the setup phase ends the session will transfer to the Broadcasting phase and send the scheduled packet. The progress page shows the Operation and corresponding Multicast EUI.

The Session Setup can be seen below in the Class A uplink response. Port 200 (0xC8) is the multicast setup protocol port. There are two commands in this packet.

at+rxo
0

OK
at+rxo=3

OK
at+urc=1

OK
at+send
01231400000a000000c802002f49daf011fe3c120a78c11b4b769c52e45d21160000000000000000040011a2a84c0f68e28c0a

OK
at+send

OK
RECV 012f49daf003000000017777
RECV 012f49daf004000000018888
RECV 012f49daf00500000001090909

The multicast packet is shown broken in to each command and corresponding fields.

Type  DevAddr  FCnt     Port  Payload
01    23140000 0a000000 c8    02002f49daf011fe3c120a78c11b4b769c52e45d21160000000000000000040011a2a84c0f68e28c0a

MC Group Setup Req
MC ID DevAddr  Encrypted Key                    FCnt Start  FCnt End
02 00 2f49daf0 11fe3c120a78c11b4b769c52e45d2116 00000000    00000000

MC Class C Session Req
MC ID Start Time   Timeout Freq   DR
04 00 11a2a84c     0f      68e28c 0a

More Messages

Additional messages can be sent to the end-devices in the session using the downlink queue. Queue packets to the Multicast EUI.

Multicast Downlink

Multicast Downlink Queue