问题
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