sendSMPPayload

abstract suspend fun sendSMPPayload(device: BluetoothDevice, payload: ByteArray = ByteArray(0)): Boolean

Sends an SMP command to group 64 (custom group) for devices in DFU mode

Return

true if command was sent successfully, false otherwise

Parameters

device

The Bluetooth device to send the command to

payload

Optional payload data (can be empty for identify command)