opentrace-community/opentrace-android

Can not get txPower value

Closed this issue · 3 comments

I tried to get txPower in onScanResult(callbackType: Int, result: ScanResult?) callback but the value alway is TX_POWER_NOT_PRESENT (127)

May I do anything in wrong way?

@GianhTran : this error might related to your device. can you try another device and see how is the outcome?

I think so, but I tried some device with android 10, 9 and get the same result, can you guy get the txPower ? @alexissinglaire a

@GianhTran : i can get the value so far. the error TX_POWER_NOT_PRESENT (127) you encountered is quite common, especially for android. therefore i cannot say the error is due to this application.