espp/ble_gatt_server

0.21.0

uploaded 4 months ago
BLE GATT Server (NimBLE) component for ESP-IDF

readme

BLE GATT Server Component

The ble_gatt_server component provides a few different classes for implementing standard / common GATT server requirements, including the server itself, the Device Information Service, and the Battery Service.

Table of Contents

BLE Gatt Server

The BleGattServer implements the standard BLE GATT server which has various APIs for controlling the server and adding services. It automatically builds and adds standard battery service and device information service.

It is designed to be used with NimBLE host stack.

Battery Service

The BatteryService implements the standard BLE battery service, providing battery state information from a BLE peripheral to a BLE central.

It is designed to be used with NimBLE host stack.

Device Info Service

The DeviceInfoService implements the standard BLE device information service, providing device information from a BLE peripheral to a BLE central.

It is designed to be used with NimBLE host stack.

Generic Access Service

The GenericAccessService implements the required standard BLE Generic Access service, providing device information from a BLE peripheral to a BLE central.

It should be noted that as a developer, you are not required to use this service, as one is created for you automatically by the BLE stack.

I'm not really sure why I created this file, but I have so here we are.

Example

The example shows how to use the espp::BleGattServer class to create and manage a BLE GATT server.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/ble_gatt_server^0.21.0"

or download archive

Stats

  • Archive size
    Archive size ~ 30.93 KB
  • Downloaded in total
    Downloaded in total 4.5k times
  • Downloaded this version
    This version: 0 times

Badge

espp/ble_gatt_server version: 0.21.0
|