Other Parts Discussed in Thread: CC2531, Z-STACK
Hi everyone,
I'm new, the zigbee stuff, so forgive my lack of understanding.
I'm working on Ztool using an usb Dongle CC2531 as coordinator. The stack is installed and ready to use. i have in the ZTOOL five Monitor and Test (MT) interface that is used for communication between the host tester and a ZigBee device through RS-232 serial port or USB port.
- MT_SYS
- MT_AF
- MT_ZDO
- MT_SAPI
- MT_UTIL
- MT_APP
my problem is that i don't find how to launch a network discovery request to let the ZED join the coordinators using ZTOOL.
I found that the ZD0_NWK_DISCOVERY_REQ is the command to send to the coordinator that tell him to iniate a network discovery ( active scan ) in channels. But when i use this command, i have the following error as answer :
<TX>11:06:41.7 COM3 ZDO_NWK_DISCOVERY_REQ (0x2526)
ScanChannels: ALL_CHANNELS (0x7FFF800)
ScanDuration: 0x04
<RX>11:06:41.71 COM3 ZDO_NWK_DISCOVERY_REQ_SRSP (0x6526)
Status: ZNWK_INVALID_REQUEST (0xC2)
Is anyone has an idea of how i can launch the network discovery ?