throughput_server sample
PROFILE_A_APP_ID
is only used within throughput_server sample.
Symbol previews are coming soon...
Symbols
loading (1/4)...
Files
loading (2/4)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
throughput_server sample
PROFILE_A_APP_ID
PROFILE_A_APP_ID macro
Syntax
Show:
Summary
Declaration
from
example_ble_server_throughput.c:172
#define
PROFILE_A_APP_ID
0
Examples
References
from
examples
Code
Location
#define
PROFILE_A_APP_ID
0
example_ble_server_throughput.c:172
[
PROFILE_A_APP_ID
]
=
{
example_ble_server_throughput.c:191
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_id
.
is_primary
=
true
;
example_ble_server_throughput.c:351
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_id
.
id
.
inst_id
=
0x00
;
example_ble_server_throughput.c:352
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_id
.
id
.
uuid
.
len
=
ESP_UUID_LEN_16
;
example_ble_server_throughput.c:353
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_id
.
id
.
uuid
.
uuid
.
uuid16
=
GATTS_SERVICE_UUID_TEST_A
;
example_ble_server_throughput.c:354
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
gatts_if
=
gatts_if
;
example_ble_server_throughput.c:355
esp_ble_gatts_create_service
(
gatts_if
,
&
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_id
,
GATTS_NUM_HANDLE_TEST_A
)
;
example_ble_server_throughput.c:386
if
(
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
descr_handle
==
param
->
write
.
handle
&&
param
->
write
.
len
==
2
)
{
example_ble_server_throughput.c:405
esp_ble_gatts_send_indicate
(
gatts_if
,
param
->
write
.
conn_id
,
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
char_handle
,
example_ble_server_throughput.c:425
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_handle
=
param
->
create
.
service_handle
;
example_ble_server_throughput.c:483
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
char_uuid
.
len
=
ESP_UUID_LEN_16
;
example_ble_server_throughput.c:484
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
char_uuid
.
uuid
.
uuid16
=
GATTS_CHAR_UUID_TEST_A
;
example_ble_server_throughput.c:485
esp_ble_gatts_start_service
(
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_handle
)
;
example_ble_server_throughput.c:487
esp_err_t
add_char_ret
=
esp_ble_gatts_add_char
(
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_handle
,
&
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
char_uuid
,
example_ble_server_throughput.c:489
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
char_handle
=
param
->
add_char
.
attr_handle
;
example_ble_server_throughput.c:505
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
descr_uuid
.
len
=
ESP_UUID_LEN_16
;
example_ble_server_throughput.c:506
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
descr_uuid
.
uuid
.
uuid16
=
ESP_GATT_UUID_CHAR_CLIENT_CONFIG
;
example_ble_server_throughput.c:507
esp_err_t
add_descr_ret
=
esp_ble_gatts_add_char_descr
(
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
service_handle
,
&
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
descr_uuid
,
example_ble_server_throughput.c:517
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
descr_handle
=
param
->
add_char_descr
.
attr_handle
;
example_ble_server_throughput.c:525
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
conn_id
=
param
->
connect
.
conn_id
;
example_ble_server_throughput.c:540
int
free_buff_num
=
esp_ble_get_cur_sendable_packets_num
(
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
conn_id
)
;
example_ble_server_throughput.c:614
esp_ble_gatts_send_indicate
(
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
gatts_if
,
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
conn_id
,
example_ble_server_throughput.c:617
gl_profile_tab
[
PROFILE_A_APP_ID
]
.
char_handle
,
example_ble_server_throughput.c:618
ret
=
esp_ble_gatts_app_register
(
PROFILE_A_APP_ID
)
;
example_ble_server_throughput.c:704
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