ESP-IDF
tBTM_PM_MCB::state
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
tBTM_PM_MCB::state
tBTM_PM_MCB::state field
Syntax
Show:
Summary
Declaration
from
btm_int.h:107
tBTM_PM_STATE
state
;
Examples
References
from
examples
Code
Location
Referrer
tBTM_PM_STATE
state
;
/* contains the current mode of the connection */
btm_int.h:107
if
(
mode
==
p_cb
->
state
)
{
/* the requested mode is current mode */
btm_pm.c:211
BTM_SetPowerMode()
if
(
(
p_cb
->
state
==
BTM_PM_STS_HOLD
)
||
btm_pm.c:244
BTM_SetPowerMode()
(
p_cb
->
state
==
BTM_PM_STS_PENDING
)
||
btm_pm.c:245
BTM_SetPowerMode()
(
p_cb
->
state
&
BTM_PM_STORED_MASK
)
)
{
/* command pending */
btm_pm.c:247
BTM_SetPowerMode()
p_cb
->
state
|=
BTM_PM_STORED_MASK
;
btm_pm.c:250
BTM_SetPowerMode()
*
p_mode
=
p_acl_cb
->
p_pm_mode_db
->
state
;
btm_pm.c:288
BTM_ReadPowerMode()
p_db
->
state
=
BTM_PM_ST_ACTIVE
;
btm_pm.c:390
btm_pm_sm_alloc()
if
(
p_cb
->
state
==
mode
)
{
btm_pm.c:564
btm_pm_snd_md_req()
if
(
mode
!=
BTM_PM_MD_ACTIVE
&&
p_cb
->
state
!=
BTM_PM_MD_ACTIVE
)
{
btm_pm.c:578
btm_pm_snd_md_req()
BTM_TRACE_DEBUG
(
"%s switching from %s to %s."
,
__func__
,
mode_to_string
(
p_cb
->
state
)
,
mode_to_string
(
md_res
.
mode
)
)
;
btm_pm.c:602
btm_pm_snd_md_req()
switch
(
p_cb
->
state
)
{
btm_pm.c:605
btm_pm_snd_md_req()
if
(
p_acl_cb
->
p_pm_mode_db
->
state
&
BTM_PM_STORED_MASK
)
{
btm_pm.c:676
btm_pm_check_stored()
p_acl_cb
->
p_pm_mode_db
->
state
&=
~
BTM_PM_STORED_MASK
;
btm_pm.c:677
btm_pm_check_stored()
p_cb
->
state
=
BTM_PM_ST_PENDING
;
btm_pm.c:717
btm_pm_proc_cmd_status()
old_state
=
p_cb
->
state
;
btm_pm.c:772
btm_pm_proc_mode_change()
p_cb
->
state
=
mode
;
btm_pm.c:773
btm_pm_proc_mode_change()
BTM_TRACE_DEBUG
(
"%s switched from %s to %s."
,
__func__
,
mode_to_string
(
old_state
)
,
mode_to_string
(
p_cb
->
state
)
)
;
btm_pm.c:776
btm_pm_proc_mode_change()
if
(
(
p_cb
->
state
==
BTM_PM_ST_ACTIVE
)
||
(
p_cb
->
state
==
BTM_PM_ST_SNIFF
)
)
{
btm_pm.c:779
btm_pm_proc_mode_change()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tBTM_PM_MCB::state
is written by 5 functions and is read by 5 functions:
BTM_SetPowerMode()
btm_pm_sm_alloc()
btm_pm_check_stored()
btm_pm_proc_cmd_status()
btm_pm_proc_mode_change()
All items filtered out
tBTM_PM_MCB::state
BTM_SetPowerMode()
BTM_ReadPowerMode()
btm_pm_snd_md_req()
btm_pm_check_stored()
btm_pm_proc_mode_change()
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