BLE: about the connection parameter setting.

zhuzhu0902102
Posts: 2
Joined: Mon Nov 20, 2017 4:44 am

BLE: about the connection parameter setting.

Postby zhuzhu0902102 » Tue Dec 26, 2017 8:48 am

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.

Who is online

Users browsing this forum: No registered users and 108 guests