安卓BLE扫描

Jro*_*Jro 1 java android bluetooth-lowenergy

O/S Android 11。我开发了一个带有 BLE 扫描的应用程序。它不与 BLE 设备进行任何连接。它只是获取附近设备的列表。应用程序运行良好。每次停止和启动扫描时,我都可以在 Logcat 中看到以下错误。谁能告诉我出了什么问题吗?

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 
Run Code Online (Sandbox Code Playgroud)

dav*_*ung 7

问题中的两行日志:

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

不指示任何错误。它们表明运行正常。

这些日志行特定于三星设备。它们表明 applicationId 为 com.ttt.ttt.vctap 的 Android 应用程序已开始 BLE 扫描(第一行)。第二条日志行表明扫描已停止。