ESP-IDF
BTM_BLE_ISVALID_PARAM
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
BTM_BLE_ISVALID_PARAM
BTM_BLE_ISVALID_PARAM macro
Syntax
Show:
Summary
Declaration
from
btm_ble_int.h:146
#define
BTM_BLE_ISVALID_PARAM
(
x
,
min
,
max
)
(
(
(
x
)
>=
(
min
)
&&
(
x
)
<=
(
max
)
)
||
(
(
x
)
==
BTM_BLE_CONN_PARAM_UNDEF
)
)
Arguments
Argument
x
min
max
Examples
References
from
examples
Code
Location
#define
BTM_BLE_ISVALID_PARAM
(
x
,
min
,
max
)
(
(
(
x
)
>=
(
min
)
&&
(
x
)
<=
(
max
)
)
||
(
(
x
)
==
BTM_BLE_CONN_PARAM_UNDEF
)
)
btm_ble_int.h:146
if
(
BTM_BLE_ISVALID_PARAM
(
scan_interval
,
BTM_BLE_SCAN_INT_MIN
,
BTM_BLE_SCAN_INT_MAX
)
&&
btm_ble.c:574
BTM_BLE_ISVALID_PARAM
(
scan_window
,
BTM_BLE_SCAN_WIN_MIN
,
BTM_BLE_SCAN_WIN_MAX
)
)
{
btm_ble.c:575
if
(
BTM_BLE_ISVALID_PARAM
(
min_conn_int
,
BTM_BLE_CONN_INT_MIN
,
BTM_BLE_CONN_INT_MAX
)
&&
btm_ble.c:622
BTM_BLE_ISVALID_PARAM
(
max_conn_int
,
BTM_BLE_CONN_INT_MIN
,
BTM_BLE_CONN_INT_MAX
)
&&
btm_ble.c:623
BTM_BLE_ISVALID_PARAM
(
supervision_tout
,
BTM_BLE_CONN_SUP_TOUT_MIN
,
BTM_BLE_CONN_SUP_TOUT_MAX
)
&&
btm_ble.c:624
if
(
(
BTM_BLE_ISVALID_PARAM
(
scan_interval
,
BTM_BLE_SCAN_INT_MIN
,
BTM_BLE_SCAN_INT_MAX
)
||
btm_ble_batchscan.c:721
BTM_BLE_ISVALID_PARAM
(
scan_window
,
BTM_BLE_SCAN_WIN_MIN
,
BTM_BLE_SCAN_WIN_MAX
)
)
btm_ble_batchscan.c:722
if
(
!
BTM_BLE_ISVALID_PARAM
(
adv_int_min
,
BTM_BLE_ADV_INT_MIN
,
BTM_BLE_ADV_INT_MAX
)
||
btm_ble_gap.c:1476
!
BTM_BLE_ISVALID_PARAM
(
adv_int_max
,
BTM_BLE_ADV_INT_MIN
,
BTM_BLE_ADV_INT_MAX
)
)
{
btm_ble_gap.c:1477
if
(
!
BTM_BLE_ISVALID_PARAM
(
adv_int_min
,
BTM_BLE_ADV_INT_MIN
,
BTM_BLE_ADV_INT_MAX
)
||
btm_ble_gap.c:1540
!
BTM_BLE_ISVALID_PARAM
(
adv_int_max
,
BTM_BLE_ADV_INT_MIN
,
BTM_BLE_ADV_INT_MAX
)
)
{
btm_ble_gap.c:1541
if
(
BTM_BLE_ISVALID_PARAM
(
scan_interval
,
BTM_BLE_SCAN_INT_MIN
,
max_scan_interval
)
&&
btm_ble_gap.c:1679
BTM_BLE_ISVALID_PARAM
(
scan_window
,
BTM_BLE_SCAN_WIN_MIN
,
max_scan_window
)
&&
btm_ble_gap.c:1680
if
(
BTM_BLE_ISVALID_PARAM
(
scan_interval
,
BTM_BLE_SCAN_INT_MIN
,
max_scan_interval
)
&&
btm_ble_gap.c:1728
BTM_BLE_ISVALID_PARAM
(
scan_window
,
BTM_BLE_SCAN_WIN_MIN
,
max_scan_window
)
&&
btm_ble_gap.c:1729
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
Lifecycle
from
examples
All items filtered out
All items filtered out