ESP-IDF
+
0
/34 examples
SourceVu will show references to
ble_hs_adv_fields
from the following samples and libraries:
blecent sample
blecsc sample
blehr sample
bleprph sample
bleprph_host_only sample
bleprph_wifi_coex sample
ble_dynamic_service sample
ble_periodic_sync sample
power_save sample
NimBLE_Beacon sample
NimBLE_Connection sample
NimBLE_GATT_Server sample
NimBLE_Security sample
cts_cent sample
cts_prph sample
enc_adv_data_cent sample
enc_adv_data_prph sample
htp_cent sample
htp_prph sample
coc_blecent sample
coc_bleprph sample
ble_multi_conn_cent sample
ble_multi_conn_prph sample
ble_pawr_adv sample
ble_pawr_sync sample
ble_pawr_adv_conn sample
ble_pawr_sync_conn sample
phy_cent sample
proximity_sensor_cent sample
proximity_sensor_prph sample
spp_client sample
spp_server sample
blecent_throughput sample
bleprph_throughput sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ble_hs_adv_fields
ble_hs_adv_fields struct
Syntax
Show:
Summary
Declaration
Definition
from
ble_eddystone.h:35
struct
ble_hs_adv_fields
;
Implemented in
ble_hs_adv.h:47
Fields
Field
Declared as
Description
ble_hs_adv_fields::flags
uint8_t
0x01 - Flags.
ble_hs_adv_fields::uuids16
const
ble_uuid16_t
*
0x02,0x03 - 16-bit service class UUIDs.
ble_hs_adv_fields::num_uuids16
uint8_t
ble_hs_adv_fields::uuids16_is_complete
unsigned
:
1
ble_hs_adv_fields::uuids32
const
ble_uuid32_t
*
0x04,0x05 - 32-bit service class UUIDs.
ble_hs_adv_fields::num_uuids32
uint8_t
ble_hs_adv_fields::uuids32_is_complete
unsigned
:
1
ble_hs_adv_fields::uuids128
const
ble_uuid128_t
*
0x06,0x07 - 128-bit service class UUIDs.
ble_hs_adv_fields::num_uuids128
uint8_t
ble_hs_adv_fields::uuids128_is_complete
unsigned
:
1
ble_hs_adv_fields::name
const
uint8_t
*
0x08,0x09 - Local name.
ble_hs_adv_fields::name_len
uint8_t
ble_hs_adv_fields::name_is_complete
unsigned
:
1
ble_hs_adv_fields::tx_pwr_lvl
int8_t
0x0a - Tx power level.
ble_hs_adv_fields::tx_pwr_lvl_is_present
unsigned
:
1
ble_hs_adv_fields::slave_itvl_range
const
uint8_t
*
0x0d - Slave connection interval range.
ble_hs_adv_fields::sm_tk_value
const
uint8_t
*
0x10 - Security Manager TK value.
ble_hs_adv_fields::sm_tk_value_is_present
unsigned
:
1
ble_hs_adv_fields::sm_oob_flag
uint8_t
0x11 - Security Manager OOB flag.
ble_hs_adv_fields::sm_oob_flag_is_present
unsigned
:
1
ble_hs_adv_fields::sol_uuids16
const
ble_uuid16_t
*
0x14 - 16-bit service soliciation list.
ble_hs_adv_fields::sol_num_uuids16
uint8_t
ble_hs_adv_fields::sol_uuids128
const
ble_uuid128_t
*
0x15 - 128-bit service solicitation UUIDs.
ble_hs_adv_fields::sol_num_uuids128
uint8_t
ble_hs_adv_fields::svc_data_uuid16
const
uint8_t
*
0x16 - Service data - 16-bit UUID.
ble_hs_adv_fields::svc_data_uuid16_len
uint8_t
ble_hs_adv_fields::public_tgt_addr
const
uint8_t
*
0x17 - Public target address.
ble_hs_adv_fields::num_public_tgt_addrs
uint8_t
ble_hs_adv_fields::random_tgt_addr
const
uint8_t
*
0x18 - Random target address.
ble_hs_adv_fields::num_random_tgt_addrs
uint8_t
ble_hs_adv_fields::appearance
uint16_t
0x19 - Appearance.
ble_hs_adv_fields::appearance_is_present
unsigned
:
1
ble_hs_adv_fields::adv_itvl
uint16_t
0x1a - Advertising interval.
ble_hs_adv_fields::adv_itvl_is_present
unsigned
:
1
ble_hs_adv_fields::device_addr
const
uint8_t
*
0x1b - LE Bluetooth device address.
ble_hs_adv_fields::device_addr_type
unsigned
ble_hs_adv_fields::device_addr_is_present
unsigned
:
1
ble_hs_adv_fields::sol_uuids32
const
ble_uuid32_t
*
0x1f - 32-bit service solicitation UUIDs.
ble_hs_adv_fields::sol_num_uuids32
uint8_t
ble_hs_adv_fields::le_role
uint8_t
0x1c - LE Role.
ble_hs_adv_fields::le_role_is_present
unsigned
:
1
ble_hs_adv_fields::svc_data_uuid32
const
uint8_t
*
0x20 - Service data - 32-bit UUID.
ble_hs_adv_fields::svc_data_uuid32_len
uint8_t
ble_hs_adv_fields::svc_data_uuid128
const
uint8_t
*
0x21 - Service data - 128-bit UUID.
ble_hs_adv_fields::svc_data_uuid128_len
uint8_t
ble_hs_adv_fields::uri
const
uint8_t
*
0x24 - URI.
ble_hs_adv_fields::uri_len
uint8_t
ble_hs_adv_fields::le_supp_feat
uint8_t
[
BLE_HS_ADV_LE_SUPP_FEAT_LEN
]
0x27 - LE Supported Features. Core Spec v5.4 Vol. 6 Part B 4.6.
ble_hs_adv_fields::le_supp_feat_is_present
unsigned
ble_hs_adv_fields::adv_itvl_long
uint32_t
0x2f - Advertising interval - long.
ble_hs_adv_fields::adv_itvl_long_is_present
unsigned
:
1
ble_hs_adv_fields::enc_adv_data
const
uint8_t
*
0x31 - Encrypted Advertising Data.
ble_hs_adv_fields::enc_adv_data_len
uint8_t
ble_hs_adv_fields::mfg_data
const
uint8_t
*
0xff - Manufacturer specific data.
ble_hs_adv_fields::mfg_data_len
uint8_t
Related Functions
Found 14 other functions taking a
ble_hs_adv_fields
argument:
Function
Description
ble_gap_adv_set_fields()
Configures the fields to include in subsequent advertisements. This is a convenience wrapper for ble_gap_adv_set_data().
ble_hs_adv_parse_fields()
print_adv_fields()
ble_gap_adv_rsp_set_fields()
Configures the fields to include in subsequent scan responses. This is a convenience wrapper for ble_gap_adv_rsp_set_data().
ble_hs_adv_set_fields_mbuf()
ble_hs_adv_set_fields()
Converts a high-level set of fields to a byte buffer.
ble_hs_adv_parse_uuids32()
ble_hs_adv_parse_uuids128()
ble_hs_adv_parse_uuids16()
ble_eddystone_set_adv_data_gen()
Populates the supplied advertisement fields struct to represent an eddystone advertisement. Prior to calling this function, you must write the service data header and payload using the ble_eddystone_set_svc_data_base() function.
adv_set_fields()
ble_eddystone_set_adv_data_uid()
Configures the device to advertise Eddystone UID beacons.
ble_eddystone_set_adv_data_url()
Configures the device to advertise Eddystone URL beacons.
ble_hs_adv_parse_one_field()
Examples
ble_hs_adv_fields
is referenced by 34 libraries and example projects:
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out