
Command Reference
2015-2018 Microchip Technology Inc.
DS40001784G-page 33
2.4.8.12
mac set mcast <state>
<state>
: string value representing the state, either on or off.
Response:
ok
if state is valid
invalid_param
if the state is not valid
This command sets the end device Multicast state (mcast) to either be enabled or dis-
abled. When multicast is enabled, and the device is operating in Class C continuous
receive mode, the end device can receive multicast messages from the server. For
more information on the description of multicast operation, refer to the
LoRaWAN™
Specification V1.0.2
.
Example:
mac set mcast on
2.4.8.13mac set mcastappskey <mcastApplicationSessionkey>
<mcastApplicationSessionkey>
: 16-byte hexadecimal number representing the
application session key.
Response:
ok
if key is valid
invalid_param
if the key is not valid
This command sets the multicast application session key for the module. This key iden-
tifies the multicast application session key used when the network sends a multicast
message from an application.
Example:
mac set mcastappskey 29100192AFBECD564738837465FAEBDC
2.4.8.14mac set mcastdevaddr <mcastAddress>
<mcastAddress>
: 4-byte hexadecimal number representing the device multicast
address, from 00000000 - FFFFFFFF.
Response:
ok
if address is valid
invalid_param
if the address is not valid
This command configures the module with a 4-byte multicast network device address
<address>
. The
<address>
MUST match the multicast address on the current net-
work. This must be directly set for multicast devices.
Example:
mac set mcastdevaddr 54ABCDEF
Note:
If this parameter had previously been saved to user EEPROM by issuing
the
mac save
command, after modifying its value, the
mac save
command should be called again.
Note:
If this parameter had previously been saved to user EEPROM by issuing
the
mac save
command, after modifying its value, the
mac save
command should be called again.
Note:
If this parameter had previously been saved to user EEPROM by issuing
the
mac save
command, after modifying its value, the
mac save
command should be called again.