Optimized the document for GAP API:

`esp_bt_gap_set_cod`
This commit is contained in:
Jin Cheng 2023-03-23 11:20:10 +08:00
parent defae704e4
commit cb68c7cba1

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. * @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. * 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] cod - class of device
* @param[in] mode - setting mode * @param[in] mode - setting mode