Android Code Does not scan BLE device CC2650

人走茶凉 提交于 2020-08-08 07:32:07

问题


I am working with the CC2650STK SensorTag.

I have downloaded this open source app from GitHub: https://github.com/googlesamples/android-BluetoothLeGatt

However, the app does not scan my BLE device and show on the list. If anyone can guide me or help me modify this code so that it can scan for my CC2650STK device.

Your help is appreciated


回答1:


Make sure that you set the following permissions:

ACCESS_COARSE_LOCATION

BLUETOOTH

BLUETOOTH_ADMIN

Hope this helps,




回答2:


Try to use SensorTag App source code provided by TI at https://git.ti.com/sensortag-20-android?OrderOnline=More+Info&TICOM_AUTHLEVEL=3&TICOM_VALIDATE_INPUT=1



来源:https://stackoverflow.com/questions/42216472/android-code-does-not-scan-ble-device-cc2650

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!