This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am trying to burn the END device Samplelight application firmware and trying to make it join with the coordinator . But it is only sending Single Becon request and nothing else.
The same code by changing to Router configuration will associate with coordinator.
I have called bdb_startcommissing at the end of the ZclSampleligh_init function.
Can anyone guide me in this??
I am not using any EVB , iam burning hex file into CC2530.
For the Bdb Network sterring procedure mentioned in development document , i don't see anything else needs to be done apart from calling bdb_startcommissioning function.
Please help in proceeding with the same.
Regards
Avinash
Coordinator was 10 Meters away.end_device_coordinator.psd is it because of this? When i kept the node near t it (1 meter) it is sending response but not joining the network. Attached the sniffer file of the same .
The Compile Flag that i use in pre-processor are
BDB_REPORTING
SECURE=1
xTC_LINKKEY_JOIN
NV_INIT
NV_RESTORE
xPOWER_SAVING
NWK_AUTO_POLL
xZTOOL_P1
xMT_TASK
xMT_APP_FUNC
xMT_SYS_FUNC
xMT_ZDO_FUNC
xMT_ZDO_MGMT
xMT_APP_CNF_FUNC
xLCD_SUPPORTED=DEBUG
MULTICAST_ENABLED=FALSE
ZCL_READ
ZCL_DISCOVER
ZCL_WRITE
ZCL_BASIC
ZCL_IDENTIFY
ZCL_ON_OFF
ZCL_SCENES
xZCL_GROUPS
ZCL_LEVEL_CTRL
HAL_LCD=FALSE
INT_HEAP_LEN=2560 -- Flash ooptimization
BDB_TL_TARGET
INTER_PAN
DEFAULT_KEY -- This is to have the own key
xBDB_NETWORK_STEERING_CAPABILITY_ENABLED=1
And added
bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_STEERING |BDB_COMMISSIONING_MODE_FINDING_BINDING |BDB_COMMISSIONING_MODE_INITIATOR_TL);
at the end of zclSamplelight_Init()
and zgPreConfigKeys is set to TRUE in ZGlobal.c
and added default key in f8wconfig.cfg file
When i build it with the router config , it will join the network but the same code when built as end device will not join.(Assosiation will happen)
0121.end_device_coordinator.psdRouter_Coordinator.psdRouter_Coordinator.psdHi Rayan,
Following are the changes that i have done
1. Optimized the code by disabling the UI related things and LCD releated things as said in
processors.wiki.ti.com/.../Optimizing_Flash_and_RAM_Usage_of_Z-Stack_for_CC2530
2. Added the function
bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_STEERING |BDB_COMMISSIONING_MODE_FINDING_BINDING |BDB_COMMISSIONING_MODE_INITIATOR_TL);
at the end of ZclSamplelight_init() function
3. zgPreConfigKeys is set to TRUE in ZGlobal.c
4. Added the DEFAULT KEY in f8wconfig.cfg file
And for the Router Following are the compile flag that i use,
BDB_REPORTING
SECURE=1
xTC_LINKKEY_JOIN
NV_INIT
NV_RESTORE
MULTICAST_ENABLED=FALSE
ZCL_READ
ZCL_DISCOVER
ZCL_WRITE
ZCL_BASIC
ZCL_IDENTIFY
ZCL_ON_OFF
ZCL_SCENES
xZCL_GROUPS
ZCL_LEVEL_CTRL
HAL_LCD=FALSE
INT_HEAP_LEN=2560
BDB_TL_TARGET
INTER_PAN
DEFAULT_KEY
and for END device following are the compile flag that i use,
BDB_REPORTING
SECURE=1
xTC_LINKKEY_JOIN
NV_INIT
NV_RESTORE
xPOWER_SAVING
NWK_AUTO_POLL
MULTICAST_ENABLED=FALSE
ZCL_READ
ZCL_DISCOVER
ZCL_WRITE
ZCL_BASIC
ZCL_IDENTIFY
ZCL_ON_OFF
ZCL_SCENES
xZCL_GROUPS
ZCL_LEVEL_CTRL
HAL_LCD=FALSE
INT_HEAP_LEN=2560
BDB_TL_TARGET
INTER_PAN
DEFAULT_KEY
In the router case it is joined to the network ( Becon request -- Association request ---- Short address assignment and new device announcement)
In the END device case it is going only till Short address assignment, new device announcement is not sent.
I have attached the sniffer file of both the case.
And by default in stack BDB_NETWORK_STEERING_CAPABILITY_ENABLED is set to 1 in bdb.h file
Are you sure that the router SampleLight is actually joining the coordinator network and not forming its own distributed network? -- How to verify this? sniffer shows that the router node is also broadcasting network.
Please guide me in joining the END device to coordinator. (I am using old stack coordinator where permit join is enabled -- i have a rasberry pi uart interface to the coordinator which will control and maintain the coordinator)
awaiting for your reply
Regards,
Avinash
end_device_with_coordinator.psdattaching the sniffer file for the above post.
Hi Avinash,
I used Z-Tool v2.0.6 to set up the Z-Stack 3.0.1 ZNP project for a Zigbee network using YK's blog: sunmaysky.blogspot.tw/.../use-ztool-z-stack-30-znp-to-set-up.html
After commissioning network steering I was able to have the Z-Stack 3.0.1 SampleLight project device join the network without any issues. This was accomplished using CC2538EMKs on SMARTRF06EBK boards so I will retry once I have some CC2530EMK units next week.
Edit: not receiving any issues with the CC2530EMKs either.
Regards,
Ryan