Skip to content

CoreBluetooth writeWithoutResponse flow control with peripheralIsReady(toSendWriteWithoutResponse:) #10

@Linqa2

Description

@Linqa2

CBPeripheral.writeValue(_:type: .withoutResponse) requires explicit flow control to avoid overfilling CoreBluetooth’s internal transmit buffer.

CoreBluetooth provides two related mechanisms for this:

  • CBPeripheral.canSendWriteWithoutResponse
  • peripheralIsReady(toSendWriteWithoutResponse:)

This issue tracks the absence of a flow-controlled, async-safe writeWithoutResponse mechanism that correctly accounts for CoreBluetooth readiness signaling via canSendWriteWithoutResponse and peripheralIsReady(toSendWriteWithoutResponse:).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions