mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
components/bt: Add precautions for esp_vhci_host_send_packet (backport 3.2)
This commit is contained in:
parent
30f2371917
commit
5568ca2855
@ -326,8 +326,12 @@ bool esp_vhci_host_check_send_available(void);
|
|||||||
|
|
||||||
/** @brief esp_vhci_host_send_packet
|
/** @brief esp_vhci_host_send_packet
|
||||||
* host send packet to controller
|
* host send packet to controller
|
||||||
|
*
|
||||||
|
* Should not call this function from within a critical section
|
||||||
|
* or when the scheduler is suspended.
|
||||||
|
*
|
||||||
* @param data the packet point
|
* @param data the packet point
|
||||||
*,@param len the packet length
|
* @param len the packet length
|
||||||
*/
|
*/
|
||||||
void esp_vhci_host_send_packet(uint8_t *data, uint16_t len);
|
void esp_vhci_host_send_packet(uint8_t *data, uint16_t len);
|
||||||
|
|
||||||
@ -453,11 +457,11 @@ void esp_bt_controller_wakeup_request(void);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Manually clear scan duplicate list
|
* @brief Manually clear scan duplicate list
|
||||||
*
|
*
|
||||||
* Note that scan duplicate list will be automatically cleared when the maximum amount of device in the filter is reached
|
* Note that scan duplicate list will be automatically cleared when the maximum amount of device in the filter is reached
|
||||||
* the amount of device in the filter can be configured in menuconfig.
|
* the amount of device in the filter can be configured in menuconfig.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* - ESP_OK : success
|
* - ESP_OK : success
|
||||||
* - other : failed
|
* - other : failed
|
||||||
|
Loading…
Reference in New Issue
Block a user