Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private final BluetoothGattCallback mGattCallback = new BluetoothGattCallback() {
- @Override
- public void onConnectionStateChange(BluetoothGatt gatt, int status,
- int newState) {
- // TODO Auto-generated method stub
- String intentAction;
- if(newState == BluetoothProfile.STATE_CONNECTED) {
- intentAction = ACTION_GATT_CONNECTED;
- mConnectionState = STATE_CONNECTED;
- mBluetoothGatt.readRemoteRssi();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement