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.

CC2530 Unknown_Issuer error when connecting to Smart Energy coordinator

Other Parts Discussed in Thread: Z-STACK, CC2530

Hello,

I'm trying to create a ZigBeeend point device using a CC2530 and the last version of Z-Stack. I have the CC2530 connected to a MCU using serial port, so I cannot use the ZAP code.

I'm trying to create my own application layer, but before getting that far, I would like to get the device that I'm developing (one in home display fulfilling ZigBee SE 1.0) connected to a power meter from Echelon.

I'm using the default ZNP image built from the package "ZAP-MSP430-2.5.0". Using the file "CC2530ZNP-Pro-Secure_LinkKeyJoin.hex"

I have registered the default link key of the device in the power meter with the MAC address, so that end should be fine.

I got the device connected to the meter so the message "ZDO_STATE_CHANGE_IND" returns state 0x06 "DEV_END_DEVICE". The problem is that when I start the command: UTIL ZCL_KEY_EST_INIT_EST, the ZNP reply has status 1: UNKNOWN_ISSUER.

I tried adding the default ECC key with Z-Tools with the scripts that come with Z-Converter for end point. The process succeeds, but I get the same error when I try to connect again. My initialization commands and their attributes are:

SYS_RESET_REQ (Type = 0) Hard reset

ZB_WRITE_CONFIGURATION(ZCD_NV_LOGICAL_TYPE) = 2 (End device)

ZB_WRITE_CONFIGURATION(ZCD_NV_PAN_ID) = 0xFFFF (Any)

ZB_WRITE_CONFIGURATION(ZCD_NV_PAN_ID) = {0x00,0xF8,0xFF,0c07} (any channel. smaller byte first)

AF_REGISTER. Parameters:

End point = 0x09

AppProfID= 0x0109

AppDeviceID = 0x0502

AppDevVer = 1

LatencyReq = 0

AppNumInClusters = 7

AppNumOutClusters = 7

Cluster list (I used the same in both cases): 0x0000 (basic cluster), 0x0003 (Identify), 0x000A (time), 0x0700 (SE Price), 0x0703 (SE Messaging), 0x0702 (SE Simple metering), 0x0800 (SE Key establishment) .

ZDO_STARTUP_FROM_APP (Start delay = 0x1000)

Every comand sends the proper SREQ and I get the ZDO_STATE_CHANGE_IND showing state = 0x01, 0x02, 0x05, 0x06. And it remains stable in 0x06.

If I check the command ZB_GET_DEVICE_INFO all the values seem to be fine. I can see the MAC of the coordinator, and I have ashort adress in the network from the end point.

When I call UTIL ZCL_KEY_EST_INIT_EST, the ZNP reply has status 1: UNKNOWN_ISSUER.

Should I do something with the default key or ECC certificate? (I tried to write the proper NV positions with the certificate from the examples. Certicom hasn't provided a test certificate yet after couple of weeks waiting).

I need to read the instant power from the meter, but I'm unable to get the connection properly working.

Thanks in advance.

Victor Pau