Guest User

Untitled

a guest
Jun 26th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. private final BluetoothGattCallback mGattCallback = new BluetoothGattCallback() {
  2. @Override
  3. public void onConnectionStateChange(BluetoothGatt gatt, int status,
  4. int newState) {
  5. // TODO Auto-generated method stub
  6. String intentAction;
  7. if(newState == BluetoothProfile.STATE_CONNECTED) {
  8. intentAction = ACTION_GATT_CONNECTED;
  9. mConnectionState = STATE_CONNECTED;
  10. mBluetoothGatt.readRemoteRssi();
Advertisement
Add Comment
Please, Sign In to add comment