Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod_v5.0' into 'release/v5.0'

bt: Optimized the document for GAP API: esp_bt_gap_set_cod (v5.0)

See merge request espressif/esp-idf!22994
This commit is contained in:
Jiang Jiang Jian 2023-05-11 17:09:31 +08:00
commit aa92f108f0

View File

@ -576,7 +576,9 @@ esp_err_t esp_bt_gap_config_eir_data(esp_bt_eir_data_t *eir_data);
/**
* @brief This function is called to set class of device.
* The structure esp_bt_gap_cb_t will be called with ESP_BT_GAP_SET_COD_EVT after set COD ends.
* Some profile have special restrictions on class of device, changes may cause these profile do not work.
* This function should be called after Bluetooth profiles are initialized, otherwise the user configured
* class of device can be overwritten.
* Some profiles have special restrictions on class of device, and changes may make these profiles unable to work.
*
* @param[in] cod - class of device
* @param[in] mode - setting mode