2012-06-05 06:46:53

by Joohi RASTOGI

[permalink] [raw]
Subject: [PATCH v2] Sets the information attribute for the service

From: Joohi Rastogi <[email protected]>

This patch adds the service name for
Device Identification Profile
---
src/sdpd-service.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/sdpd-service.c b/src/sdpd-service.c
index 39e05ab..39eff69 100644
--- a/src/sdpd-service.c
+++ b/src/sdpd-service.c
@@ -228,6 +228,8 @@ void register_device_id(void)
source_data = sdp_data_alloc(SDP_UINT16, &main_opts.did_source);
sdp_attr_add(record, 0x0205, source_data);

+ sdp_set_info_attr(record, "Device Identification", NULL, NULL);
+
update_db_timestamp();
}

--
1.7.5.4