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

One characteristic of a plugin GATT service (peripheral role). More...

#include <host_api.h>

Public Attributes

uint8_t uuid [16]
uint8_t properties
uint8_t reserved [3]
uint32_t write_action_id
uint32_t char_handle

Detailed Description

One characteristic of a plugin GATT service (peripheral role).

Definition at line 480 of file host_api.h.

Member Data Documentation

◆ char_handle

uint32_t ble_char_def_t::char_handle

OUT: handle for notify / indicate / consume_write.

Definition at line 485 of file host_api.h.

Referenced by host_ble_register_service().

◆ properties

uint8_t ble_char_def_t::properties

BLE_PROP_* bitmask.

Definition at line 482 of file host_api.h.

Referenced by host_ble_register_service().

◆ reserved

uint8_t ble_char_def_t::reserved[3]

Definition at line 483 of file host_api.h.

◆ uuid

uint8_t ble_char_def_t::uuid[16]

128-bit characteristic UUID.

Definition at line 481 of file host_api.h.

◆ write_action_id

uint32_t ble_char_def_t::write_action_id

Action fired on each inbound write (0 = none).

Definition at line 484 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