Home
last modified time | relevance | path

Searched refs:p_rc_open (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.4.0/components/bt/host/bluedroid/btc/profile/std/avrc/
Dbtc_avrc.c40 static void handle_rc_connect (tBTA_AV_RC_OPEN *p_rc_open);
435 static void handle_rc_connect (tBTA_AV_RC_OPEN *p_rc_open) in handle_rc_connect() argument
437 BTC_TRACE_DEBUG("%s: rc_handle: %d", __FUNCTION__, p_rc_open->rc_handle); in handle_rc_connect()
440 if (p_rc_open->status == BTA_AV_SUCCESS) { in handle_rc_connect()
444 and Current RC: %d", btc_rc_cb.rc_handle, p_rc_open->rc_handle ); in handle_rc_connect()
445 if ((btc_rc_cb.rc_handle != p_rc_open->rc_handle) in handle_rc_connect()
446 && (bdcmp(btc_rc_cb.rc_addr, p_rc_open->peer_addr))) { in handle_rc_connect()
448 BTA_AvCloseRc(p_rc_open->rc_handle); in handle_rc_connect()
452 memcpy(btc_rc_cb.rc_addr, p_rc_open->peer_addr, sizeof(BD_ADDR)); in handle_rc_connect()
453 btc_rc_cb.rc_features = p_rc_open->peer_features; in handle_rc_connect()
[all …]