discoverAllServicesAndCharacteristics method

Future<void> discoverAllServicesAndCharacteristics({
  1. String? transactionId,
})

Discovers all Services, Characteristics and Descriptors of this peripheral. Must be done prior to any other operation concerning those.

Optional transactionId could be used to cancel operation.

Implementation

Future<void> discoverAllServicesAndCharacteristics({String? transactionId}) =>
    _manager.discoverAllServicesAndCharacteristics(
        this, transactionId ?? TransactionIdGenerator.getNextId());