ESP-IDF
ble_sm_result::app_status
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/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_result::app_status
ble_sm_result::app_status field
Syntax
Show:
Summary
Declaration
from
ble_sm_priv.h:282
int
app_status
;
Examples
References
from
examples
Code
Location
Referrer
int
app_status
;
ble_sm_priv.h:282
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_CMD_NOT_SUPP
)
;
ble_sm.c:763
ble_sm_rx_noop()
res
->
app_status
=
BLE_HS_ENOTCONN
;
ble_sm.c:843
ble_sm_exec()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_UNSPECIFIED
)
;
ble_sm.c:968
ble_sm_process_result()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:982
ble_sm_process_result()
if
(
res
->
app_status
==
518
)
{
ble_sm.c:1007
ble_sm_process_result()
res
->
app_status
!=
BLE_HS_ENOTCONN
)
{
ble_sm.c:1023
ble_sm_process_result()
if
(
res
->
app_status
==
0
&&
ble_sm.c:1028
ble_sm_process_result()
ble_gap_enc_event
(
conn_handle
,
res
->
app_status
,
res
->
restore
,
res
->
bonded
)
;
ble_sm.c:1037
ble_sm_process_result()
if
(
res
->
app_status
==
0
&&
ble_sm.c:1040
ble_sm_process_result()
res
->
app_status
=
rc
;
ble_sm.c:1171
ble_sm_enc_start_exec()
res
->
app_status
=
ble_sm_start_encrypt_tx
(
cmd
)
;
ble_sm.c:1187
ble_sm_enc_restore_exec()
res
.
app_status
=
BLE_HS_HCI_ERR
(
evt_status
)
;
ble_sm.c:1277
ble_sm_enc_event_rx()
res
->
app_status
=
ble_sm_ltk_req_reply_tx
(
proc
->
conn_handle
,
proc
->
ltk
)
;
ble_sm.c:1377
ble_sm_ltk_start_exec()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:1378
ble_sm_ltk_start_exec()
res
->
app_status
=
ble_sm_ltk_req_reply_tx
(
ble_sm.c:1397
ble_sm_ltk_restore_exec()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:1400
ble_sm_ltk_restore_exec()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:1414
ble_sm_ltk_restore_exec()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:1417
ble_sm_ltk_restore_exec()
res
.
app_status
=
BLE_HS_ENOMEM
;
ble_sm.c:1449
ble_sm_ltk_req_rx()
return
res
.
app_status
;
ble_sm.c:1486
ble_sm_ltk_req_rx()
if
(
res
.
app_status
==
0
)
{
ble_sm.c:1489
ble_sm_ltk_req_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:1551
ble_sm_random_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:1552
ble_sm_random_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:1567
ble_sm_random_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:1604
ble_sm_confirm_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:1605
ble_sm_confirm_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:1620
ble_sm_confirm_rx()
res
->
app_status
=
ble_sm_gen_pair_rand
(
ble_sm_our_pair_rand
(
proc
)
)
;
ble_sm.c:1809
ble_sm_pair_exec()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:1810
ble_sm_pair_exec()
res
->
app_status
=
rc
;
ble_sm.c:1819
ble_sm_pair_exec()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
req
)
)
;
ble_sm.c:1863
ble_sm_pair_req_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:1864
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_UNSPECIFIED
)
;
ble_sm.c:1883
ble_sm_pair_req_rx()
res
->
app_status
=
rc
;
ble_sm.c:1906
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_CMD_NOT_SUPP
)
;
ble_sm.c:1924
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_CMD_NOT_SUPP
)
;
ble_sm.c:1927
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_ENC_KEY_SZ
)
;
ble_sm.c:1930
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_INVAL
)
;
ble_sm.c:1933
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_AUTHREQ
)
;
ble_sm.c:1941
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_ENC_KEY_SZ
)
;
ble_sm.c:1944
ble_sm_pair_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_AUTHREQ
)
;
ble_sm.c:1948
ble_sm_pair_req_rx()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:1970
ble_sm_pair_req_rx()
res
->
app_status
=
rc
;
ble_sm.c:1974
ble_sm_pair_req_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
rsp
)
)
;
ble_sm.c:1989
ble_sm_pair_rsp_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:1990
ble_sm_pair_rsp_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_ENC_KEY_SZ
)
;
ble_sm.c:2005
ble_sm_pair_rsp_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_INVAL
)
;
ble_sm.c:2008
ble_sm_pair_rsp_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_ENC_KEY_SZ
)
;
ble_sm.c:2014
ble_sm_pair_rsp_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_AUTHREQ
)
;
ble_sm.c:2017
ble_sm_pair_rsp_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_AUTHREQ
)
;
ble_sm.c:2024
ble_sm_pair_rsp_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_UNSPECIFIED
)
;
ble_sm.c:2042
ble_sm_pair_rsp_rx()
res
->
app_status
=
BLE_HS_ENOMEM
;
ble_sm.c:2063
ble_sm_sec_req_exec()
res
->
app_status
=
rc
;
ble_sm.c:2070
ble_sm_sec_req_exec()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:2087
ble_sm_sec_req_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:2088
ble_sm_sec_req_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_CMD_NOT_SUPP
)
;
ble_sm.c:2102
ble_sm_sec_req_rx()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:2116
ble_sm_sec_req_rx()
res
->
app_status
=
ble_store_read_peer_sec
(
&
key_sec
,
&
value_sec
)
;
ble_sm.c:2121
ble_sm_sec_req_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:2123
ble_sm_sec_req_rx()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:2125
ble_sm_sec_req_rx()
res
->
app_status
=
BLE_HS_EREJECT
;
ble_sm.c:2131
ble_sm_sec_req_rx()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:2145
ble_sm_sec_req_rx()
res
->
app_status
=
ble_sm_enc_initiate
(
conn_handle
,
ble_sm.c:2146
ble_sm_sec_req_rx()
res
->
app_status
=
ble_sm_pair_initiate
(
conn_handle
)
;
ble_sm.c:2153
ble_sm_sec_req_rx()
res
->
app_status
=
0
;
ble_sm.c:2175
ble_sm_key_exch_success()
res
->
app_status
=
rc
;
ble_sm.c:2398
ble_sm_key_exch_exec()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:2427
ble_sm_enc_info_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:2428
ble_sm_enc_info_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:2444
ble_sm_enc_info_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:2466
ble_sm_master_id_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:2467
ble_sm_master_id_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:2483
ble_sm_master_id_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:2506
ble_sm_id_info_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:2507
ble_sm_id_info_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:2523
ble_sm_id_info_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:2545
ble_sm_id_addr_info_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:2546
ble_sm_id_addr_info_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:2562
ble_sm_id_addr_info_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:2584
ble_sm_sign_info_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm.c:2585
ble_sm_sign_info_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm.c:2601
ble_sm_sign_info_rx()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm.c:2629
ble_sm_fail_rx()
if
(
res
->
app_status
==
0
)
{
ble_sm.c:2630
ble_sm_fail_rx()
res
->
app_status
=
BLE_HS_SM_PEER_ERR
(
cmd
->
reason
)
;
ble_sm.c:2633
ble_sm_fail_rx()
res
.
app_status
=
BLE_HS_EALREADY
;
ble_sm.c:2800
ble_sm_pair_initiate()
res
.
app_status
=
BLE_HS_ENOMEM
;
ble_sm.c:2814
ble_sm_pair_initiate()
return
res
.
app_status
;
ble_sm.c:2831
ble_sm_pair_initiate()
res
.
app_status
=
BLE_HS_EALREADY
;
ble_sm.c:2847
ble_sm_slave_initiate()
res
.
app_status
=
BLE_HS_ENOMEM
;
ble_sm.c:2854
ble_sm_slave_initiate()
return
res
.
app_status
;
ble_sm.c:2870
ble_sm_slave_initiate()
res
.
app_status
=
BLE_HS_EALREADY
;
ble_sm.c:2891
ble_sm_enc_initiate()
res
.
app_status
=
BLE_HS_ENOMEM
;
ble_sm.c:2898
ble_sm_enc_initiate()
return
res
.
app_status
;
ble_sm.c:2923
ble_sm_enc_initiate()
rc
=
res
.
app_status
;
ble_sm.c:2961
ble_sm_rx()
return
res
.
app_status
;
ble_sm.c:3073
ble_sm_inject_io()
res
.
app_status
=
BLE_HS_ENOTCONN
;
ble_sm.c:3082
ble_sm_connection_broken()
res
->
app_status
=
rc
;
ble_sm_lgcy.c:152
ble_sm_lgcy_confirm_exec()
res
->
app_status
=
BLE_HS_ENOMEM
;
ble_sm_lgcy.c:185
ble_sm_lgcy_random_exec()
res
->
app_status
=
rc
;
ble_sm_lgcy.c:195
ble_sm_lgcy_random_exec()
res
->
app_status
=
rc
;
ble_sm_lgcy.c:221
ble_sm_lgcy_random_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_CONFIRM_MISMATCH
)
;
ble_sm_lgcy.c:229
ble_sm_lgcy_random_rx()
res
->
app_status
=
rc
;
ble_sm_lgcy.c:238
ble_sm_lgcy_random_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_UNSPECIFIED
)
;
ble_sm_sc.c:276
ble_sm_sc_oob_confirm()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_CONFIRM_MISMATCH
)
;
ble_sm_sc.c:285
ble_sm_sc_oob_confirm()
res
->
app_status
=
rc
;
ble_sm_sc.c:309
ble_sm_sc_confirm_exec()
res
->
app_status
=
rc
;
ble_sm_sc.c:318
ble_sm_sc_confirm_exec()
res
->
app_status
=
rc
;
ble_sm_sc.c:328
ble_sm_sc_confirm_exec()
res
->
app_status
=
rc
;
ble_sm_sc.c:336
ble_sm_sc_confirm_exec()
res
->
app_status
=
ble_sm_alg_g2
(
pka
,
pkb
,
proc
->
randm
,
proc
->
rands
,
ble_sm_sc.c:360
ble_sm_sc_gen_numcmp()
if
(
res
->
app_status
!=
0
)
{
ble_sm_sc.c:362
ble_sm_sc_gen_numcmp()
res
->
app_status
=
rc
;
ble_sm_sc.c:412
ble_sm_sc_random_exec()
res
->
app_status
=
rc
;
ble_sm_sc.c:421
ble_sm_sc_random_exec()
res
->
app_status
=
rc
;
ble_sm_sc.c:463
ble_sm_sc_random_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_CONFIRM_MISMATCH
)
;
ble_sm_sc.c:471
ble_sm_sc_random_rx()
res
->
app_status
=
rc
;
ble_sm_sc.c:483
ble_sm_sc_random_rx()
res
->
app_status
=
ble_sm_sc_ensure_keys_generated
(
)
;
ble_sm_sc.c:543
ble_sm_sc_public_key_exec()
if
(
res
->
app_status
!=
0
)
{
ble_sm_sc.c:544
ble_sm_sc_public_key_exec()
res
->
app_status
=
BLE_HS_ENOMEM
;
ble_sm_sc.c:552
ble_sm_sc_public_key_exec()
res
->
app_status
=
ble_sm_tx
(
proc
->
conn_handle
,
txom
)
;
ble_sm_sc.c:561
ble_sm_sc_public_key_exec()
if
(
res
->
app_status
!=
0
)
{
ble_sm_sc.c:562
ble_sm_sc_public_key_exec()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm_sc.c:601
ble_sm_sc_public_key_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm_sc.c:602
ble_sm_sc_public_key_rx()
res
->
app_status
=
ble_sm_sc_ensure_keys_generated
(
)
;
ble_sm_sc.c:607
ble_sm_sc_public_key_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm_sc.c:608
ble_sm_sc_public_key_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm_sc.c:631
ble_sm_sc_public_key_rx()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_DHKEY
)
;
ble_sm_sc.c:641
ble_sm_sc_public_key_rx()
res
->
app_status
=
rc
;
ble_sm_sc.c:749
ble_sm_sc_dhkey_check_exec()
res
->
app_status
=
ble_sm_alg_f6
(
proc
->
mackey
,
ble_sm_sc.c:799
ble_sm_dhkey_check_process()
if
(
res
->
app_status
!=
0
)
{
ble_sm_sc.c:806
ble_sm_dhkey_check_process()
res
->
app_status
=
BLE_HS_SM_US_ERR
(
BLE_SM_ERR_DHKEY
)
;
ble_sm_sc.c:815
ble_sm_dhkey_check_process()
res
->
app_status
=
ble_hs_mbuf_pullup_base
(
om
,
sizeof
(
*
cmd
)
)
;
ble_sm_sc.c:845
ble_sm_sc_dhkey_check_rx()
if
(
res
->
app_status
!=
0
)
{
ble_sm_sc.c:846
ble_sm_sc_dhkey_check_rx()
res
->
app_status
=
BLE_HS_ENOENT
;
ble_sm_sc.c:862
ble_sm_sc_dhkey_check_rx()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ble_sm_result::app_status
is written by 41 functions and is read by 26 functions:
ble_sm_rx_noop()
ble_sm_exec()
ble_sm_process_result()
ble_sm_enc_start_exec()
ble_sm_enc_restore_exec()
ble_sm_enc_event_rx()
ble_sm_ltk_start_exec()
ble_sm_ltk_restore_exec()
ble_sm_ltk_req_rx()
ble_sm_random_rx()
ble_sm_confirm_rx()
ble_sm_pair_exec()
ble_sm_pair_req_rx()
ble_sm_pair_rsp_rx()
ble_sm_sec_req_exec()
ble_sm_sec_req_rx()
ble_sm_key_exch_success()
ble_sm_key_exch_exec()
ble_sm_enc_info_rx()
ble_sm_master_id_rx()
ble_sm_id_info_rx()
ble_sm_id_addr_info_rx()
ble_sm_sign_info_rx()
ble_sm_fail_rx()
ble_sm_pair_initiate()
ble_sm_slave_initiate()
ble_sm_enc_initiate()
ble_sm_connection_broken()
ble_sm_lgcy_confirm_exec()
ble_sm_lgcy_random_exec()
ble_sm_lgcy_random_rx()
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_dhkey_check_rx()
All items filtered out
ble_sm_result::app_status
ble_sm_process_result()
ble_sm_ltk_start_exec()
ble_sm_ltk_restore_exec()
ble_sm_ltk_req_rx()
ble_sm_random_rx()
ble_sm_confirm_rx()
ble_sm_pair_exec()
ble_sm_pair_req_rx()
ble_sm_pair_rsp_rx()
ble_sm_sec_req_rx()
ble_sm_enc_info_rx()
ble_sm_master_id_rx()
ble_sm_id_info_rx()
ble_sm_id_addr_info_rx()
ble_sm_sign_info_rx()
ble_sm_fail_rx()
ble_sm_pair_initiate()
ble_sm_slave_initiate()
ble_sm_enc_initiate()
ble_sm_rx()
ble_sm_inject_io()
ble_sm_sc_gen_numcmp()
ble_sm_sc_public_key_exec()
ble_sm_sc_public_key_rx()
ble_sm_dhkey_check_process()
ble_sm_sc_dhkey_check_rx()
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