esp_hf_client_dial() function
Place a call with a specified number, if number is NULL, last called number is called. As a precondition to use this API, Service Level Connection shall exist with AG.
Arguments
number
number string of the call. If NULL, the last number is called(aka re-dial)
Return value
- ESP_OK: a call placing is sent to lower layer - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - ESP_FAIL: others
esp_hf_client_dial() calls 2 functions:
![]()
esp_hf_client_dial()
esp_hf_client_dial() reads 7 variables and writes 3 variables:
![]()
esp_hf_client_dial()