Skip to content

115 Finger Change (Fingerprint Update) ​

  1. ssm_touch adds a new fingerprint and proactively pushes the new fingerprint ID and name to the phone.
  2. The mobile phone sends the id and new name to ssm_touch. After ssm_touch returns the command received successfully, it modifies the fingerprint name and proactively pushes the new fingerprint ID and name to the mobile phone (names longer than 20 Bytes, only the first 20 Bytes are taken).

Sequence Diagram (Adding Fingerprint) ​

Sequence Diagram (Editing Fingerprint Name) ​

Mobile Sends Out Data ​

ByteN ~ 10
Datapayloaditem code

item code : SSM_OS3_FINGERPRINT_CHANGE (115)

payload : see the table below

payload ​

Byte(Finger Name Len + Finger ID Len + 1) ~ (Finger ID Len + 2)Finger ID Len + 1Finger ID Len ~ 10
DataFinger NameFinger Name LenFinger IDFinger ID Len

Example ​

id_len = 5

name_len = 4

Byte10 ~ 765 ~ 10
DataFinger NameFinger Name LenFinger IDFinger ID Len

ssm_touch Returns Content ​

Byte210
Dataresitem_codetype
ExplanationCommand processing stateInstruction numberPush Type

type : SSM2_OP_CODE_RESPONSE (0x07)

item code : SSM_OS3_FINGERPRINT_CHANGE (115)

res : CMD_RESULT_SUCCESS (0x00)

ssm_touch Pushes Content ​

ByteN ~ 210
Datapayloaditem_codetype
ExplanationData sent to the phoneInstruction numberPush Type

type : SSM2_OP_CODE_PUBLISH (0x08)

item code : SSM_OS3_FINGERPRINT_CHANGE (115)

payload : see the table below

payload ​

Byte(Finger Name Len + Finger ID Len + 1) ~ (Finger ID Len + 2)Finger ID Len + 1Finger ID Len ~ 10
DataFinger NameFinger Name LenFinger IDFinger ID Len

Example ​

id_len = 5

name_len = 4

Byte10 ~ 765 ~ 10
DataFinger NameFinger Name LenFinger IDFinger ID Len

iOS, Android, ESP32 Example ​