1 node type selection for coordinator, 2 channel mask configuration for coordinator, Node type selection for coordinator – SENA ProBee-ZS10 User Manual

Page 23: Channel mask configuration for coordinator

Advertising
background image

23

ProBee-ZS10 User Guide Rev.1.5

• Configure the ZS10 node type as the coordinator
• Optionally, select the channel mask. Otherwise, the ZS10 will use the default channel mask.
• Optionally, set up the PAN ID and/or the extended PAN ID. Otherwise, the ZS10 will generate the

PAN ID and/or the extended PAN ID automatically.

• Permit joining when other router or end-device tries to join the ZigBee network.

3.1.1

Node Type Selection for Coordinator

The ZS10 adapter can be configured as a ZigBee coordinator by the AT command as below:

AT+NODETYPE=n or AT+NT=n

Where n is 0 = none, 1 = coordinator, 2 = router, 3 = end-device, 4 = sleepy end-device


After the operation mode is selected, ATZ command should be performed to reset the unit to have the
change applied.

Example)

AT+NODETYPE=1<CR>

# Set node type as the coordinator

OK<CR>

#

Response

ATZ<CR> #

Apply

the

change

OK<CR>

#

Response

3.1.2

Channel Mask Configuration for Coordinator

When the ZigBee coordinator starts, it scans predefined frequency channels to find the best frequency
channel to use without causing interference with other wireless devices. The user is able to specify the
channels to use with the AT command as below:

AT+CHMASK= n or AT+CM=n

, where n = channel mask to use. Default = 0x03FFF000


This value has a 32-bit hexadecimal unsigned integer. Each bit represents whether a channel will be used
or not. For example, to use a channel between 12 and 15, the 12, 13, 14 and 15 bits of the channel mask
should be 1 and all other bits should be 0. The default setting is 0x3FFF000 which means that all the
channels from 12 to 25 can be used. The ZS10 supports only the channels between 12 and 25, so 0~11
bits and 26~31 bits should be 0. Table 3-2 shows the bit mask for each channel.

Advertising