forked from espressif/esp-idf
fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc_response and correct the error return in btc_hf_indchange_notification
1: modify the description of param index in function esp_hf_ag_clcc_response. 2: fix the error code return of function btc_hf_indchange_notification.
This commit is contained in:
committed by
gongyantao
parent
60c5dbad59
commit
e5996b3e86
@@ -505,7 +505,7 @@ esp_err_t esp_bt_hf_cops_response(esp_bd_addr_t remote_addr, char *name);
|
||||
* As a precondition to use this API, Service Level Connection shall exist with HFP client.
|
||||
*
|
||||
* @param[in] remote_addr: remote bluetooth device address
|
||||
* @param[in] index: the index of current call
|
||||
* @param[in] index: the index of current call, starting with 1, finishing response with 0 (send OK)
|
||||
* @param[in] dir: call direction (incoming/outgoing)
|
||||
* @param[in] current_call_state: current call state
|
||||
* @param[in] mode: current call mode (voice/data/fax)
|
||||
|
@@ -513,7 +513,7 @@ static bt_status_t btc_hf_indchange_notification(bt_bdaddr_t *bd_addr,
|
||||
send_indicator_update(BTA_AG_IND_SIGNAL, signal);
|
||||
return BT_STATUS_SUCCESS;
|
||||
}
|
||||
return BT_STATUS_SUCCESS;
|
||||
return BT_STATUS_FAIL;
|
||||
}
|
||||
|
||||
//AT+CIND response
|
||||
|
Reference in New Issue
Block a user