beautypg.com

SENA ProBee-ZE20S-SEME User Manual

Page 29

background image

ProBee-ZE20S-SExx User Guide Rev 1.8

29

Copy that value and input to ZE20S node by AT+PUBLICKEY command:

AT+PUBLICKEY=0200fde8a7f3d1084224962a4e7c54e69ac3f04da6b803b546c41cad5b6c44071
44149362c478f844b0d6d

# Input CA Pub Key (22 byte) + Device Private Key (21 byte)

CBKE DATA TOKEN IS EMPTY

DEVICE IMPLICIT CERT(BUFFER):
03022CD8B45F0F21676E4184470D34C3626FC10485741122334455667788544553545345434111
223344556677889900

CA PUBLIC KEY & DEVICE PRIVATE KEY(BUFFER):
0200fde8a7f3d1084224962a4e7c54e69ac3f04da6b803b546c41cad5b6c4407144149362c478f
844b0d6d

OK

# Response

10. Lock the CBKE Data Token by AT+SETCBKEKEY.

Example)

AT+SETCBKEKEY

CBKE DATA TOKEN IS LOCKED

# CBKE Data Token is locked now

DEVICE IMPLICIT CERT:
03022CD8B45F0F21676E4184470D34C3626FC10485741122334455667788544553545345434111
223344556677889900

CA PUBLIC KEY & DEVICE PRIVATE KEY:
0200fde8a7f3d1084224962a4e7c54e69ac3f04da6b803b546c41cad5b6c4407144149362c478f
844b0d6d

Once you lock CBKE Data Token, you cannot change CBKE Data Token again.

You can check if it is good or bad by AT+INFO.

Example) Good CBKE Data Token

AT+INFO

Security Level: 05, Security Profile: SE Full

SE Security Info: RealEcc, RealCbke, GoodCert

# Good CBKE Data Token

End-point count: 1

Under following situations, you can see ‘BadCert’ message in the result of AT+INFO.

Input invalid Device Implicit Cert value at AT+IMPLICIT

Input invalid CA Pub Key + Device private key value at AT+PUBLICKEY

CBKE Data Token value is not generated with MAC address of current node