ESP-IDF
BLE_MESH_ADV_DATA
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
BLE_MESH_ADV_DATA
BLE_MESH_ADV_DATA macro
Helper to declare elements of bt_data arrays This macro is mainly for creating an array of struct bt_mesh_adv_data elements which is then passed to bt_le_adv_start().
Syntax
Show:
Summary
Declaration
from
adapter.h:374
#define
BLE_MESH_ADV_DATA
(
_type
,
_data
,
_data_len
)
\
{
\
.
type
=
(
_type
)
,
\
.
data_len
=
(
_data_len
)
,
\
.
data
=
(
const
uint8_t
*
)
(
_data
)
,
\
}
Arguments
Argument
Description
_type
Type of advertising data field
_data
Pointer to the data field payload
_data_len
Number of bytes behind the _data pointer
Examples
References
from
examples
Code
Location
#define
BLE_MESH_ADV_DATA
(
_type
,
_data
,
_data_len
)
\
adapter.h:374
BLE_MESH_ADV_DATA
(
_type
,
(
(
uint8_t
[
]
)
{
_bytes
}
)
,
\
adapter.h:390
BLE_MESH_ADV_DATA
(
BLE_MESH_DATA_SVC_DATA16
,
prov_svc_data
,
sizeof
(
prov_svc_data
)
)
,
proxy_server.c:1376
BLE_MESH_ADV_DATA
(
BLE_MESH_DATA_SVC_DATA16
,
proxy_svc_data
,
NODE_ID_LEN
)
,
proxy_server.c:1399
BLE_MESH_ADV_DATA
(
BLE_MESH_DATA_SVC_DATA16
,
proxy_svc_data
,
NET_ID_LEN
)
,
proxy_server.c:1405
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