p_scb->conn_service = 0;
p_scb->peer_features = 0;
#if (BTM_WBS_INCLUDED == TRUE )
- p_scb->peer_codecs = BTA_AG_CODEC_NONE;
- p_scb->sco_codec = BTA_AG_CODEC_NONE;
+ p_scb->peer_codecs = BTA_AG_CODEC_CVSD;
+ p_scb->sco_codec = BTA_AG_CODEC_CVSD;
#endif
p_scb->role = 0;
p_scb->svc_conn = FALSE;
p_scb->conn_service = 0;
p_scb->peer_features = 0;
#if (BTM_WBS_INCLUDED == TRUE )
- p_scb->peer_codecs = BTA_AG_CODEC_NONE;
- p_scb->sco_codec = BTA_AG_CODEC_NONE;
+ p_scb->peer_codecs = BTA_AG_CODEC_CVSD;
+ p_scb->sco_codec = BTA_AG_CODEC_CVSD;
/* Clear these flags upon SLC teardown */
p_scb->codec_updated = FALSE;
p_scb->codec_fallback = FALSE;
}
else
{
- p_scb->peer_codecs = BTA_AG_CODEC_NONE;
+ p_scb->peer_codecs = BTA_AG_CODEC_CVSD;
APPL_TRACE_ERROR("Unexpected CMD:AT+BAC, Codec Negotiation is not supported");
}
break;
p_scb->sco_idx = BTM_INVALID_SCO_INDEX;
#if (BTM_WBS_INCLUDED == TRUE )
p_scb->codec_updated = FALSE;
+ p_scb->peer_codecs = BTA_AG_CODEC_CVSD;
+ p_scb->sco_codec = BTA_AG_CODEC_CVSD;
#endif
/* set up timers */
p_scb->ring_timer = alarm_new("bta_ag.scb_ring_timer");