FakeBleService
Properties
Optional suspend hook invoked after the attempt is counted and before writeException is evaluated, so it also runs for writes that then fail.
Characteristic-specific observe failures that occur before BleService.observe's onSubscription callback.
When non-null, observe returns a flow that immediately throws. Reset to null when observe() is called (before flow collection).
Characteristic-specific observe failures that occur when the returned flow is collected.
Characteristics whose 2-arg observe never invokes onSubscription. Notifications can still be emitted.
When non-null, read throws this exception instead of returning data. Reset to null before throwing (in the same call).
Counts every write invocation, including attempts that fail before they can be recorded in writes.
When non-null, write throws this exception on every call until explicitly cleared.
Functions
Overrides the 2-arg observe to prevent false subscriptionReady when testing pre-readiness failures.