ESP-IDF
+
0
/11 examples
SourceVu will show references to
esp_gatt_srvc_id_t
from the following samples and libraries:
Bluedroid_GATT_Server sample
ble_compatibility_test sample
ble_spp_server sample
gatt_security_server sample
gatt_server sample
gatt_server_service_table sample
ble50_security_server sample
a2dp_gatts_coex sample
gattc_gatts_coex sample
throughput_client sample
throughput_server sample
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_gatt_srvc_id_t
esp_gatt_srvc_id_t struct
Represents a GATT service identifier.
Syntax
Show:
Summary
Declaration
from
esp_gatt_defs.h:356
typedef
struct
{
esp_gatt_id_t
id
;
bool
is_primary
;
}
__attribute__
(
(
packed
)
)
esp_gatt_srvc_id_t
;
Fields
Field
Declared as
Description
esp_gatt_srvc_id_t::id
esp_gatt_id_t
Encapsulates the UUID and instance ID of the GATT service.
esp_gatt_srvc_id_t::is_primary
bool
Indicates if the service is primary. A value of true means it is a primary service, false indicates a secondary service.
Related Functions
Found 3 other functions taking a
esp_gatt_srvc_id_t
argument:
Function
Description
esp_ble_gatts_create_service()
Create a GATT Server service
btc_to_bta_srvc_id()
bta_to_btc_srvc_id()
Examples
esp_gatt_srvc_id_t
is referenced by 11 libraries and example projects:
Bluedroid_GATT_Server sample
ble_compatibility_test sample
ble_spp_server sample
gatt_security_server sample
gatt_server sample
gatt_server_service_table sample
ble50_security_server sample
a2dp_gatts_coex sample
gattc_gatts_coex sample
throughput_client sample
throughput_server sample
References
from
0/11
examples
Code
Location
Scope
Referrer
typedef
struct
{
esp_gatt_defs.h:356
}
__attribute__
(
(
packed
)
)
esp_gatt_srvc_id_t
;
esp_gatt_defs.h:359
void
btc_to_bta_srvc_id
(
tBTA_GATT_SRVC_ID
*
p_dest
,
esp_gatt_srvc_id_t
*
p_src
)
btc_gatt_util.c:91
btc_to_bta_srvc_id()
btc_to_bta_srvc_id()::p_src
void
bta_to_btc_srvc_id
(
esp_gatt_srvc_id_t
*
p_dest
,
tBTA_GATT_SRVC_ID
*
p_src
)
btc_gatt_util.c:107
bta_to_btc_srvc_id()
bta_to_btc_srvc_id()::p_dest
void
btc_to_bta_srvc_id
(
tBTA_GATT_SRVC_ID
*
p_dest
,
esp_gatt_srvc_id_t
*
p_src
)
;
btc_gatt_util.h:23
btc_to_bta_srvc_id()
btc_to_bta_srvc_id()::p_src
void
bta_to_btc_srvc_id
(
esp_gatt_srvc_id_t
*
p_dest
,
tBTA_GATT_SRVC_ID
*
p_src
)
;
btc_gatt_util.h:27
bta_to_btc_srvc_id()
bta_to_btc_srvc_id()::p_dest
esp_gatt_srvc_id_t
esp_srvc_id
;
btc_gatts.c:267
btc_gatts_act_create_attr_tab()
esp_gatt_srvc_id_t
esp_srvc_id
;
btc_gatts.c:295
btc_gatts_act_create_attr_tab()
esp_gatt_srvc_id_t
service_id
;
btc_gatts.h:51
create_srvc_args
create_srvc_args::service_id
}
__attribute__
(
(
packed
)
)
esp_gatt_srvc_id_t
;
esp_gatt_defs.h:359
esp_gatt_srvc_id_t
esp_gatt_srvc_id_t
*
service_id
,
uint16_t
num_handle
)
esp_gatts_api.c:74
esp_ble_gatts_create_service()
esp_ble_gatts_create_service()::service_id
memcpy
(
&
arg
.
create_srvc
.
service_id
,
service_id
,
sizeof
(
esp_gatt_srvc_id_t
)
)
;
esp_gatts_api.c:86
esp_ble_gatts_create_service()
esp_gatt_srvc_id_t
service_id
;
/*!< Service ID, including service UUID and other information */
esp_gatts_api.h:126
gatts_create_evt_param
gatts_create_evt_param::service_id
esp_gatt_srvc_id_t
*
service_id
,
uint16_t
num_handle
)
;
esp_gatts_api.h:349
esp_ble_gatts_create_service()
esp_ble_gatts_create_service()::service_id
Call Tree
from
0/11
examples
All items filtered out
All items filtered out
Data Use
from
0/11
examples
All items filtered out
All items filtered out
Class Tree
from
0/11
examples
All items filtered out
All items filtered out
Override Tree
from
0/11
examples
All items filtered out
All items filtered out
Implementations
from
0/11
examples
All items filtered out
All items filtered out
Instances
from
0/11
examples
Instance
Scope
Location
Project
create_srvc_args::service_id
create_srvc_args
btc_gatts.h:51
gatts_create_evt_param::service_id
gatts_create_evt_param
esp_gatts_api.h:126
esp_ble_gatts_create_service()::service_id
esp_ble_gatts_create_service()
esp_gatts_api.h:349
btc_to_bta_srvc_id()::p_src
btc_to_bta_srvc_id()
btc_gatt_util.h:23
bta_to_btc_srvc_id()::p_dest
bta_to_btc_srvc_id()
btc_gatt_util.h:27
esp_ble_gatts_create_service()::service_id
esp_ble_gatts_create_service()
esp_gatts_api.c:74
btc_to_bta_srvc_id()::p_src
btc_to_bta_srvc_id()
btc_gatt_util.c:91
bta_to_btc_srvc_id()::p_dest
bta_to_btc_srvc_id()
btc_gatt_util.c:107
Lifecycle
from
0/11
examples
All items filtered out
All items filtered out