summaryrefslogtreecommitdiff
path: root/monitor/att.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-05-16 17:50:38 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-05-18 15:35:47 -0700
commit5efc737f49d4cb98c9b1658d68b226ed4f4c74cf (patch)
tree071fa5dd8495df20813ecce2553a1ed0177276a8 /monitor/att.h
parent0247ed333ea9dc0ac914bae68225d5cb3f288f80 (diff)
downloadbluez-5efc737f49d4cb98c9b1658d68b226ed4f4c74cf.tar.gz
monitor: Move ATT decoding function into its own file
This moves ATT decoding function from l2cap.c to att.c.
Diffstat (limited to 'monitor/att.h')
-rw-r--r--monitor/att.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/monitor/att.h b/monitor/att.h
new file mode 100644
index 000000000..07951b200
--- /dev/null
+++ b/monitor/att.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2011-2014 Intel Corporation
+ * Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ */
+
+#include <stdint.h>
+#include <stdbool.h>
+
+void att_packet(uint16_t index, bool in, uint16_t handle, uint16_t cid,
+ const void *data, uint16_t size);