parse

open fun parse(error: Int): String

Converts the bluetooth communication status given by other BluetoothGattCallbacks to error name. It also parses the DFU errors.

Return

the error name as stated in the gatt_api.h file

Parameters

error

the status number