esp_a2d_source_connect() function
Connect to remote A2DP sink device. This API must be called after esp_a2d_source_init() and before esp_a2d_source_deinit().
Arguments
remote_bda
remote bluetooth device address
Return value
- ESP_OK: connect request is sent to lower layer successfully - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - ESP_FAIL: others
Examples
esp_a2d_source_connect() is referenced by 1 libraries and example projects: