@Override
        public void onServicesDiscovered(final BluetoothGatt gatt, final int status) {
            if (status == BluetoothGatt.GATT_SUCCESS) {
                broadcastUpdate(ACTION_GATT_SERVICES_DISCOVERED);
            } else {
                Log.w(TAG, "onServicesDiscovered received: " + status);
            }
        }
Service for managing connection and data communication with a GATT server hosted on a
given Bluetooth LE device.
sample_app/src/main/java/uk/co/alt236/btlescan/services/BluetoothLeService.java