Hi,
I'm using z-stack 3.0.2.I've done following setup:
1)cc2531 running GenericApp as Coordinator.Added "bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_FORMATION|BDB_COMMISSIONING_MODE_NWK_STEERING);" in the end of zclGenericApp_Init() to automatically start network.MT_TASK and related compile options enabled so I'm able to use it in Z-Tool 2.0.
2)cc2530 running SampleTemperatureSensor as ED.Added "bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_STEERING);" in zclGenericApp_Init() to automatically join.No other changes made.In Z-tool I'm able to join cc2530 and cc2531:
*** WARNING ***
Unsupported or unformatted message received. Raw data:
0C 45 CA B9 F6 5F 77 4D 1F 00 4B 12 00 00 00
<RX>03:24:27.35 COM5 ZDO_END_DEVICE_ANNCE_IND (0x45C1)
SrcAddr: 0xF6B9
NwkAddr: 0xF6B9
IEEEAddr: 0x00124B001F4D775F
Capabilities: 0x80
(Followed this tutorial: https://sunmaysky.blogspot.com/2015/10/how-to-do-device-binding-from-ti-ztool.html)I'm also able to bind these devices, but can't receive any data from cc2530:
<TX>03:34:22.44 COM5 ZDO_BIND_REQ (0x2521)
DstAddr: 0xF6B9
SrcAddress: 0x00124B001F4D775F
SrcEndpoint: 0x08
ClusterID: 0x0402
BindAddrMode: 0x03 (ADDRESS_64_BIT) (0x3)
BindAddr: ..K..... (0x00, 0x12, 0x4B, 0x00, 0x18, 0xED, 0x18, 0x15)
BindEndpoint: 0x08
<RX>03:34:22.45 COM5 ZDO_BIND_REQ_SRSP (0x6521)
Status: afStatus_SUCCESS (0x0)
<RX>03:34:22.98 COM5 ZDO_BIND_RSP (0x45A1)
SrcAddr: 0xF6B9
Status: ZDP_SUCCESS (0x0)
I've these questions:
1)How can I send data over this setup?(ED->Coordinator and Coordinator->ED)?
2)How can I set an endpoint on Coordinator (in Z-tool)?
Thanks!