summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-02-15 23:36:15 -0600
committerDenis Kenzior <denkenz@gmail.com>2011-02-16 00:23:44 -0600
commit376a72bdc027a60c8f87878187ea91c2beb755ae (patch)
treed1eac913e2882a3c2fe9022cbab742bc2f02510d /plugins
parent4a75e91c094d67ce47624c14bc12896543b6a403 (diff)
downloadofono-376a72bdc027a60c8f87878187ea91c2beb755ae.tar.bz2
hfp_ag: Reformat SDP record
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_ag.c84
1 files changed, 42 insertions, 42 deletions
diff --git a/plugins/hfp_ag.c b/plugins/hfp_ag.c
index c43275b2..41081c51 100644
--- a/plugins/hfp_ag.c
+++ b/plugins/hfp_ag.c
@@ -43,48 +43,48 @@ static GList *modems;
static guint channel_watch;
static const gchar *hfp_ag_record =
-"<?xml version=\"1.0\" encoding=\"UTF-8\" ?> \
-<record> \
- <attribute id=\"0x0001\"> \
- <sequence> \
- <uuid value=\"0x111F\"/> \
- <uuid value=\"0x1203\"/> \
- </sequence> \
- </attribute> \
- \
- <attribute id=\"0x0004\"> \
- <sequence> \
- <sequence> \
- <uuid value=\"0x0100\"/> \
- </sequence> \
- <sequence> \
- <uuid value=\"0x0003\"/> \
- <uint8 value=\"13\" name=\"channel\"/> \
- </sequence> \
- </sequence> \
- </attribute> \
- \
- <attribute id=\"0x0009\"> \
- <sequence> \
- <sequence> \
- <uuid value=\"0x111E\"/> \
- <uint16 value=\"0x0105\" name=\"version\"/> \
- </sequence> \
- </sequence> \
- </attribute> \
- \
- <attribute id=\"0x0100\"> \
- <text value=\"Hands-Free Audio Gateway\" name=\"name\"/> \
- </attribute> \
- \
- <attribute id=\"0x0301\"> \
- <uint8 value=\"0x01\" /> \
- </attribute> \
- \
- <attribute id=\"0x0311\"> \
- <uint16 value=\"0x0000\" /> \
- </attribute> \
-</record>";
+"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
+"<record>\n"
+" <attribute id=\"0x0001\">\n"
+" <sequence>\n"
+" <uuid value=\"0x111F\"/>\n"
+" <uuid value=\"0x1203\"/>\n"
+" </sequence>\n"
+" </attribute>\n"
+"\n"
+" <attribute id=\"0x0004\">\n"
+" <sequence>\n"
+" <sequence>\n"
+" <uuid value=\"0x0100\"/>\n"
+" </sequence>\n"
+" <sequence>\n"
+" <uuid value=\"0x0003\"/>\n"
+" <uint8 value=\"13\" name=\"channel\"/>\n"
+" </sequence>\n"
+" </sequence>\n"
+" </attribute>\n"
+"\n"
+" <attribute id=\"0x0009\">\n"
+" <sequence>\n"
+" <sequence>\n"
+" <uuid value=\"0x111E\"/>\n"
+" <uint16 value=\"0x0105\" name=\"version\"/>\n"
+" </sequence>\n"
+" </sequence>\n"
+" </attribute>\n"
+"\n"
+" <attribute id=\"0x0100\">\n"
+" <text value=\"Hands-Free Audio Gateway\" name=\"name\"/>\n"
+" </attribute>\n"
+"\n"
+" <attribute id=\"0x0301\">\n"
+" <uint8 value=\"0x01\" />\n"
+" </attribute>\n"
+"\n"
+" <attribute id=\"0x0311\">\n"
+" <uint16 value=\"0x0000\" />\n"
+" </attribute>\n"
+"</record>\n";
static gboolean hfp_ag_disconnect_cb(GIOChannel *io, GIOCondition cond,
gpointer user_data)