ESP-IDF
BT_DATA_BYTES
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
BT_DATA_BYTES
BT_DATA_BYTES macro
Helper to declare elements of bt_data arrays This macro is mainly for creating an array of struct bt_data elements which is then passed to bt_le_adv_start().
Syntax
Show:
Summary
Declaration
from
glue.h:102
#define
BT_DATA_BYTES
(
_type
,
_bytes
...
)
\
BT_DATA
(
_type
,
(
(
uint8_t
[
]
)
{
_bytes
}
)
,
\
sizeof
(
(
uint8_t
[
]
)
{
_bytes
}
)
)
Arguments
Argument
Description
_type
Type of advertising data field
_bytes
Variable number of single-byte parameters
Examples
References
from
examples
Code
Location
#define
BT_DATA_BYTES
(
_type
,
_bytes
...
)
\
glue.h:102
BT_DATA_BYTES
(
BT_DATA_FLAGS
,
(
BT_LE_AD_GENERAL
|
BT_LE_AD_NO_BREDR
)
)
,
pb_gatt_srv.c:355
BT_DATA_BYTES
(
BT_DATA_UUID16_ALL
,
pb_gatt_srv.c:356
BT_DATA_BYTES
(
BT_DATA_FLAGS
,
(
BT_LE_AD_GENERAL
|
BT_LE_AD_NO_BREDR
)
)
,
proxy_srv.c:405
BT_DATA_BYTES
(
BT_DATA_UUID16_ALL
,
proxy_srv.c:406
BT_DATA_BYTES
(
BT_DATA_FLAGS
,
(
BT_LE_AD_GENERAL
|
BT_LE_AD_NO_BREDR
)
)
,
proxy_srv.c:412
BT_DATA_BYTES
(
BT_DATA_UUID16_ALL
,
proxy_srv.c:413
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