Home
last modified time | relevance | path

Searched refs:ESP_BLE_IS_VALID_PARAM (Results 1 – 2 of 2) sorted by relevance

/device/soc/esp/esp32/components/bt/host/bluedroid/api/include/api/
Desp_bt_defs.h80 #define ESP_BLE_IS_VALID_PARAM(x, min, max) (((x) >= (min) && (x) <= (max)) || ((x) == ESP_BLE_CON… macro
/device/soc/esp/esp32/components/bt/host/bluedroid/api/
Desp_gap_ble_api.c146 if (ESP_BLE_IS_VALID_PARAM(params->min_int, ESP_BLE_CONN_INT_MIN, ESP_BLE_CONN_INT_MAX) && in esp_ble_gap_update_conn_params()
147 ESP_BLE_IS_VALID_PARAM(params->max_int, ESP_BLE_CONN_INT_MIN, ESP_BLE_CONN_INT_MAX) && in esp_ble_gap_update_conn_params()
148ESP_BLE_IS_VALID_PARAM(params->timeout, ESP_BLE_CONN_SUP_TOUT_MIN, ESP_BLE_CONN_SUP_TOUT_MAX) && in esp_ble_gap_update_conn_params()
363 if (ESP_BLE_IS_VALID_PARAM(min_conn_int, ESP_BLE_CONN_INT_MIN, ESP_BLE_CONN_INT_MAX) && in esp_ble_gap_set_prefer_conn_params()
364 ESP_BLE_IS_VALID_PARAM(max_conn_int, ESP_BLE_CONN_INT_MIN, ESP_BLE_CONN_INT_MAX) && in esp_ble_gap_set_prefer_conn_params()
365ESP_BLE_IS_VALID_PARAM(supervision_tout, ESP_BLE_CONN_SUP_TOUT_MIN, ESP_BLE_CONN_SUP_TOUT_MAX) && in esp_ble_gap_set_prefer_conn_params()