Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Implement connection parameter update mechanisms #84

Open
jonas-schievink opened this issue Oct 10, 2019 · 0 comments
Open

Implement connection parameter update mechanisms #84

jonas-schievink opened this issue Oct 10, 2019 · 0 comments
Labels
area: L2CAP Code Area: Logical Link Control and Adaptation Protocol area: link layer Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc) status: needs code An implementation or a bugfix need to be written type: enhancement A new feature or an improvement for an existing one

Comments

@jonas-schievink
Copy link
Owner

There are 3 mechanisms for the slave to request specific connection parameters:

  • Link Layer Connection Parameters Request Procedure
    • Requires support for LLCPDUs LL_REJECT_IND_EXT, LL_CONNECTION_PARAM_REQ, LL_CONNECTION_PARAM_RSP
    • Optional feature: Must indicate support by setting feature flags for EXTENDED_REJECT_INDICATION and CONN_PARAM_REQ
  • L2CAP Signaling Connection Parameters Request Procedure
    • Simpler version of the above
    • Mandatory
  • GAP Characteristic Peripheral Preferred Connection Parameters

I've started to prototype the LLCP procedure, but it's not very simple to do.

Since we'll have to implement the mandatory L2CAP signaling channel and the GAP service anyways, I think going for the L2CAP solution is simplest (and results in the least code bloat).

cc @perlindgren

@jonas-schievink jonas-schievink added type: enhancement A new feature or an improvement for an existing one area: L2CAP Code Area: Logical Link Control and Adaptation Protocol status: needs code An implementation or a bugfix need to be written area: link layer Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc) labels Oct 10, 2019
@jonas-schievink jonas-schievink self-assigned this Oct 10, 2019
@jonas-schievink jonas-schievink removed their assignment May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: L2CAP Code Area: Logical Link Control and Adaptation Protocol area: link layer Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc) status: needs code An implementation or a bugfix need to be written type: enhancement A new feature or an improvement for an existing one
Projects
None yet
Development

No branches or pull requests

1 participant