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.

zstack中自带的加密是什么加密算法

Other Parts Discussed in Thread: AES-128

-DSECURE=1;

uint8 zgPreConfigKeys = TRUE;

nwk_global.c中的key也有;

 

实现了加密

本来没加密时,抓包aps payload为29位

但加密后,抓包aps payload为47位

 

后来我没有用他自带的加密,我自己在APS层加入一个AES-128加密,抓包得到的是32位,因为AES必须要16位16位加密,不然会有乱码。

 

我的问题是zstack自带的加密为什么aps payload变长了,他用的是什么加密算法