ESP-IDF
ble_hs_max_attrs
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ble_hs_max_attrs
ble_hs_max_attrs variable
These values keep track of required ATT and GATT resources counts. They increase as services are added, and are read when the ATT server and GATT server are started.
Syntax
Show:
Summary
Declaration
Definition
from
ble_hs_priv.h:101
extern
uint16_t
ble_hs_max_attrs
;
Implemented in
ble_hs.c:98
Examples
References
from
examples
Code
Location
Referrer
uint16_t
ble_hs_max_attrs
;
ble_hs.c:98
extern
uint16_t
ble_hs_max_attrs
;
ble_hs_priv.h:101
if
(
ble_hs_max_attrs
>
0
)
{
ble_att_svr.c:3266
ble_att_svr_start()
OS_MEMPOOL_BYTES
(
ble_hs_max_attrs
,
ble_att_svr.c:3268
ble_att_svr_start()
rc
=
os_mempool_init
(
&
ble_att_svr_entry_pool
,
ble_hs_max_attrs
,
ble_att_svr.c:3275
ble_att_svr_start()
ble_hs_max_attrs
=
0
;
ble_gatts.c:1624
ble_gatts_stop()
ble_hs_max_attrs
+=
res
.
attrs
;
ble_gatts.c:3226
ble_gatts_count_cfg()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ble_hs_max_attrs
is written by 2 functions and is read by 2 functions:
ble_gatts_stop()
ble_gatts_count_cfg()
All items filtered out
ble_hs_max_attrs
ble_att_svr_start()
ble_gatts_count_cfg()
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