identifyDevice

suspend fun identifyDevice(deviceId: UInt, payload: ByteArray): Boolean

Sends an identify command to the device. If device is in DFU mode, uses SMP group 64 via DFUService. Otherwise, uses OOB characteristic via proxy.

Return

true if command was queued/sent successfully

Parameters

deviceId

The device ID to identify

payload

The identify OOB payload