opentrace-community / opentrace-android

OpenTrace Android app. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
577 stars 225 forks source link

Can not get txPower value #45

Closed GianhTran closed 4 years ago

GianhTran commented 4 years ago

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?

alexissinglaire commented 4 years ago

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

GianhTran commented 4 years ago

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

alexissinglaire commented 4 years ago

@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.