Skip to content

Commit df8c0f2

Browse files
committed
Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod_v4.4' into 'release/v4.4'
bt: Optimized the document for GAP API: esp_bt_gap_set_cod (v4.4) See merge request espressif/esp-idf!22995
2 parents f67cb1d + 8daf85b commit df8c0f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/bt/host/bluedroid/api/include/api/esp_gap_bt_api.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,9 @@ esp_err_t esp_bt_gap_config_eir_data(esp_bt_eir_data_t *eir_data);
584584
/**
585585
* @brief This function is called to set class of device.
586586
* The structure esp_bt_gap_cb_t will be called with ESP_BT_GAP_SET_COD_EVT after set COD ends.
587-
* Some profile have special restrictions on class of device, changes may cause these profile do not work.
587+
* This function should be called after Bluetooth profiles are initialized, otherwise the user configured
588+
* class of device can be overwritten.
589+
* Some profiles have special restrictions on class of device, and changes may make these profiles unable to work.
588590
*
589591
* @param[in] cod - class of device
590592
* @param[in] mode - setting mode

0 commit comments

Comments
 (0)