Mac/Phy Commands; Cm (Channel Mask); Hp (Preamble Id); Id (Network Id) - Digi XBee SX 868 User Manual

Radio frequency (rf) module
Hide thumbs Also See for XBee SX 868:
Table of Contents

Advertisement

AT commands

MAC/PHY commands

The following AT commands are MAC/PHY commands.

CM (Channel Mask)

CM allows you to selectively enable or disable channels used for RF communication. This is useful to
avoid using frequencies that experience unacceptable levels of RF interference, or to operate two
networks of radios on separate frequencies.
This mask limits the channels where the device transmits. See
frequencies. Channel 0 is bit 0. You must enable at least two channels, except when using only a single
frequency of 869.85 MHz. When you use this mode (use 0x20000000), LBT+AFA is disabled and the
power level is automatically limited to 5 dBm.
This command is a bitfield.
The CM command does not limit receive channels. If two devices have mutually exclusive values for
CM (for example 0x0000FF00 and 0x000000FF), then communication is possible because both devices
still listen on all possible channels, while limiting the transmission channels to those specified in the
CM command.
The CM channel mask no longer supports channels 9 and 24 for transmissions due to regulatory
requirements. However, the device can receive transmissions on channels 9 and 24, which then will
transmit on any other valid channel in the channel mask (this is to maintain compatibility with the
existing S8 product).
Parameter range
3 - 0x3EFFFDFF [bitfield]
Default
Europe: 0x3EFFFDFF (channels 0 - 29, 863.15 - 869.85 MHz), excluding channels 9 and 24
Europe (single frequency mode): 0x20000000 (channel 29, 869.85 MHz)

HP (Preamble ID)

The preamble ID for which the device communicates. Only devices with matching preamble IDs can
communicate with each other. Different preamble IDs minimize interference between multiple sets of
devices operating in the same vicinity. When receiving a packet, the device checks this before the
network ID, as it is encoded in the preamble, and the network ID is encoded in the MAC header.
Parameter range
0 - 9
Default
0

ID (Network ID)

Set or read the user network identifier.
Devices must have the same network identifier to communicate with each other.
When receiving a packet, the device check this after the preamble ID. If you are using Original
equipment manufacturer (OEM) network IDs, 0xFFFF uses the factory value.
XBee® SX 868 RF Module User Guide
MAC/PHY commands
Technical specifications
for the list of
92

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents