Bluetooth connection context

Data related to a Bluetooth® connection can be stored in a Bluetooth connection context. You can use this library with Bluetooth Low Energy (LE) services that require the connection context to support multilink functionality for the GATT server role.

Each instance of the library can store the contexts for a configurable number of Bluetooth connections (see Connection Management in the Zephyr documentation).

The GATT Human Interface Device (HID) Service shows how to use this library.

API documentation

Header file: include/bluetooth/conn_ctx.h
Source file: subsys/bluetooth/conn_ctx.c
Bluetooth connection context library API