Sensorberg Smart Spaces SDK for Android / com.sensorberg.smartworkspace.sdk.model / IotUnit / debugGetBlueIdDetails

debugGetBlueIdDetails

fun debugGetBlueIdDetails(callback: (String?, String?, Int) -> Unit, onFail: (String) -> Unit): Unit

Debug mode only. Do not use this method for normal user operation. The callback parameters are (in order): hardware version, firmware version, battery status

This will connect 3 times with the Blue-Id device to acquire:

This operation can take up to 45 seconds and it doesn't do any preliminary checks. Instead it directly calls blue-id and catches any exception.

On success, the data will be send to the backend.