Back to Esp Idf

Bluetooth® Classic L2CAP API

docs/en/api-reference/bluetooth/esp_l2cap_bt.rst

6.1-dev851 B
Original Source

Bluetooth® Classic L2CAP API

Overview

Bluetooth Classic L2CAP (Logical Link Control and Adaptation Layer Protocol) API provides functions for data transmission between Bluetooth devices. It supports both client and server roles, allowing the creation of L2CAP connections for reliable, high-throughput communication.

Application Examples

  • :example:bluetooth/bluedroid/classic_bt/bt_l2cap_server demonstrates how to use Logical Link Control and Adaptation Layer Protocol (L2CAP) APIs to create an L2CAP server, and wait to be discovered and connected by a remote device L2CAP client.

  • :example:bluetooth/bluedroid/classic_bt/bt_l2cap_client demonstrates how to use L2CAP APIs to create an L2CAP client.

API Reference

.. include-build-file:: inc/esp_l2cap_bt_api.inc