parseConnectionError

open fun parseConnectionError(error: Int): String

Converts the connection status given by the onConnectionStateChange to error name.

Return

the error name as stated in the gatt_api.h file

Parameters

error

the status number