summaryrefslogtreecommitdiff
path: root/app/include/zmk/ble/profile.h
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-09-13 22:43:45 -0400
committerGitHub <noreply@github.com>2020-09-13 22:43:45 -0400
commit160f296bfb562ca0596630f84c4121920ea3c304 (patch)
tree63218f4af1b20108af667de8e346d204076064bb /app/include/zmk/ble/profile.h
parent304603240f7ba16f67912a0031c64fb9ae4e8279 (diff)
parent4658999e31865e54d02955c500c716385e6c69d8 (diff)
Merge pull request #133 from petejohanson/bluetooth/ident-management
feat(bluetooth): Proper basic bond management, new `bt` behavior for resetting bond to host.
Diffstat (limited to 'app/include/zmk/ble/profile.h')
-rw-r--r--app/include/zmk/ble/profile.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/include/zmk/ble/profile.h b/app/include/zmk/ble/profile.h
new file mode 100644
index 0000000..9a79c6d
--- /dev/null
+++ b/app/include/zmk/ble/profile.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#pragma once
+
+#include <bluetooth/addr.h>
+
+#define ZMK_BLE_PROFILE_NAME_MAX 15
+
+struct zmk_ble_profile {
+ char name[ZMK_BLE_PROFILE_NAME_MAX];
+ bt_addr_le_t peer;
+};