MultiService
A class representing a multiservice GATT profile.
This is intended for profiles that have multiple GATT services, i.e. Proximity Profile.
Note, the prepare method may be called with a list of services containing multiple instances of the same service if returned by the service discovery. For example, if a device has multiple batteries, it may expose their level with a Battery Service for each of them.
See Profile for a full worked example (ProximityProfile).
Parameters
A list of UUIDs of required profile GATT services.
A list of UUIDs of optional profile GATT services.
The name of the profile. This is for convenience, used only in logging.
Constructors
Properties
Functions
Notifies the profile implementation that service discovery has failed.
This method should initialize the profile.
Validates and prepares the services to be used in initialize.
Notifies the profile implementation, that the peripheral does not support the required profile services.