ConnectionProvider
Provides a connection parameters.
MTU and connection state is shared between many components. To avoid propagating those values changes to all of the components, the ConnectionProvider is shared in a constructor.
Properties
Link copied to clipboard
Link copied to clipboard
Returns last GattConnectionState without it's status.
Link copied to clipboard
Returns last observed GattConnectionState with it's corresponding status BleGattConnectionStatus.
Link copied to clipboard
Returns whether a device is connected.
Functions
Link copied to clipboard
Calculates available size for write operation when a particular writeType is going to be used.