Bluetooth Low Energy Stack Abstraction Data Structures Type Documentation
GAPM_ActivityStatus_t
Location: ble_gap.h:137
Data Fields
Type | Name | Description |
---|---|---|
uint8_t |
Activity identifier. |
|
enum gapm_actv_type |
GAPM activity type. |
|
enum gapm_activity_state |
GAPM activity state. |
|
bool |
True if advertisement data is set. |
|
bool |
True if scan response data is set. |
GAP_Env_t
Location: ble_gap.h:149
Data Fields
Type | Name | Description |
---|---|---|
enum gapm_state |
State of GAPM. |
|
uint16_t |
of standard BLE profile added |
|
struct gapm_set_dev_config_cmd |
Device configuration for GAPM_SET_DEV_CONFIG. |
|
struct gapc_connection_req_ind |
GAPC_CONNECTION_REQ_IND information of connections. |
|
Bond information of connections. |
||
GAPM activity status of activities. |
||
uint16_t |
Task IDs for added profiles. |
att_db_desc
Location: ble_gatt.h:151
Data Fields
cust_svc_desc
Location: ble_gatt.h:170
Data Fields
Type | Name | Description |
---|---|---|
uint16_t |
Start handle array of custom services in the stack's attribute database. |
|
const struct att_db_desc * |
Custom services attribute database. |
|
uint16_t |
Custom service attribute database length. |
GATT_Env_t
Location: ble_gatt.h:181
Data Fields
Type | Name | Description |
---|---|---|
uint16_t |
Counter of successfully added custom service/s in stack. |
|
uint16_t * |
Counter of discovered service/s per connection id. |
|
Custom service database array. |
||
uint16_t |
Maximum number of custom services. |
|
const struct att_db_desc * |
Attribute database specific to related custom service. |
|
uint16_t |
Length of attribute database specific to related custom service. |
low_power_clock
Location: ble_protocol_support.h:46
Data Fields
Type | Name | Description |
---|---|---|
uint8_t |
Value of LPCLK_SRC_XTAL32 from application. |
|
uint8_t |
Value of LPCLK_SRC_RC32 from application. |
|
uint8_t |
Value of LPCLK_STANDBYCLK_SRC from application. |
ble_device_parameter
Location: ble_protocol_support.h:56
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
Low power clock accuracy in ppm. |
|
uint32_t |
TWOSC us. |
|
uint32_t |
The default TX power in dbm. |
|
struct low_power_clock |
Low power clock selection. |
BASC_Env_t
Location: ble_basc.h:36
Data Fields
Type | Name | Description |
---|---|---|
struct gapm_profile_added_ind |
Profile service handle. |
|
uint32_t |
Timeout for periodic battery level request. |
|
uint8_t |
Number of battery instances [1,BASC_NB_BAS_INSTANCES_MAX]. |
|
bool |
The flag that indicates that service has been enabled. |
|
uint8_t |
Battery level characteristic value. |
|
uint8_t |
Notification configuration. |
|
uint8_t |
Control notification is required or not. |
|
struct prf_char_pres_fmt |
Battery level characteristic presentation format descriptor value structure |
|
struct bas_content |
Battery service content structure. |
BASS_Env_t
Location: ble_bass.h:37
Data Fields
Type | Name | Description |
---|---|---|
uint8_t |
Number of battery instances [1,BASS_NB_BAS_INSTANCES_MAX]. |
|
uint8_t |
The current value of CCCD of battery value that has been set by the client device. |
|
bool |
The flag that indicates that service has been enabled. |
|
uint32_t |
Timeout value for sending batter level notification. |
|
bool |
Flag that tells whether the timer for battery level notification is enabled or not. |
|
uint32_t |
Timeout value for battery level monitoring. |
|
bool |
Flag that tells whether the timer for monitoring battery level is enabled or not. |
|
uint8_t |
Most recent value of battery level. |
|
uint8_t(* |
Pointer to an application function that returns the battery level. |
|
struct gapm_profile_added_ind |
Profile service handle. |
DISS_DeviceInfoField_t
Location: ble_diss.h:37
Data Fields
Type | Name | Description |
---|---|---|
uint8_t |
Length of data. |
|
uint8_t * |
Pointer to data. |
DISS_DeviceInfo_t
Location: ble_diss.h:46
Data Fields
Type | Name | Description |
---|---|---|
struct DISS_DeviceInfoField_t |
Manufacturer name characteristic. |
|
struct DISS_DeviceInfoField_t |
Model number string characteristic. |
|
struct DISS_DeviceInfoField_t |
Serial number string characteristic. |
|
struct DISS_DeviceInfoField_t |
Firmware revision string characteristic. |
|
struct DISS_DeviceInfoField_t |
System ID characteristic. |
|
struct DISS_DeviceInfoField_t |
Hardware revision string characteristic. |
|
struct DISS_DeviceInfoField_t |
Software revision string characteristic. |
|
struct DISS_DeviceInfoField_t |
IEEE 11073-20601 regulatory certification data characteristic. |
|
struct DISS_DeviceInfoField_t |
PnP ID characteristic. |
DISS_Env_t
Location: ble_diss.h:63
Data Fields
Type | Name | Description |
---|---|---|
uint16_t |
DISS features that will be enabled. See diss_task.h for reference
|
|
bool |
The flag that indicates that service has been added. |
|
const struct DISS_DeviceInfo_t * |
DISS device information compilation structure arm. |