ESP-IDF
tBTM_CB::cfg
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_CB::cfg
tBTM_CB::cfg field
Syntax
Show:
Summary
Declaration
from
btm_int.h:847
tBTM_CFG
cfg
;
Examples
References
from
examples
Code
Location
Referrer
tBTM_CFG
cfg
;
/* Device configuration */
btm_int.h:847
if
(
strlen
(
btm_cb
.
cfg
.
ble_bd_name
)
>
(
UINT16
)
(
len
-
MIN_ADV_LENGTH
)
)
{
btm_ble_gap.c:2259
btm_ble_build_adv_data()
ARRAY_TO_STREAM
(
p
,
btm_cb
.
cfg
.
ble_bd_name
,
cp_len
)
;
btm_ble_gap.c:2263
btm_ble_build_adv_data()
cp_len
=
(
UINT16
)
strlen
(
btm_cb
.
cfg
.
ble_bd_name
)
;
btm_ble_gap.c:2265
btm_ble_build_adv_data()
ARRAY_TO_STREAM
(
p
,
btm_cb
.
cfg
.
ble_bd_name
,
cp_len
)
;
btm_ble_gap.c:2268
btm_ble_build_adv_data()
memset
(
btm_cb
.
cfg
.
ble_bd_name
,
0
,
sizeof
(
tBTM_LOC_BD_NAME
)
)
;
btm_devctl.c:84
btm_dev_init()
memset
(
btm_cb
.
cfg
.
bredr_bd_name
,
0
,
sizeof
(
tBTM_LOC_BD_NAME
)
)
;
btm_devctl.c:85
btm_dev_init()
BTM_SetPinType
(
btm_cb
.
cfg
.
pin_type
,
btm_cb
.
cfg
.
pin_code
,
btm_cb
.
cfg
.
pin_code_len
)
;
btm_devctl.c:200
reset_complete()
p
=
(
UINT8
*
)
btm_cb
.
cfg
.
ble_bd_name
;
btm_devctl.c:468
BTM_SetLocalDeviceName()
BCM_STRNCPY_S
(
btm_cb
.
cfg
.
ble_bd_name
,
p_name
,
BTM_MAX_LOC_BD_NAME_LEN
)
;
btm_devctl.c:470
BTM_SetLocalDeviceName()
btm_cb
.
cfg
.
ble_bd_name
[
BTM_MAX_LOC_BD_NAME_LEN
]
=
'\0'
;
btm_devctl.c:471
BTM_SetLocalDeviceName()
p
=
(
UINT8
*
)
btm_cb
.
cfg
.
bredr_bd_name
;
btm_devctl.c:476
BTM_SetLocalDeviceName()
BCM_STRNCPY_S
(
btm_cb
.
cfg
.
bredr_bd_name
,
p_name
,
BTM_MAX_LOC_BD_NAME_LEN
)
;
btm_devctl.c:478
BTM_SetLocalDeviceName()
btm_cb
.
cfg
.
bredr_bd_name
[
BTM_MAX_LOC_BD_NAME_LEN
]
=
'\0'
;
btm_devctl.c:479
BTM_SetLocalDeviceName()
(
BCM_STRNCMP_S
(
btm_cb
.
cfg
.
bredr_bd_name
,
btm_cb
.
cfg
.
ble_bd_name
,
BTM_MAX_LOC_BD_NAME_LEN
)
!=
0
)
)
{
btm_devctl.c:523
BTM_ReadLocalDeviceName()
*
p_name
=
btm_cb
.
cfg
.
ble_bd_name
;
btm_devctl.c:530
BTM_ReadLocalDeviceName()
*
p_name
=
btm_cb
.
cfg
.
bredr_bd_name
;
btm_devctl.c:534
BTM_ReadLocalDeviceName()
if
(
(
btm_cb
.
cfg
.
pin_type
!=
pin_type
)
btm_sec.c:392
BTM_SetPinType()
btm_cb
.
cfg
.
pin_type
=
pin_type
;
btm_sec.c:397
BTM_SetPinType()
btm_cb
.
cfg
.
pin_code_len
=
pin_code_len
;
btm_sec.c:398
BTM_SetPinType()
memcpy
(
btm_cb
.
cfg
.
pin_code
,
pin_code
,
pin_code_len
)
;
btm_sec.c:399
BTM_SetPinType()
&&
(
btm_cb
.
cfg
.
pin_type
!=
HCI_PIN_TYPE_FIXED
)
)
{
btm_sec.c:1058
btm_sec_bond_by_transport()
if
(
name_size
>
strlen
(
btm_cb
.
cfg
.
bredr_bd_name
)
)
{
btm_sec.c:1793
BTM_BuildOobData()
name_size
=
(
UINT16
)
strlen
(
btm_cb
.
cfg
.
bredr_bd_name
)
;
btm_sec.c:1795
BTM_BuildOobData()
ARRAY_TO_STREAM
(
p
,
btm_cb
.
cfg
.
bredr_bd_name
,
name_size
)
;
btm_sec.c:1801
BTM_BuildOobData()
if
(
!
p_cb
->
pairing_disabled
&&
(
p_cb
->
cfg
.
pin_type
==
HCI_PIN_TYPE_FIXED
)
)
{
btm_sec.c:5078
btm_sec_pin_code_request()
btsnd_hcic_pin_code_req_reply
(
p_bda
,
p_cb
->
cfg
.
pin_code_len
,
p_cb
->
cfg
.
pin_code
)
;
btm_sec.c:5081
btm_sec_pin_code_request()
btsnd_hcic_write_pin_type
(
btm_cb
.
cfg
.
pin_type
)
;
btm_sec.c:5695
btm_restore_mode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tBTM_CB::cfg
is read by 10 functions:
All items filtered out
tBTM_CB::cfg
btm_ble_build_adv_data()
btm_dev_init()
reset_complete()
BTM_SetLocalDeviceName()
BTM_ReadLocalDeviceName()
BTM_SetPinType()
btm_sec_bond_by_transport()
BTM_BuildOobData()
btm_sec_pin_code_request()
btm_restore_mode()
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