File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
components/bt/host/bluedroid Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ typedef union {
225225 */
226226 struct sdp_remove_record_evt_param {
227227 esp_sdp_status_t status ; /*!< Status */
228+ int record_handle ; /*!< SDP record handle */
228229 } remove_record ; /*!< SDP callback param of ESP_SDP_REMOVE_RECORD_COMP_EVT */
229230
230231} esp_sdp_cb_param_t ;
Original file line number Diff line number Diff line change @@ -1273,7 +1273,8 @@ static void btc_sdp_remove_record(btc_sdp_args_t *arg)
12731273 } while (0 );
12741274
12751275 if (ret != ESP_SDP_SUCCESS ) {
1276- param .create_record .status = ret ;
1276+ param .remove_record .status = ret ;
1277+ param .remove_record .record_handle = arg -> remove_record .record_handle ;
12771278 btc_sdp_cb_to_app (ESP_SDP_REMOVE_RECORD_COMP_EVT , & param );
12781279 }
12791280}
@@ -1422,6 +1423,7 @@ void btc_sdp_cb_handler(btc_msg_t *msg)
14221423 }
14231424
14241425 param .remove_record .status = p_data -> sdp_remove_record .status ;
1426+ param .remove_record .record_handle = p_data -> sdp_remove_record .handle ;
14251427 btc_sdp_cb_to_app (ESP_SDP_REMOVE_RECORD_COMP_EVT , & param );
14261428 break ;
14271429 default :
You can’t perform that action at this time.
0 commit comments