ESP-IDF
esp_gattc_service_elem_t::is_primary
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_gattc_service_elem_t::is_primary
esp_gattc_service_elem_t::is_primary field
Indicates if the service is primary.
Syntax
Show:
Summary
Declaration
from
esp_gatt_defs.h:658
bool
is_primary
;
Examples
References
from
examples
Code
Location
Referrer
bool
is_primary
;
/*!< Indicates if the service is primary. */
esp_gatt_defs.h:658
ESP_LOGV
(
TAG
,
"SRV(%d) %s start_handle %d, end_handle %d, uuid: 0x%04x"
,
s
,
service_result
[
s
]
.
is_primary
?
" PRIMARY"
:
""
,
service_result
[
s
]
.
start_handle
,
service_result
[
s
]
.
end_handle
,
suuid
)
;
ble_hidh.c:112
read_device_services()
svc_result
->
is_primary
=
(
db
[
offset
+
i
]
.
type
==
BTGATT_DB_PRIMARY_SERVICE
)
?
true
:
false
;
btc_gattc.c:255
btc_gattc_fill_gatt_db_conversion()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_gattc_service_elem_t::is_primary
is written by 1 function and is read by 1 function:
btc_gattc_fill_gatt_db_conversion()
All items filtered out
esp_gattc_service_elem_t::is_primary
read_device_services()
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