I am working on ble GATT client. Can anyone explain to me more about BLE reconnection and auto-connection?
I have seen esp_ble_gattc_open function,
Code: Select all
esp_ble_gattc_open(gl_profile_tab[PROFILE].gattc_if, scan_result->scan_rst.bda, scan_result->scan_rst.ble_addr_type, true);
I don't really want to scan each time and connect to the ble server. How can I save the bd_address and connect directly to the server without scanning for device each time?