Skip to content

feat(gap): add ConnectionLatency in ConnectionParams#422

Open
acouvreur wants to merge 1 commit intotinygo-org:devfrom
acouvreur:add-connection-latency
Open

feat(gap): add ConnectionLatency in ConnectionParams#422
acouvreur wants to merge 1 commit intotinygo-org:devfrom
acouvreur:add-connection-latency

Conversation

@acouvreur
Copy link

@acouvreur acouvreur commented Mar 17, 2026

These settings are alternatives for platforms that do not support settings the MinInterval and MaxInterval directly.

I will follow up with a pull request adding support for Windows.
Edit: here is the follow up pull request: #423

The current enumeration is heavily inspired from https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerconnectionlatency

However, we could also use the enumeration from windows:

  • ThroughputOptimized
  • Balanced
  • PowerOptimized

What do you think @deadprogram ?

These settings are alternatives for platforms that do not support settings the MinInterval and MaxInterval directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant