SENA ProBee-ZE20S-SEME User Manual

Page 59

Advertising
background image

ProBee-ZE20S-SExx User Guide Rev 1.8

59

5.4.6

Key Establishment Process

To complete security authentication, use AT+CBKESTART and AT+CBKEPARTNER command.

Use AT+CBKESTART for Trust Center(coordinator)↔end-device Key Establishment.

Use AT+CBKEPARTNER for Partner Key Exchange between nodes other than Trust Center.

Example) Initiate Key Establishment from ProBeeSEID(end-device) to ProBeeSESI(coordinator)

#Screen of ProBeeSEID(end-device)

AT+DEST=0000,01

# Set destination node to coordinator(0x0000),

# End-point is 0x01

DESTINATION ADDRESS: 0x0000, END POINT: 0x01

OK

AT+CBKESTART

CBKE DEST: 0x0000, EP: 0x01, RESULT: 0x00

OK

+0000|SE_INIT_CBKE_RESPONSE

+0000|SE_EPHEMERAL_DATA_RESPONSE

+0000|SE_CONFIRM_KEY_DATA_RESPONSE

Then ProBeeSESI(coordinator) node receives following messages:

#Screen of ProBeeSESI(coordinator)

+CEDF|SE_INIT_CBKE_REQUEST

# +CEDF is short address of end-device,

+CEDF|SE_EPHEMERAL_DATA_REQUEST

# it can be shown differently

+CEDF|SE_CONFIRM_KEY_DATA_REQUEST

# in your screen

+CEDF|SE_GLOBAL_COMMAND|0800|0B

Key Table of ProBeeSESI is changed as follows:

#Screen of ProBeeSESI(coordinator)

AT+KEYTABLE

NETWORK KEY: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

LINK KEY TABLE

#|IEEE_ADDRESS |TYPE|AUTH|KEY

0|000195AABBCC0001|LINK|YES |C9AF9B248454840FDD80AAFBBAA4028F

1|000195AABBCC0002|LINK|NO |41618FC0C83B0E14A589954B16E31466

# Key Table No.0 is changed

# AUTH(Authentication) is changed NO to YES

Advertising