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

#include <IBluetoothController.h>

Public Types

enum  Type : uint8_t { UUID_16 = 0 , UUID_128 = 1 }

Public Member Functions

bool operator== (const BleUuid &other) const

Static Public Member Functions

static BleUuid from16 (uint16_t v)
static BleUuid from128 (const uint8_t v[16])

Public Attributes

Type type
union { 
   uint16_t   u16 
   uint8_t   u128 [16] 
}; 

Detailed Description

Stack-independent BLE UUID (no NimBLE/Bluedroid dependency)

Definition at line 34 of file IBluetoothController.h.

Member Enumeration Documentation

◆ Type

enum cdc::hal::BleUuid::Type : uint8_t
Enumerator
UUID_16 
UUID_128 

Definition at line 35 of file IBluetoothController.h.

Member Function Documentation

◆ from128()

◆ from16()

BleUuid cdc::hal::BleUuid::from16 ( uint16_t v)
inlinestatic

Definition at line 42 of file IBluetoothController.h.

◆ operator==()

bool cdc::hal::BleUuid::operator== ( const BleUuid & other) const
inline

Definition at line 58 of file IBluetoothController.h.

Member Data Documentation

◆ [union]

union { ... } cdc::hal::BleUuid

◆ type

◆ u128

Definition at line 39 of file IBluetoothController.h.

◆ u16

Definition at line 38 of file IBluetoothController.h.


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