equal
deleted
inserted
replaced
354 TRACE_INFO((_L("Accessory supports Headset profile."))) |
354 TRACE_INFO((_L("Accessory supports Headset profile."))) |
355 |
355 |
356 if (iServiceAttrs[ii].iAttrValue) |
356 if (iServiceAttrs[ii].iAttrValue) |
357 { |
357 { |
358 TRACE_INFO((_L("HSP Remote volume control is supported."))) |
358 TRACE_INFO((_L("HSP Remote volume control is supported."))) |
359 // Server is going to feed 0x10 to supported features for headset profile |
359 // Server is going to feed 0x10 to supported features for headset profile. |
360 aInfo.SetSupportedFeature(0x10, TAccInfo::EHSPIndex); |
360 // The SDP of HSP doesn't really use supported feature attribute. |
|
361 // We save RVC support in supported feature field for internal future use only. |
|
362 // This approach is consistent with Accessory framework API. |
|
363 aInfo.SetSupportedFeature(KHspRemoteVolumeControlSupport, TAccInfo::EHSPIndex); |
361 } |
364 } |
362 } |
365 } |
363 else if ( iServiceAttrs[ii].iUUID == KAVRemoteControlTargetUUID ) |
366 else if ( iServiceAttrs[ii].iUUID == KAVRemoteControlTargetUUID ) |
364 { |
367 { |
365 if(iServiceAttrs[ii].iAttrID == KSdpAttrIdSupportedFeatures) |
368 if(iServiceAttrs[ii].iAttrID == KSdpAttrIdSupportedFeatures) |