Skip to content

Commit 8daf85b

Browse files
Optimized the document for GAP API:
`esp_bt_gap_set_cod`
1 parent 647cc43 commit 8daf85b

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)