Start the process to establish OBEX connection used in Cover Art Client. Once the operation done, ESP_AVRC_CT_COVER_ART_STATE_EVT will come, operation result can be found in event param. This API can be used only when AVRC Cover Art feature is enabled.
MTU used in lower level connection, should not smaller than ESP_AVRC_CA_MTU_MIN or larger than ESP_AVRC_CA_MTU_MAX, if value is not valid, will be reset to ESP_AVRC_CA_MTU_MAX. This can limit the max data length in cover_art_data event.
Return value
- ESP_OK: success - ESP_ERR_INVALID_STATE: if bluetooth stack is not enabled or AVRC CT is not initialized - ESP_ERR_NOT_SUPPORTED: if peer device does not support Cover Art function
Examples
esp_avrc_ct_cover_art_connect() is referenced by 1 libraries and example projects: