pabigot  0.1.1
C++ support classes
Namespaces | Data Structures | Typedefs
pabigot::ble Namespace Reference

Various helpers for Bluetooth Low Energy activities. More...

Namespaces

 gap
 Bluetooth Low Energy General Access Profile material.
 

Data Structures

class  uuid128_type
 Basic holder for 128-bit UUIDs stored as a little-endian byte sequence. More...
 
class  uuid16_type
 16-bit UUID type stored as a little-endian byte sequence. More...
 
class  uuid32_type
 32-bit UUID type stored as a little-endian byte sequence. More...
 

Typedefs

using clk1_type = details::clk_type< 1 >
 A duration type that measures in 625 us ticks. More...
 
using clk2_type = details::clk_type< 2 >
 A duration type that measures in 1.25 ms ticks. More...
 
using clk5_type = details::clk_type< 5 >
 A duration type that measures in 10 ms ticks. More...
 

Detailed Description

Various helpers for Bluetooth Low Energy activities.

Note
This material in this namespace supports both both Nordic Soft Device APIs and Bluez. Without full C++ support some features are absent.

Typedef Documentation

◆ clk1_type

A duration type that measures in 625 us ticks.

This is the duration of the Bluetooth piconet physical channel time slot, or CLK_1 of the 3.2 kHz Bluetooth clock.

Intervals such as the minimum and maximum advertising interval in the HCI LE_Set_Advertising_Parameters command are measured in this duration.

◆ clk2_type

A duration type that measures in 1.25 ms ticks.

This is the duration of CLK_2 of the 3.2 kHz Bluetooth clock.

Intervals such as the minimum and maximum connection interval in the GAP Peripheral Preferred Connection Parameters (PPCP) characteristic are measured in this duration.

◆ clk5_type

A duration type that measures in 10 ms ticks.

This is the duration of CLK_5 of the 3.2 kHz Bluetooth clock.

Intervals such as the connection superviser timeout in the GAP Peripheral Preferred Connection Parameters (PPCP) characteristic are measured in this duration.