Skip to content

117 Finger Get (Fingerprint Acquisition) ​

The phone sends a command to get fingerprints to ssm_touch, ssm_touch responds with a successful command, and will then send fingerprint data to the phone.

Sequence Diagram ​

Phone Sending Data ​

Byte0
Dataitem code

item code : SSM_OS3_FINGERPRINT_GET (117)

ssm_touch Response Content ​

Byte210
Dataresitem_codetype
ExplanationCommand processing statusCommand numberPush type

type : SSM2_OP_CODE_RESPONSE (0x07)

item code : SSM_OS3_FINGERPRINT_GET (117)

res : CMD_RESULT_SUCCESS (0x00)

iOS, Android, ESP32 Examples ​

Android Example ​

jsx
    override fun fingerPrints(result: CHResult<CHEmpty>) {
        if (checkBle(result)) return
        sendCommand(SesameOS3Payload(SesameItemCode.SSM_OS3_FINGERPRINT_GET.value, byteArrayOf())) { res ->
            result.invoke(Result.success(CHResultState.CHResultStateBLE(CHEmpty())))
        }
    }

iOS Example ​

jsx
    func fingerPrints( result: @escaping (CHResult<CHEmpty>)) {
        if (self.checkBle(result)) { return }
        sendCommand(.init(.SSM_OS3_FINGERPRINT_GET)) { _ in
            result(.success(CHResultStateNetworks(input: CHEmpty())))
        }
    }

ESP Example ​

jsx