esp_hf_client_retrieve_subscriber_info() function
Get subscriber information number from AG(send AT+CNUM command) As a precondition to use this API, Service Level Connection shall exist with AG
Syntax
esp_err_t esp_hf_client_retrieve_subscriber_info(void); Return value
- ESP_OK: the retrieving of subscriber information is sent to lower layer - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - ESP_FAIL: others
esp_hf_client_retrieve_subscriber_info() calls 2 functions:
![]()
esp_hf_client_retrieve_subscriber_info()
esp_hf_client_retrieve_subscriber_info() reads 5 variables and writes 3 variables:
![]()
esp_hf_client_retrieve_subscriber_info()