ESP-IDF
ble_batchscan_cb
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_batchscan_cb
ble_batchscan_cb variable
Syntax
Show:
Summary
Declaration
from
btm_ble_batchscan.c:34
tBTM_BLE_BATCH_SCAN_CB
ble_batchscan_cb
;
Examples
References
from
examples
Code
Location
Referrer
tBTM_BLE_BATCH_SCAN_CB
ble_batchscan_cb
;
btm_ble_batchscan.c:34
NULL
!=
ble_batchscan_cb
.
p_thres_cback
)
{
btm_ble_batchscan.c:77
btm_ble_batchscan_filter_track_adv_vse_cback()
ble_batchscan_cb
.
p_thres_cback
(
ble_batchscan_cb
.
ref_value
)
;
btm_ble_batchscan.c:78
btm_ble_batchscan_filter_track_adv_vse_cback()
ble_batchscan_cb
.
op_q
.
sub_code
[
ble_batchscan_cb
.
op_q
.
next_idx
]
=
(
opcode
|
(
cb_evt
<
<
4
)
)
;
btm_ble_batchscan.c:143
btm_ble_batchscan_enq_op_q()
ble_batchscan_cb
.
op_q
.
cur_state
[
ble_batchscan_cb
.
op_q
.
next_idx
]
=
cur_state
;
btm_ble_batchscan.c:144
btm_ble_batchscan_enq_op_q()
ble_batchscan_cb
.
op_q
.
ref_value
[
ble_batchscan_cb
.
op_q
.
next_idx
]
=
ref_value
;
btm_ble_batchscan.c:145
btm_ble_batchscan_enq_op_q()
ble_batchscan_cb
.
op_q
.
sub_code
[
ble_batchscan_cb
.
op_q
.
next_idx
]
,
btm_ble_batchscan.c:147
btm_ble_batchscan_enq_op_q()
ble_batchscan_cb
.
op_q
.
cur_state
[
ble_batchscan_cb
.
op_q
.
next_idx
]
,
btm_ble_batchscan.c:148
btm_ble_batchscan_enq_op_q()
ble_batchscan_cb
.
op_q
.
ref_value
[
ble_batchscan_cb
.
op_q
.
next_idx
]
)
;
btm_ble_batchscan.c:149
btm_ble_batchscan_enq_op_q()
ble_batchscan_cb
.
op_q
.
next_idx
=
(
ble_batchscan_cb
.
op_q
.
next_idx
+
1
)
btm_ble_batchscan.c:150
btm_ble_batchscan_enq_op_q()
if
(
report_format
==
ble_batchscan_cb
.
main_rep_q
.
rep_mode
[
i
]
)
{
btm_ble_batchscan.c:168
btm_ble_batchscan_enq_rep_q()
ble_batchscan_cb
.
main_rep_q
.
rep_mode
[
ble_batchscan_cb
.
main_rep_q
.
next_idx
]
=
report_format
;
btm_ble_batchscan.c:173
btm_ble_batchscan_enq_rep_q()
ble_batchscan_cb
.
main_rep_q
.
ref_value
[
ble_batchscan_cb
.
main_rep_q
.
next_idx
]
=
ref_value
;
btm_ble_batchscan.c:174
btm_ble_batchscan_enq_rep_q()
ble_batchscan_cb
.
main_rep_q
.
num_records
[
ble_batchscan_cb
.
main_rep_q
.
next_idx
]
=
0
;
btm_ble_batchscan.c:175
btm_ble_batchscan_enq_rep_q()
ble_batchscan_cb
.
main_rep_q
.
data_len
[
ble_batchscan_cb
.
main_rep_q
.
next_idx
]
=
0
;
btm_ble_batchscan.c:176
btm_ble_batchscan_enq_rep_q()
ble_batchscan_cb
.
main_rep_q
.
p_data
[
ble_batchscan_cb
.
main_rep_q
.
next_idx
]
=
NULL
;
btm_ble_batchscan.c:177
btm_ble_batchscan_enq_rep_q()
ble_batchscan_cb
.
main_rep_q
.
next_idx
,
report_format
,
ref_value
)
;
btm_ble_batchscan.c:179
btm_ble_batchscan_enq_rep_q()
ble_batchscan_cb
.
main_rep_q
.
next_idx
=
(
ble_batchscan_cb
.
main_rep_q
.
next_idx
+
1
)
btm_ble_batchscan.c:181
btm_ble_batchscan_enq_rep_q()
if
(
report_format
==
ble_batchscan_cb
.
main_rep_q
.
rep_mode
[
index
]
)
{
btm_ble_batchscan.c:202
btm_ble_batchscan_enq_rep_data()
len
=
ble_batchscan_cb
.
main_rep_q
.
data_len
[
index
]
;
btm_ble_batchscan.c:211
btm_ble_batchscan_enq_rep_data()
p_orig_data
=
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
;
btm_ble_batchscan.c:212
btm_ble_batchscan_enq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
=
p_app_data
;
btm_ble_batchscan.c:218
btm_ble_batchscan_enq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
num_records
[
index
]
+=
num_records
;
btm_ble_batchscan.c:219
btm_ble_batchscan_enq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
data_len
[
index
]
+=
data_len
;
btm_ble_batchscan.c:220
btm_ble_batchscan_enq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
=
p_app_data
;
btm_ble_batchscan.c:224
btm_ble_batchscan_enq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
num_records
[
index
]
=
num_records
;
btm_ble_batchscan.c:225
btm_ble_batchscan_enq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
data_len
[
index
]
=
data_len
;
btm_ble_batchscan.c:226
btm_ble_batchscan_enq_rep_data()
if
(
report_format
==
ble_batchscan_cb
.
main_rep_q
.
rep_mode
[
index
]
)
{
btm_ble_batchscan.c:247
btm_ble_batchscan_deq_rep_data()
*
p_num_records
=
ble_batchscan_cb
.
main_rep_q
.
num_records
[
index
]
;
btm_ble_batchscan.c:257
btm_ble_batchscan_deq_rep_data()
*
p_ref_value
=
ble_batchscan_cb
.
main_rep_q
.
ref_value
[
index
]
;
btm_ble_batchscan.c:258
btm_ble_batchscan_deq_rep_data()
*
p_data
=
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
;
btm_ble_batchscan.c:259
btm_ble_batchscan_deq_rep_data()
*
p_data_len
=
ble_batchscan_cb
.
main_rep_q
.
data_len
[
index
]
;
btm_ble_batchscan.c:260
btm_ble_batchscan_deq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
=
NULL
;
btm_ble_batchscan.c:262
btm_ble_batchscan_deq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
data_len
[
index
]
=
0
;
btm_ble_batchscan.c:263
btm_ble_batchscan_deq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
rep_mode
[
index
]
=
0
;
btm_ble_batchscan.c:264
btm_ble_batchscan_deq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
ref_value
[
index
]
=
0
;
btm_ble_batchscan.c:265
btm_ble_batchscan_deq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
num_records
[
index
]
=
0
;
btm_ble_batchscan.c:266
btm_ble_batchscan_deq_rep_data()
ble_batchscan_cb
.
main_rep_q
.
pending_idx
=
(
ble_batchscan_cb
.
main_rep_q
.
pending_idx
+
1
)
btm_ble_batchscan.c:271
btm_ble_batchscan_deq_rep_data()
*
p_cb_evt
=
(
ble_batchscan_cb
.
op_q
.
sub_code
[
ble_batchscan_cb
.
op_q
.
pending_idx
]
>
>
4
)
;
btm_ble_batchscan.c:288
btm_ble_batchscan_deq_op_q()
*
p_opcode
=
(
ble_batchscan_cb
.
op_q
.
sub_code
[
ble_batchscan_cb
.
op_q
.
pending_idx
]
btm_ble_batchscan.c:289
btm_ble_batchscan_deq_op_q()
*
p_ref
=
ble_batchscan_cb
.
op_q
.
ref_value
[
ble_batchscan_cb
.
op_q
.
pending_idx
]
;
btm_ble_batchscan.c:291
btm_ble_batchscan_deq_op_q()
*
cur_state
=
(
ble_batchscan_cb
.
op_q
.
cur_state
[
ble_batchscan_cb
.
op_q
.
pending_idx
]
)
;
btm_ble_batchscan.c:292
btm_ble_batchscan_deq_op_q()
ble_batchscan_cb
.
op_q
.
pending_idx
=
(
ble_batchscan_cb
.
op_q
.
pending_idx
+
1
)
btm_ble_batchscan.c:293
btm_ble_batchscan_deq_op_q()
btm_ble_batchscan_enq_op_q
(
BTM_BLE_BATCH_SCAN_READ_RESULTS
,
ble_batchscan_cb
.
cur_state
,
btm_ble_batchscan.c:330
btm_ble_read_batchscan_reports()
ble_batchscan_cb
.
cur_state
=
BTM_BLE_SCAN_ENABLED_STATE
;
btm_ble_batchscan.c:383
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
cur_state
=
BTM_BLE_SCAN_INVALID_STATE
;
btm_ble_batchscan.c:386
btm_ble_batchscan_vsc_cmpl_cback()
status
,
ble_batchscan_cb
.
cur_state
,
cb_evt
)
;
btm_ble_batchscan.c:390
btm_ble_batchscan_vsc_cmpl_cback()
if
(
cb_evt
!=
0
&&
NULL
!=
ble_batchscan_cb
.
p_setup_cback
)
{
btm_ble_batchscan.c:392
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
p_setup_cback
(
cb_evt
,
ref_value
,
status
)
;
btm_ble_batchscan.c:393
btm_ble_batchscan_vsc_cmpl_cback()
if
(
cb_evt
!=
0
&&
NULL
!=
ble_batchscan_cb
.
p_setup_cback
)
{
btm_ble_batchscan.c:401
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
p_setup_cback
(
cb_evt
,
ref_value
,
status
)
;
btm_ble_batchscan.c:402
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
cur_state
=
BTM_BLE_SCAN_DISABLED_STATE
;
btm_ble_batchscan.c:412
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
cur_state
=
BTM_BLE_SCAN_INVALID_STATE
;
btm_ble_batchscan.c:415
btm_ble_batchscan_vsc_cmpl_cback()
if
(
cb_evt
!=
0
&&
NULL
!=
ble_batchscan_cb
.
p_setup_cback
)
{
btm_ble_batchscan.c:419
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
p_setup_cback
(
cb_evt
,
ref_value
,
status
)
;
btm_ble_batchscan.c:420
btm_ble_batchscan_vsc_cmpl_cback()
if
(
cb_evt
!=
0
&&
NULL
!=
ble_batchscan_cb
.
p_scan_rep_cback
)
{
btm_ble_batchscan.c:426
btm_ble_batchscan_vsc_cmpl_cback()
if
(
NULL
!=
ble_batchscan_cb
.
p_scan_rep_cback
)
{
btm_ble_batchscan.c:436
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
p_scan_rep_cback
(
ref_value
,
report_format
,
num_records
,
btm_ble_batchscan.c:437
btm_ble_batchscan_vsc_cmpl_cback()
if
(
NULL
!=
ble_batchscan_cb
.
p_scan_rep_cback
&&
NULL
!=
p_data
)
{
btm_ble_batchscan.c:449
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
p_scan_rep_cback
(
ref_value
,
report_format
,
btm_ble_batchscan.c:450
btm_ble_batchscan_vsc_cmpl_cback()
ble_batchscan_cb
.
scan_interval
,
ble_batchscan_cb
.
scan_window
,
btm_ble_batchscan.c:586
btm_ble_enable_disable_batchscan()
ble_batchscan_cb
.
addr_type
,
ble_batchscan_cb
.
discard_rule
)
)
!=
BTM_CMD_STARTED
)
{
btm_ble_batchscan.c:587
btm_ble_enable_disable_batchscan()
ble_batchscan_cb
.
cur_state
=
BTM_BLE_SCAN_ENABLE_CALLED
;
btm_ble_batchscan.c:594
btm_ble_enable_disable_batchscan()
ble_batchscan_cb
.
cur_state
=
BTM_BLE_SCAN_DISABLE_CALLED
;
btm_ble_batchscan.c:596
btm_ble_enable_disable_batchscan()
ble_batchscan_cb
.
cur_state
,
ref_value
,
batch_scan_full_max
,
batch_scan_trunc_max
,
btm_ble_batchscan.c:629
BTM_BleSetStorageConfig()
ble_batchscan_cb
.
p_setup_cback
=
p_setup_cback
;
btm_ble_batchscan.c:643
BTM_BleSetStorageConfig()
ble_batchscan_cb
.
p_thres_cback
=
p_thres_cback
;
btm_ble_batchscan.c:644
BTM_BleSetStorageConfig()
ble_batchscan_cb
.
p_scan_rep_cback
=
p_rep_cback
;
btm_ble_batchscan.c:645
BTM_BleSetStorageConfig()
ble_batchscan_cb
.
ref_value
=
ref_value
;
btm_ble_batchscan.c:646
BTM_BleSetStorageConfig()
if
(
BTM_BLE_SCAN_INVALID_STATE
==
ble_batchscan_cb
.
cur_state
||
btm_ble_batchscan.c:655
BTM_BleSetStorageConfig()
BTM_BLE_SCAN_DISABLED_STATE
==
ble_batchscan_cb
.
cur_state
||
btm_ble_batchscan.c:656
BTM_BleSetStorageConfig()
BTM_BLE_SCAN_DISABLE_CALLED
==
ble_batchscan_cb
.
cur_state
)
{
btm_ble_batchscan.c:657
BTM_BleSetStorageConfig()
ble_batchscan_cb
.
cur_state
=
BTM_BLE_SCAN_ENABLE_CALLED
;
btm_ble_batchscan.c:663
BTM_BleSetStorageConfig()
btm_ble_batchscan_enq_op_q
(
BTM_BLE_BATCH_SCAN_SET_STORAGE_PARAM
,
ble_batchscan_cb
.
cur_state
,
btm_ble_batchscan.c:674
BTM_BleSetStorageConfig()
scan_window
,
discard_rule
,
ble_batchscan_cb
.
cur_state
)
;
btm_ble_batchscan.c:717
BTM_BleEnableBatchScan()
if
(
BTM_BLE_SCAN_INVALID_STATE
==
ble_batchscan_cb
.
cur_state
||
btm_ble_batchscan.c:727
BTM_BleEnableBatchScan()
BTM_BLE_SCAN_DISABLED_STATE
==
ble_batchscan_cb
.
cur_state
||
btm_ble_batchscan.c:728
BTM_BleEnableBatchScan()
BTM_BLE_SCAN_DISABLE_CALLED
==
ble_batchscan_cb
.
cur_state
)
{
btm_ble_batchscan.c:729
BTM_BleEnableBatchScan()
ble_batchscan_cb
.
scan_mode
=
scan_mode
;
btm_ble_batchscan.c:738
BTM_BleEnableBatchScan()
ble_batchscan_cb
.
scan_interval
=
scan_interval
;
btm_ble_batchscan.c:739
BTM_BleEnableBatchScan()
ble_batchscan_cb
.
scan_window
=
scan_window
;
btm_ble_batchscan.c:740
BTM_BleEnableBatchScan()
ble_batchscan_cb
.
addr_type
=
addr_type
;
btm_ble_batchscan.c:741
BTM_BleEnableBatchScan()
ble_batchscan_cb
.
discard_rule
=
discard_rule
;
btm_ble_batchscan.c:742
BTM_BleEnableBatchScan()
btm_ble_batchscan_enq_op_q
(
BTM_BLE_BATCH_SCAN_SET_PARAMS
,
ble_batchscan_cb
.
cur_state
,
btm_ble_batchscan.c:751
BTM_BleEnableBatchScan()
read_scan_mode
=
ble_batchscan_cb
.
scan_mode
&
BTM_BLE_BATCH_SCAN_MODE_ACTI
;
btm_ble_batchscan.c:834
BTM_BleReadScanReports()
read_scan_mode
=
ble_batchscan_cb
.
scan_mode
&
BTM_BLE_BATCH_SCAN_MODE_PASS
;
btm_ble_batchscan.c:836
BTM_BleReadScanReports()
ble_batchscan_cb
.
cur_state
)
;
btm_ble_batchscan.c:852
BTM_BleReadScanReports()
memset
(
&
ble_batchscan_cb
,
0
,
sizeof
(
tBTM_BLE_BATCH_SCAN_CB
)
)
;
btm_ble_batchscan.c:914
btm_ble_batchscan_init()
if
(
NULL
!=
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
)
{
btm_ble_batchscan.c:936
btm_ble_batchscan_cleanup()
osi_free
(
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
)
;
btm_ble_batchscan.c:937
btm_ble_batchscan_cleanup()
ble_batchscan_cb
.
main_rep_q
.
p_data
[
index
]
=
NULL
;
btm_ble_batchscan.c:938
btm_ble_batchscan_cleanup()
memset
(
&
ble_batchscan_cb
,
0
,
sizeof
(
tBTM_BLE_BATCH_SCAN_CB
)
)
;
btm_ble_batchscan.c:942
btm_ble_batchscan_cleanup()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ble_batchscan_cb
is read by 13 functions:
All items filtered out
ble_batchscan_cb
btm_ble_batchscan_filter_track_adv_vse_cback()
btm_ble_batchscan_enq_op_q()
btm_ble_batchscan_enq_rep_q()
btm_ble_batchscan_enq_rep_data()
btm_ble_batchscan_deq_rep_data()
btm_ble_batchscan_deq_op_q()
btm_ble_read_batchscan_reports()
btm_ble_batchscan_vsc_cmpl_cback()
btm_ble_enable_disable_batchscan()
BTM_BleSetStorageConfig()
BTM_BleEnableBatchScan()
BTM_BleReadScanReports()
btm_ble_batchscan_cleanup()
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