There are some questions about connection parameter setting, while I use the demo of gatt_client and gatt_server.
Question 1: May I modify the CONNECT_REQ parameters in the application on ESP32 as a client, and how to change it?
The CONNECT_REQ paramter :
Connection Interval (ms): max and min Interval
Latency:
Timeout:
Question 2: Whether there is no need to set the connection parameters in the application on ESP32 as a server? I only find a function of esp_ble_gap_update_conn_params() is be used, and that is not properly of the using in the demo of gatt_server.
Question 3: I want to know how to use esp_err_t esp_ble_gap_set_prefer_conn_params(esp_bd_addr_t bd_addr,
uint16_t min_conn_int, uint16_t max_conn_int,
uint16_t slave_latency, uint16_t supervision_tout);
when I put this function before the esp_ble_gattc_open() in the demo of gatt_client, but the client can't normally connect to server.
Is there anyone could help me and give me the answer about the above questions, thank very much.
BLE: about the connection parameter setting.
-
- Posts: 2
- Joined: Mon Nov 20, 2017 4:44 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: cdollar and 106 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.