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.

CC2538 Z-Stack Smart Energy 1.1 error in Key Establishment

Other Parts Discussed in Thread: Z-STACK
Hello, 
I'm testing the ZigBee Smart Energy 1.1 stack  from Texas Instruments for use in enterprise solutions and I'm having problems with the key establishment.
I followed the documentation of Texas to use the test certificate from Certicom. The error occurs with message content "Ephemeral Data Request". The Ephemeral Data (QEU) shows a value different of the expected values for the CA Public Key, Private Key and certificate informed. 

Any suggestions how to solve this problem?

I'm using the library Ecc.a and the calculation of the value for QEU is different than expected. So the key establishment is not completed and no message exchange when the flag is set to SECURE = 1.

I thank you for the help, 
  • Hi Vanessa,

    Did you also get the live ECC library from Certicom? You can use either the test certificates included in Z-Stack or those you got from Certicom, but either way you must get the live ECC library directly from Certicom. The ecc.a included in the Z-Stack release is just a stub (without any actual operational functions).

    Best regards,

    OD

  • Thank you for your reply!

    I enabled the flags for safe mode (SECURE = 1, ... ZCL_KEY_ESTABLISHMENT). Thus the z-stack reads the file zcl_cert_data.c for key establishment. I haven't downloaded the ecc.a library from Certicom.

    Have another way to test the key establishment without downloading the library from Certicom? I refer to the use ecc.a already found in z-stack IT.

    Thank you very much,