fromCode

fun fromCode(code: Int): GattState

Returns the GattState for the given code

Return

The GattState for the given code

Parameters

code

The code to be converted