Hi - I have compiled SampleApp - EndDeviceDB with the following compiler options:
CC2430DB
REFLECTOR
HAL_UART
INT_HEAP_LEN=4096
ZAPP_P1
ZTOOL_P1
MT_TASK
SERIAL_RX_INT
SERIAL_TX_INT
MT_USER_TEST_FUNC
MT_NWK_PING
MT_NWK_FUNC
MT_ZDO_MGMT
MT_ZDO_FUNC
xMT_AF_FUNC
MT_ZDO_FUNC
MT_ZDO_MGMT
On Z-Tool, I want to run ZDO_NWKADDR_REQUEST to get the 16 bit network address of the device. While running this command on Z-tool, I select the following message parameters:
IEEE address : 9943967850384659991 ( this is decimal equivalent of the device address 0x8A00121314151617. z-tool doesn't accept hex number)
reqType SINGLE_DEVICE_RESPONSE
security Enable NOT_ENABLED
start index 0
But , when I run the command ( send message) ZDO_NWKADDR_REQUEST , I get following resopnse which does not contail the 16 bit address
<TX>7:18:11.672 COM1 ZDO_NETWORKADDRESS_REQUEST (0x0A02)
IEEEAddress: 0x8A00121314151617
ReqType: SINGLE_DEVICE_RESPONSE (0x0)
StartIndex: 0x00
SecurityEnable: NOT_ENABLED (0x0)
<RX>7:18:11.687 COM1 ZDO_NETWORKADDRESS_RESPONSE (0x1A02)
Status: SUCCESS (0x0)
Please tell me if somethin is missing.. I need to find the 16 bit address as it is reqired for most of other serial commands : (
I know it has somethin to do with the following statement :
"You must subscribe to 'ZDO IEEE Address Response' to receive the data response to this message"
please clarify what does this stmt mean ?
-Mahan