Category : bluetooth-lowenergy

I try to connect my Android phone to a BLE device (Bluefruit Feather 32u4 board), but I get immediately disconnected in the onServicesDiscovered() function in the Gatt Callback. I successfully connect to the device in the onConnectionStateChange() method so I call onServicesDiscovered() and then get disconnected. Any idea why? I’d be grateful for any ideas. ..

Read more

I have an access system based on BLE controllers and a cloud service. We’re going to implement the "hands-free" mode for getting access to the restricted area. It means: user don’t need to get a smartphone to enable the access (it should work the whole work day) the smartphone should scan/find BLE controllers in the ..

Read more

I am new to android studio and am able to receive the following data in Logcat but now need to be able to see that data in the app. How am I able to change this code to do that? @Override public void onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) { super.onCharacteristicChanged(gatt, characteristic); byte[] value = characteristic.getValue(); Log.i(“BLE”, ..

Read more