esp_avrc_tg_get_rn_evt_cap() function
Get the requested event notification capabilities on local AVRC target. The capability is returned in a bit mask representation in evt_set. This function should be called after esp_avrc_tg_init(). For capability type "ESP_AVRC_RN_CAP_ALLOWED_EVT, the retrieved event set is constant and it covers all of the notification events that can possibly be supported with current implementation. For capability type ESP_AVRC_RN_CAP_SUPPORTED_EVT, the event set covers the notification events selected to be supported under current configuration, The configuration can be changed using esp_avrc_tg_set_rn_evt_cap().
Return value
- ESP_OK: success - ESP_ERR_INVALID_STATE: if bluetooth stack is not enabled or AVRC TG is not initialized - ESP_ERR_INVALID_ARG: if cap is invalid or evt_set is NULL - ESP_FAIL: otherwise