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.

加密通讯问题

Other Parts Discussed in Thread: Z-STACK

协调器和单一终端通讯,终端工作在低功耗模式

配置如下:

zgPreConfigKeys = TRUE

加密:SECURE=1 ,ZG_SECURE_DYNAMIC=1;

不能入网了终端,ZG_SECURE_DYNAMIC=0也试过还是不能通讯,终端入网过后立即就退网了,不晓得怎么回事

在这个osal_memcpy( zgPreConfigKey, defaultKey, SEC_KEY_LEN );加入断点,主机的defaultKey和终端的defaultKey,都是一样的

  status = osal_nv_item_init( ZCD_NV_PRECFGKEY, SEC_KEY_LEN, zgPreConfigKey );运行过后返回status 的值是0x09