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.

Device associate, but does not responds

Other Parts Discussed in Thread: Z-STACK, CC2530

Hi all,

I am trying to configure CC2531DK_Dongle as Home Automation Coordinator. I have some problems with Wulian HA devices (version 01). They associate, but don’t send ZDO_DEVICE_ANNCE and never respond to commands like ZDO_SIMPLE_DESC_REQ, ZDO_ACTIVE_EP_REQ, ZDO_MATCH_DESC_REQ and etc.

Firmware’s that I was checked:

1. C:\Texas Instruments\Z-Stack Home 1.1.0\Projects\zstack\ZAP\ZNP-HexFiles\CC2531ZNP-Pro-Secure_Standard.hex

2. C:\Texas Instruments\Z-Stack Home 1.1.0\Projects\zstack\ZAP\ZNP-HexFiles\CC2531ZNP-Pro-Secure_LinkKeyJoin.hex

3. C:\Texas Instruments\Z-Stack Home 1.1.0\Projects\zstack\ZAP\ZNP-HexFiles\ CC2531ZNP-Pro.hex

4. Firmware compiled by myself C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\ZNP\CC253x with options:

 

-DSECURE=1 in f8wConfig.cfg

uint8 zgUseDefaultTCLK = TRUE; in zGlobals.c

uint8 zgPreConfigKeys = FALSE; in zGlobals.c

#define DEFAULT_TC_LINK_KEY { 0x5a, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6c,\

                                0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x30, 0x39 } in nwk_globals.h

 

I try with different C/C++ Compiler preprocessor options. For example:

CC2531ZNP

POWER_SAVING

ASSERT_RESET

MT_SYS_OSAL_NV_READ_CERTIFICATE_DATA=TRUE

MT_SYS_KEY_MANAGEMENT

xZCL_KEY_ESTABLISH

TC_LINKKEY_JOIN

SECURE=1

 

CC2531ZNP

POWER_SAVING

xASSERT_RESET

xMT_SYS_OSAL_NV_READ_CERTIFICATE_DATA=TRUE

xMT_SYS_KEY_MANAGEMENT

xZCL_KEY_ESTABLISH

TC_LINKKEY_JOIN

SECURE=1

 

 

CC2531ZNP

POWER_SAVING

xASSERT_RESET

xMT_SYS_OSAL_NV_READ_CERTIFICATE_DATA=TRUE

xMT_SYS_KEY_MANAGEMENT

xZCL_KEY_ESTABLISH

TC_LINKKEY_JOIN

SECURE=0

 

I have HeatSave valves and don’t have the problems with them. There are no issues in communication with CC2530 configured as an end-device, also.

 

Which firmware or which options I should use in order to be able to communicate with Wulian devices?