Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99
bt_gatt_service_static Struct Reference

Static GATT Service structure. More...

#include <zephyr/bluetooth/gatt.h>

Data Fields

const struct bt_gatt_attrattrs
 Service Attributes.
size_t attr_count
 Service Attribute count.

Detailed Description

Static GATT Service structure.

Allows the user the declare static GATT Services with the aim of reducing the used RAM. The BT_GATT_SERVICE_DEFINE macro can be used to statically define and register a service.

Field Documentation

◆ attr_count

size_t bt_gatt_service_static::attr_count

Service Attribute count.

◆ attrs

const struct bt_gatt_attr* bt_gatt_service_static::attrs

Service Attributes.


The documentation for this struct was generated from the following file: