summaryrefslogtreecommitdiffstats
path: root/btcore/include
diff options
context:
space:
mode:
authorChris Manton <cmanton@google.com>2015-01-08 09:19:20 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-03-16 16:51:41 -0700
commit93167ea7a303c400ab8ee53b6df74fe7e3182e5f (patch)
treeaf1131c0016beb0d14aa04d72ec94d74b17f27b9 /btcore/include
parent98ffd8a0be0ea2202d0c6e0ee2abf92d16238389 (diff)
downloadandroid_system_bt-93167ea7a303c400ab8ee53b6df74fe7e3182e5f.tar.gz
android_system_bt-93167ea7a303c400ab8ee53b6df74fe7e3182e5f.tar.bz2
android_system_bt-93167ea7a303c400ab8ee53b6df74fe7e3182e5f.zip
Data type representing the bluetooth iac parameter
Diffstat (limited to 'btcore/include')
-rw-r--r--btcore/include/iac.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/btcore/include/iac.h b/btcore/include/iac.h
new file mode 100644
index 000000000..bcb8ab828
--- /dev/null
+++ b/btcore/include/iac.h
@@ -0,0 +1,27 @@
+/******************************************************************************
+ *
+ * Copyright (C) 2014 Google, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ ******************************************************************************/
+
+#pragma once
+
+#include <stdint.h>
+
+// Inquiry Access Code
+// [Bluetooth Baseband](https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband)
+typedef struct {
+ uint8_t iac[3];
+} __attribute__((packed))bt_inquiry_access_code_t;