Skip to content

Commit 76368cd

Browse files
authored
doc: Add CLI command to multicast doc (TheThingsIndustries#1313)
1 parent 040b67a commit 76368cd

File tree

1 file changed

+15
-0
lines changed
  • doc/content/devices/configuring-devices/multicast

1 file changed

+15
-0
lines changed

doc/content/devices/configuring-devices/multicast/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ Since there are no uplinks in multicast groups, there is no MAC layer communicat
3030

3131
- `mac-settings.ping-slot-periodicity.value`
3232

33+
CLI example:
34+
35+
```bash
36+
ttn-lw-cli end-devices create $APP_ID $DEVICE_ID \
37+
--frequency-plan-id $FREQUENCY_PLAN \
38+
--lorawan-version $LORAWAN_VERSION \
39+
--lorawan-phy-version $LORAWAN_PHY_VERSION \
40+
--session.dev-addr $DEV_ADDR \
41+
--session.keys.app-s-key.key $APP_SESSION_KEY \
42+
--session.keys.nwk-s-key.key $NWK_SESSION_KEY \
43+
--multicast \
44+
--supports-class-b \
45+
--mac-settings.ping-slot-periodicity PING_EVERY_4S
46+
```
47+
3348
See the [MAC Settings]({{< ref "/devices/configuring-devices/mac-settings" >}}) guide for more information about configuring MAC layer parameters.
3449

3550
## Creating a Multicast Group

0 commit comments

Comments
 (0)