R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_advdata_t Struct Reference

ble_advdata_t Struct Reference
[Advertising and Scan Response Data Encoder]

Advertising data structure. More...

#include <ble_advdata.h>

Data Fields

ble_advdata_name_type_t name_type
 Type of device name.
uint8_t short_name_len
 Length of short device name (if short type is specified).
bool include_appearance
 Determines if Appearance shall be included.
uint8_t flags
 Advertising data Flags field.
int8_t * p_tx_power_level
 TX Power Level field.
ble_advdata_uuid_list_t uuids_more_available
 List of UUIDs in the 'More Available' list.
ble_advdata_uuid_list_t uuids_complete
 List of UUIDs in the 'Complete' list.
ble_advdata_uuid_list_t uuids_solicited
 List of solicited UUIDs.
ble_advdata_conn_int_tp_slave_conn_int
 Slave Connection Interval Range.
ble_advdata_manuf_data_tp_manuf_specific_data
 Manufacturer specific data.
ble_advdata_service_data_tp_service_data_array
 Array of Service data structures.
uint8_t service_data_count
 Number of Service data structures.
bool include_ble_device_addr
 Determines if LE Bluetooth Device Address shall be included.
ble_advdata_le_role_t le_role
 LE Role field.
ble_advdata_tk_value_tp_tk_value
 Security Manager TK value field.
uint8_t * p_sec_mgr_oob_flags
 Security Manager Out Of Band Flags field.

Detailed Description

Advertising data structure.

This structure contains all options and data needed for encoding and setting the advertising data.

Definition at line 151 of file ble_advdata.h.


Field Documentation

uint8_t flags

Advertising data Flags field.

Definition at line 156 of file ble_advdata.h.

Determines if Appearance shall be included.

Definition at line 155 of file ble_advdata.h.

Determines if LE Bluetooth Device Address shall be included.

Definition at line 165 of file ble_advdata.h.

LE Role field.

Included when different from BLE_ADVDATA_ROLE_NOT_PRESENT.

Definition at line 166 of file ble_advdata.h.

Type of device name.

Definition at line 153 of file ble_advdata.h.

Manufacturer specific data.

Definition at line 162 of file ble_advdata.h.

Security Manager Out Of Band Flags field.

Included when different from NULL.

Definition at line 168 of file ble_advdata.h.

Array of Service data structures.

Definition at line 163 of file ble_advdata.h.

Slave Connection Interval Range.

Definition at line 161 of file ble_advdata.h.

Security Manager TK value field.

Included when different from NULL.

Definition at line 167 of file ble_advdata.h.

TX Power Level field.

Definition at line 157 of file ble_advdata.h.

Number of Service data structures.

Definition at line 164 of file ble_advdata.h.

uint8_t short_name_len

Length of short device name (if short type is specified).

Definition at line 154 of file ble_advdata.h.

List of UUIDs in the 'Complete' list.

Definition at line 159 of file ble_advdata.h.

List of UUIDs in the 'More Available' list.

Definition at line 158 of file ble_advdata.h.

List of solicited UUIDs.

Definition at line 160 of file ble_advdata.h.