summaryrefslogtreecommitdiff
path: root/monitor/vendor.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-08-20 16:37:41 -0700
committerMarcel Holtmann <marcel@holtmann.org>2013-08-20 16:38:48 -0700
commite9d67091bd978149ad795ffc55acbb584b88c35f (patch)
tree5ebd5ee77be6d3aff25c2b5b1525f3eaa40f5a3c /monitor/vendor.c
parent74bb289de146d28b0680fff2f8f25dc01f26c1f5 (diff)
downloadbluez-e9d67091bd978149ad795ffc55acbb584b88c35f.tar.gz
monitor: Add stub for handling vendor events
Diffstat (limited to 'monitor/vendor.c')
-rw-r--r--monitor/vendor.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/monitor/vendor.c b/monitor/vendor.c
new file mode 100644
index 000000000..31d48ee65
--- /dev/null
+++ b/monitor/vendor.c
@@ -0,0 +1,35 @@
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2011-2012 Intel Corporation
+ * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "packet.h"
+#include "vendor.h"
+
+void vendor_event(uint16_t manufacturer, const void *data, uint8_t size)
+{
+ packet_hexdump(data, size);
+}