aboutsummaryrefslogtreecommitdiffstats
path: root/ble.h
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-09-01 00:41:49 +0100
committerroot <root@lamia.panaceas.james.local>2015-09-01 00:41:49 +0100
commit475922ce345bb0443cf4fdef00efa86676a1bf62 (patch)
tree89e3eb13232da02bddfeffaff8588765c403b71f /ble.h
downloadnrfdfu-475922ce345bb0443cf4fdef00efa86676a1bf62.tar.gz
nrfdfu-475922ce345bb0443cf4fdef00efa86676a1bf62.tar.bz2
nrfdfu-475922ce345bb0443cf4fdef00efa86676a1bf62.zip
fish
Diffstat (limited to 'ble.h')
-rw-r--r--ble.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ble.h b/ble.h
new file mode 100644
index 0000000..634191e
--- /dev/null
+++ b/ble.h
@@ -0,0 +1,13 @@
+struct ble {
+ bdaddr_t src_addr, dst_addr;
+ int sec;
+ uint8_t dst_type;
+
+ int fd;
+
+ struct bt_att *att;
+ struct gatt_db *db;
+ struct bt_gatt_client *gatt;
+};
+
+