Jro
Jro

Reputation: 476

Android BLE scanning

O/S Android 11. I have developed an application with BLE scanning. It does not do any connection to BLE devices. It just get list of near by devices. App works fine. I can see following error registered in the Logcat each time I stop and start the scan. Can any one please tell me what is wrong.

E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_START, appName: com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0
E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_STOP, appName:com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0 

Upvotes: 1

Views: 2623

Answers (2)

Shubham Kumar Gupta
Shubham Kumar Gupta

Reputation: 1147

Try these, after doing this I managed it to work (not everytime but yes)

Steps:

  • Bluetooth data clear from system app

  • Reset Bluetooth data (network settings)

https://youtu.be/eGNKTeS_iDg

Upvotes: 0

davidgyoung
davidgyoung

Reputation: 64916

The two log lines in the question:

E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_START, appName: com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0

E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_STOP, appName:com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0

do not indicate any error. They indicate normal operation.

These log lines are specific to Samsung devices. They indicate that the Android app with applicationId com.ttt.ttt.vctap has started a BLE scan (first line). The second log line indicates that the scan has been stopped.

Upvotes: 8

Related Questions