Skip to content

1 Register (register device) ​

Registering is the action of pairing the APP with Sesame5. Only paired APPs can control the Sesame5.

Details regarding the encryption implementation can be found in security layer.

Sequence diagram of Sesame(APP) registering with Sesame5 ​

Activity diagram of Sesame(APP) registering with Sesame5 ​

Mobile sends data ​

Byte68 ~ 6564 ~ 10
DataMobile timestamppublicKeyAitem_code

Sesame5 returns data (already registered) ​

Byte210
Dataresitem_codetype
DescriptionCommand processing statusInstruction numberPush type

type: SSM2_OP_CODE_RESPONSE (0x07)

item code: SSM2_ITEM_CODE_LOGIN (1)

res: CMD_RESULT_INVALID_ACTION (0x09)

Sesame5 returns data (unregistered) ​

ByteN ~ 3210
Datapayloadresitem_codetype
DescriptionData sent to the mobileCommand processing statusInstruction numberPush type

type: SSM2_OP_CODE_RESPONSE (0x07)

item code: SSM2_ITEM_CODE_LOGIN (1)

res: CMD_RESULT_SUCCESS (0x00)

payload: See the table below for details

Payload ​

Byte76 ~ 1312 ~ 76 ~ 0
DatapublicKeySmechSettingmechStatus

iOS, Android, ESP32 example ​