OSDN Git Service

Do not advertise Voice Recognition support in HF AG SDP record.
authorNick Pelly <npelly@google.com>
Tue, 1 Sep 2009 17:20:07 +0000 (10:20 -0700)
committerNick Pelly <npelly@google.com>
Tue, 1 Sep 2009 17:29:07 +0000 (10:29 -0700)
tools/sdptool.c

index c1fdcd4..d74c08b 100644 (file)
@@ -1615,6 +1615,9 @@ static int add_handsfree_ag(sdp_session_t *session, svc_info_t *si)
        sdp_record_t record;
        uint8_t u8 = si->channel ? si->channel : 7;
        uint16_t u16 = 0x17;
+#ifdef ANDROID
+       u16 = 0x03;
+#endif
        sdp_data_t *channel, *features;
        uint8_t netid = si->network ? si->network : 0x01; // ???? profile document
        sdp_data_t *network = sdp_data_alloc(SDP_UINT8, &netid);