subscribe

fun subscribe(characteristic: UUID, device: ConnectedDevice = MockConnectedDevice())

Simulates a connected central subscribing to characteristic. The characteristic must be a LocalCharacteristic.Notifiable.