[PATCH 6/6] obexd/message-dummy: Add MAS Instance description to response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 obexd/plugins/messages-dummy.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/obexd/plugins/messages-dummy.c b/obexd/plugins/messages-dummy.c
index bb0627f..11da432 100644
--- a/obexd/plugins/messages-dummy.c
+++ b/obexd/plugins/messages-dummy.c
@@ -365,6 +365,24 @@ int messages_set_delete(void *session, const char *handle, uint8_t value,
 	return -ENOSYS;
 }
 
+
+int messages_get_mas_instance_info(void *s, uint16_t mas_instance_id,
+					messages_mas_instance_info_cb callback,
+					void *user_data)
+{
+	struct session *session =  s;
+
+/*
+ * The MAS Instance information is implementation specific.
+ */
+
+	char *info = "9876543210 : MAS INSTANCE INFO";
+
+	DBG("");
+	callback(session, 0, 0, info, user_data);
+
+	return 0;
+}
 void messages_abort(void *s)
 {
 	struct session *session = s;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux