ESP-IDF
tBTM_PM_MCB
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/5)...
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
tBTM_PM_MCB struct
Syntax
Show:
Summary
Declaration
from
btm_int.h:98
typedef
struct
{
tBTM_PM_PWR_MD
req_mode
[
BTM_MAX_PM_RECORDS
+
1
]
;
tBTM_PM_PWR_MD
set_mode
;
UINT16
interval
;
#if
(
BTM_SSR_INCLUDED
==
TRUE
)
UINT16
max_lat
;
UINT16
min_rmt_to
;
UINT16
min_loc_to
;
#endif
tBTM_PM_STATE
state
;
BOOLEAN
chg_ind
;
}
tBTM_PM_MCB
;
Fields
Field
Declared as
tBTM_PM_MCB::req_mode
tBTM_PM_PWR_MD
[
BTM_MAX_PM_RECORDS
+
1
]
tBTM_PM_MCB::set_mode
tBTM_PM_PWR_MD
tBTM_PM_MCB::interval
UINT16
tBTM_PM_MCB::state
tBTM_PM_STATE
tBTM_PM_MCB::chg_ind
BOOLEAN
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
btm_int.h:98
}
tBTM_PM_MCB
;
btm_int.h:109
tBTM_PM_MCB
tBTM_PM_MCB
*
p_pm_mode_db
;
/* Pointer to PM mode control block per ACL link */
btm_int.h:168
tACL_CONN
tACL_CONN::p_pm_mode_db
tBTM_PM_MCB
*
btm_pm_sm_alloc
(
void
)
;
btm_int.h:1091
btm_pm_sm_alloc()
tBTM_PM_MCB
*
p_cb
=
NULL
;
/* per ACL link */
btm_pm.c:177
BTM_SetPowerMode()
tBTM_PM_MCB
*
btm_pm_sm_alloc
(
void
)
btm_pm.c:385
btm_pm_sm_alloc()
tBTM_PM_MCB
*
p_db
=
(
tBTM_PM_MCB
*
)
osi_malloc
(
sizeof
(
tBTM_PM_MCB
)
)
;
/* per ACL link */
btm_pm.c:387
btm_pm_sm_alloc()
memset
(
p_db
,
0
,
sizeof
(
tBTM_PM_MCB
)
)
;
btm_pm.c:389
btm_pm_sm_alloc()
osi_free
(
p_db
)
;
btm_pm.c:392
btm_pm_sm_alloc()
osi_free
(
p_db
)
;
btm_pm.c:396
btm_pm_sm_alloc()
static
tBTM_PM_MODE
btm_pm_get_set_mode
(
UINT8
pm_id
,
tBTM_PM_MCB
*
p_cb
,
tBTM_PM_PWR_MD
*
p_mode
,
tBTM_PM_PWR_MD
*
p_res
)
btm_pm.c:489
btm_pm_get_set_mode()
btm_pm_get_set_mode()::p_cb
tBTM_PM_MCB
*
p_cb
=
p_acl_cb
->
p_pm_mode_db
;
btm_pm.c:553
btm_pm_snd_md_req()
tBTM_PM_MCB
*
p_cb
;
btm_pm.c:701
btm_pm_proc_cmd_status()
tBTM_PM_MCB
*
p_cb
=
NULL
;
btm_pm.c:759
btm_pm_proc_mode_change()
p_cb
=
(
tBTM_PM_MCB
*
)
list_node
(
p_node
)
;
btm_pm.c:805
btm_pm_proc_mode_change()
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
Instance
Scope
Location
Project
tACL_CONN::p_pm_mode_db
tACL_CONN
btm_int.h:168
return
btm_pm_sm_alloc()
btm_int.h:1091
return
btm_pm_sm_alloc()
btm_pm.c:385
btm_pm_get_set_mode()::p_cb
btm_pm_get_set_mode()
btm_pm.c:489
Lifecycle
from
examples
tBTM_PM_MCB
is freed by 1 symbol:
All items filtered out
tBTM_PM_MCB
btm_pm_sm_alloc()
All items filtered out