fun subscribe(peer: BitGattPeer, serviceUuid: UUID, characteristicUUID: UUID, isIndication: Boolean = false): Completable
Subscribe to given characteristic hosted on remote device
serviceUuid
- GATT service hosting the characteristic to subscribe to
characteristicUUID
- GATT characteristic to subscribe to
isIndication
- whether the notification type is indication (by default, it's set to notification)
GattServiceNotFoundException
- if given service is not found