CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
ble_service_def_t Struct Reference

A plugin GATT service definition (peripheral role). Always primary. More...

#include <host_api.h>

Public Attributes

uint8_t uuid [16]
uint8_t num_chars
uint8_t reserved [3]
uint32_t service_handle

Detailed Description

A plugin GATT service definition (peripheral role). Always primary.

Definition at line 489 of file host_api.h.

Member Data Documentation

◆ num_chars

uint8_t ble_service_def_t::num_chars

Number of entries in the chars array (1..6).

Definition at line 491 of file host_api.h.

◆ reserved

uint8_t ble_service_def_t::reserved[3]

Definition at line 492 of file host_api.h.

◆ service_handle

uint32_t ble_service_def_t::service_handle

OUT: handle for unregister.

Definition at line 493 of file host_api.h.

Referenced by host_ble_register_service().

◆ uuid

uint8_t ble_service_def_t::uuid[16]

128-bit primary service UUID.

Definition at line 490 of file host_api.h.

Referenced by host_ble_register_service().


The documentation for this struct was generated from the following file:
  • components/plugin_manager/include/plugin_manager/host_api.h