ESP-IDF
+
0
/7 examples
SourceVu will show references to
esp_gatt_rsp_t
from the following samples and libraries:
Bluedroid_GATT_Server sample
ble_compatibility_test sample
gatt_server sample
gatt_server_service_table sample
a2dp_gatts_coex sample
gattc_gatts_coex sample
throughput_server sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/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_rsp_t
esp_gatt_rsp_t union
Represents the response type for a GATT remote read request.
Syntax
Show:
Summary
Declaration
from
esp_gatt_defs.h:602
typedef
union
{
esp_gatt_value_t
attr_value
;
uint16_t
handle
;
}
esp_gatt_rsp_t
;
Fields
Field
Declared as
Description
esp_gatt_rsp_t::attr_value
esp_gatt_value_t
The GATT attribute value, including its data, handle, and metadata.
esp_gatt_rsp_t::handle
uint16_t
Only the handle of the GATT attribute, when that's the only required information.
Related Functions
Found 2 other functions taking a
esp_gatt_rsp_t
argument:
Function
Description
esp_ble_gatts_send_response()
Send a response to a request
btc_to_bta_response()
Examples
esp_gatt_rsp_t
is referenced by 7 libraries and example projects:
Bluedroid_GATT_Server sample
ble_compatibility_test sample
gatt_server sample
gatt_server_service_table sample
a2dp_gatts_coex sample
gattc_gatts_coex sample
throughput_server sample
References
from
0/7
examples
Code
Location
Scope
Referrer
typedef
union
{
esp_gatt_defs.h:602
}
esp_gatt_rsp_t
;
esp_gatt_defs.h:605
void
btc_to_bta_response
(
tBTA_GATTS_RSP
*
p_dest
,
esp_gatt_rsp_t
*
p_src
)
btc_gatt_util.c:113
btc_to_bta_response()
void
btc_to_bta_response
(
tBTA_GATTS_RSP
*
rsp_struct
,
esp_gatt_rsp_t
*
p_rsp
)
;
btc_gatt_util.h:24
btc_to_bta_response()
btc_to_bta_response()::p_rsp
dst
->
send_rsp
.
rsp
=
(
esp_gatt_rsp_t
*
)
osi_malloc
(
sizeof
(
esp_gatt_rsp_t
)
)
;
btc_gatts.c:87
btc_gatts_arg_deep_copy()
memcpy
(
dst
->
send_rsp
.
rsp
,
src
->
send_rsp
.
rsp
,
sizeof
(
esp_gatt_rsp_t
)
)
;
btc_gatts.c:89
btc_gatts_arg_deep_copy()
osi_free
(
arg
->
send_rsp
.
rsp
)
;
btc_gatts.c:184
btc_gatts_arg_deep_free()
esp_gatt_rsp_t
*
p_rsp
=
arg
->
send_rsp
.
rsp
;
btc_gatts.c:683
btc_gatts_call_handler()
esp_gatt_rsp_t
*
rsp
;
btc_gatts.h:117
send_rsp_args
send_rsp_args::rsp
}
esp_gatt_rsp_t
;
esp_gatt_defs.h:605
esp_gatt_rsp_t
esp_gatt_status_t
status
,
esp_gatt_rsp_t
*
rsp
)
esp_gatts_api.c:295
esp_ble_gatts_send_response()
esp_ble_gatts_send_response()::rsp
esp_gatt_status_t
status
,
esp_gatt_rsp_t
*
rsp
)
;
esp_gatts_api.h:518
esp_ble_gatts_send_response()
esp_ble_gatts_send_response()::rsp
esp_gatt_rsp_t
gatt_rsp
=
{
0
}
;
protocomm_ble.c:155
transport_simple_ble_read()
esp_gatt_rsp_t
gatt_rsp
=
{
0
}
;
protocomm_ble.c:219
prepare_write_event_env()
Call Tree
from
0/7
examples
All items filtered out
All items filtered out
Data Use
from
0/7
examples
All items filtered out
All items filtered out
Class Tree
from
0/7
examples
All items filtered out
All items filtered out
Override Tree
from
0/7
examples
All items filtered out
All items filtered out
Implementations
from
0/7
examples
All items filtered out
All items filtered out
Instances
from
0/7
examples
Instance
Scope
Location
Project
send_rsp_args::rsp
send_rsp_args
btc_gatts.h:117
esp_ble_gatts_send_response()::rsp
esp_ble_gatts_send_response()
esp_gatts_api.h:518
btc_to_bta_response()::p_rsp
btc_to_bta_response()
btc_gatt_util.h:24
esp_ble_gatts_send_response()::rsp
esp_ble_gatts_send_response()
esp_gatts_api.c:295
Lifecycle
from
0/7
examples
esp_gatt_rsp_t
is freed by 1 symbol:
All items filtered out
esp_gatt_rsp_t
btc_gatts_arg_deep_free()
All items filtered out