Back to project page BleSensorTag.
The source code is released under:
MIT License
If you think the Android project BleSensorTag listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package sample.ble.sensortag.ble; // w w w. j a va 2 s .c o m import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; /** * Implements callback methods for GATT events that the app cares about. * For example, connection change and services discovered. */ public interface BleExecutorListener { public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState); public void onServicesDiscovered(BluetoothGatt gatt, int status); public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status); public void onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic); }