ESP-IDF
ble_sm_proc::flags
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ble_sm_proc::flags
ble_sm_proc::flags field
Syntax
Show:
Summary
Declaration
from
ble_sm_priv.h:252
ble_sm_proc_flags
flags
;
Examples
References
from
examples
Code
Location
Referrer
ble_sm_proc_flags
flags
;
ble_sm_priv.h:252
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm.c:512
ble_sm_ia_ra()
authenticated
=
proc
->
flags
&
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm.c:610
ble_sm_persist_keys()
sc
=
proc
->
flags
&
BLE_SM_PROC_F_SC
;
ble_sm.c:611
ble_sm_persist_keys()
proc_is_initiator
=
!!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
;
ble_sm.c:644
ble_sm_proc_matches()
if
(
proc
->
flags
&
BLE_SM_PROC_F_SC
)
{
ble_sm.c:780
ble_sm_io_action()
if
(
proc
->
flags
&
BLE_SM_PROC_F_IO_INJECTED
&&
ble_sm.c:826
ble_sm_proc_can_advance()
proc
->
flags
&
BLE_SM_PROC_F_ADVANCE_ON_IO
)
{
ble_sm.c:827
ble_sm_proc_can_advance()
proc
->
flags
&
BLE_SM_PROC_F_BONDING
)
{
ble_sm.c:1030
ble_sm_process_result()
if
(
proc
->
flags
&
BLE_SM_PROC_F_SC
)
{
ble_sm.c:1073
ble_sm_key_dist()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
||
ble_sm.c:1220
ble_sm_enc_event_rx()
if
(
proc
->
flags
&
BLE_SM_PROC_F_AUTHENTICATED
)
{
ble_sm.c:1231
ble_sm_enc_event_rx()
if
(
proc
->
flags
&
BLE_SM_PROC_F_AUTHENTICATED
)
{
ble_sm.c:1243
ble_sm_enc_event_rx()
proc
->
flags
|=
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm.c:1403
ble_sm_ltk_restore_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm.c:1516
ble_sm_our_pair_rand()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm.c:1526
ble_sm_peer_pair_rand()
if
(
proc
->
flags
&
BLE_SM_PROC_F_SC
)
{
ble_sm.c:1537
ble_sm_random_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_SC
)
{
ble_sm.c:1572
ble_sm_random_rx()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_SC
)
)
{
ble_sm.c:1589
ble_sm_confirm_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm.c:1625
ble_sm_confirm_rx()
proc
->
flags
|=
BLE_SM_PROC_F_ADVANCE_ON_IO
;
ble_sm.c:1637
ble_sm_confirm_rx()
if
(
proc
->
flags
&
BLE_SM_PROC_F_SC
)
{
ble_sm.c:1654
ble_sm_state_after_pair()
proc
->
flags
|=
BLE_SM_PROC_F_SC
;
ble_sm.c:1677
ble_sm_pair_cfg()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm.c:1681
ble_sm_pair_cfg()
proc
->
flags
|=
BLE_SM_PROC_F_BONDING
;
ble_sm.c:1690
ble_sm_pair_cfg()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_SC
)
&&
ble_sm.c:1697
ble_sm_pair_cfg()
proc
->
flags
&=
~
BLE_SM_PROC_F_BONDING
;
ble_sm.c:1700
ble_sm_pair_cfg()
is_req
=
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
;
ble_sm.c:1776
ble_sm_pair_exec()
proc_flags
=
proc
->
flags
;
ble_sm.c:1959
ble_sm_pair_req_rx()
int
bonded
=
!!
(
proc
->
flags
&
BLE_SM_PROC_F_BONDING
)
;
ble_sm.c:2168
ble_sm_key_exch_success()
!!
(
proc
->
flags
&
BLE_SM_PROC_F_AUTHENTICATED
)
,
ble_sm.c:2170
ble_sm_key_exch_success()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm.c:2202
ble_sm_key_exch_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
||
proc
->
rx_key_flags
==
0
)
{
ble_sm.c:2390
ble_sm_key_exch_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm.c:2412
ble_sm_key_rxed()
proc
->
flags
|=
BLE_SM_PROC_F_INITIATOR
;
ble_sm.c:2818
ble_sm_pair_initiate()
proc
->
flags
|=
BLE_SM_PROC_F_INITIATOR
;
ble_sm.c:2903
ble_sm_enc_initiate()
proc
->
flags
|=
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm.c:2905
ble_sm_enc_initiate()
}
else
if
(
proc
->
flags
&
BLE_SM_PROC_F_IO_INJECTED
)
{
ble_sm.c:2984
ble_sm_inject_io()
proc
->
flags
|=
BLE_SM_PROC_F_IO_INJECTED
;
ble_sm.c:2998
ble_sm_inject_io()
if
(
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
||
ble_sm.c:3000
ble_sm_inject_io()
(
proc
->
flags
&
BLE_SM_PROC_F_ADVANCE_ON_IO
)
)
{
ble_sm.c:3001
ble_sm_inject_io()
proc
->
flags
|=
BLE_SM_PROC_F_IO_INJECTED
;
ble_sm.c:3012
ble_sm_inject_io()
if
(
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
||
ble_sm.c:3018
ble_sm_inject_io()
(
proc
->
flags
&
BLE_SM_PROC_F_ADVANCE_ON_IO
)
)
{
ble_sm.c:3019
ble_sm_inject_io()
proc
->
flags
|=
BLE_SM_PROC_F_IO_INJECTED
;
ble_sm.c:3030
ble_sm_inject_io()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
||
ble_sm.c:3031
ble_sm_inject_io()
proc
->
flags
&
BLE_SM_PROC_F_ADVANCE_ON_IO
)
{
ble_sm.c:3032
ble_sm_inject_io()
proc
->
flags
|=
BLE_SM_PROC_F_IO_INJECTED
;
ble_sm.c:3046
ble_sm_inject_io()
}
else
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_lgcy.c:81
ble_sm_lgcy_io_action()
proc
->
flags
|=
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm_lgcy.c:94
ble_sm_lgcy_io_action()
proc
->
flags
|=
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm_lgcy.c:100
ble_sm_lgcy_io_action()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
)
{
ble_sm_lgcy.c:141
ble_sm_lgcy_confirm_exec()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
)
{
ble_sm_lgcy.c:201
ble_sm_lgcy_random_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_lgcy.c:244
ble_sm_lgcy_random_rx()
}
else
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:118
ble_sm_sc_io_action()
proc
->
flags
|=
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm_sc.c:131
ble_sm_sc_io_action()
proc
->
flags
|=
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm_sc.c:137
ble_sm_sc_io_action()
proc
->
flags
|=
BLE_SM_PROC_F_AUTHENTICATED
;
ble_sm_sc.c:142
ble_sm_sc_io_action()
if
(
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
||
ble_sm_sc.c:291
ble_sm_sc_oob_confirm()
(
proc
->
flags
&
BLE_SM_PROC_F_ADVANCE_ON_IO
)
)
{
ble_sm_sc.c:292
ble_sm_sc_oob_confirm()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
)
{
ble_sm_sc.c:342
ble_sm_sc_confirm_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:353
ble_sm_sc_gen_numcmp()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
)
{
ble_sm_sc.c:418
ble_sm_sc_random_exec()
!
(
proc
->
flags
&
BLE_SM_PROC_F_IO_INJECTED
)
)
{
ble_sm_sc.c:431
ble_sm_sc_random_exec()
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
||
ble_sm_sc.c:452
ble_sm_sc_random_rx()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:507
ble_sm_sc_random_rx()
!
(
proc
->
flags
&
BLE_SM_PROC_F_IO_INJECTED
)
)
{
ble_sm_sc.c:516
ble_sm_sc_random_rx()
!
(
proc
->
flags
&
BLE_SM_PROC_F_IO_INJECTED
)
)
{
ble_sm_sc.c:526
ble_sm_sc_random_rx()
proc
->
flags
|=
BLE_SM_PROC_F_ADVANCE_ON_IO
;
ble_sm_sc.c:527
ble_sm_sc_random_rx()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
)
{
ble_sm_sc.c:568
ble_sm_sc_public_key_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:645
ble_sm_sc_public_key_rx()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:700
ble_sm_sc_dhkey_check_exec()
if
(
!
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
)
{
ble_sm_sc.c:742
ble_sm_sc_dhkey_check_exec()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:766
ble_sm_dhkey_check_process()
proc
->
flags
|=
BLE_SM_PROC_F_ADVANCE_ON_IO
;
ble_sm_sc.c:826
ble_sm_dhkey_check_process()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:830
ble_sm_dhkey_check_process()
if
(
proc
->
flags
&
BLE_SM_PROC_F_INITIATOR
)
{
ble_sm_sc.c:885
ble_sm_sc_oob_data_check()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ble_sm_proc::flags
is written by 10 functions and is read by 40 functions:
ble_sm_ltk_restore_exec()
ble_sm_confirm_rx()
ble_sm_pair_cfg()
ble_sm_pair_initiate()
ble_sm_enc_initiate()
ble_sm_inject_io()
ble_sm_lgcy_io_action()
ble_sm_sc_io_action()
ble_sm_sc_random_rx()
ble_sm_dhkey_check_process()
All items filtered out
ble_sm_proc::flags
ble_sm_ia_ra()
ble_sm_persist_keys()
ble_sm_proc_matches()
ble_sm_io_action()
ble_sm_proc_can_advance()
ble_sm_process_result()
ble_sm_key_dist()
ble_sm_enc_event_rx()
ble_sm_ltk_restore_exec()
ble_sm_our_pair_rand()
ble_sm_peer_pair_rand()
ble_sm_random_exec()
ble_sm_random_rx()
ble_sm_confirm_exec()
ble_sm_confirm_rx()
ble_sm_state_after_pair()
ble_sm_pair_cfg()
ble_sm_pair_exec()
ble_sm_pair_req_rx()
ble_sm_key_exch_success()
ble_sm_key_exch_exec()
ble_sm_key_rxed()
ble_sm_pair_initiate()
ble_sm_enc_initiate()
ble_sm_inject_io()
ble_sm_lgcy_io_action()
ble_sm_lgcy_confirm_exec()
ble_sm_lgcy_random_exec()
ble_sm_lgcy_random_rx()
ble_sm_sc_io_action()
ble_sm_sc_oob_confirm()
ble_sm_sc_confirm_exec()
ble_sm_sc_gen_numcmp()
ble_sm_sc_random_exec()
ble_sm_sc_random_rx()
ble_sm_sc_public_key_exec()
ble_sm_sc_public_key_rx()
ble_sm_sc_dhkey_check_exec()
ble_sm_dhkey_check_process()
ble_sm_sc_oob_data_check()
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