mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-29 15:14:31 +08:00
Update HSP version to 1.2
This commit is contained in:
parent
370d874dc4
commit
a37210e15f
@ -2587,6 +2587,11 @@ int telephony_incoming_call_ind(const char *number, int type)
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
/* With HSP 1.2 the RING messages should *not* be sent if inband
|
||||
* ringtone is being used */
|
||||
if (!hs->hfp_active && (ag.features & AG_FEATURE_INBAND_RINGTONE))
|
||||
return 0;
|
||||
|
||||
g_free(ag.number);
|
||||
ag.number = g_strdup(number);
|
||||
ag.number_type = type;
|
||||
|
@ -247,7 +247,7 @@ static sdp_record_t *hsp_ag_record(uint8_t ch)
|
||||
sdp_set_service_classes(record, svclass_id);
|
||||
|
||||
sdp_uuid16_create(&profile.uuid, HEADSET_PROFILE_ID);
|
||||
profile.version = 0x0100;
|
||||
profile.version = 0x0102;
|
||||
pfseq = sdp_list_append(0, &profile);
|
||||
sdp_set_profile_descs(record, pfseq);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user