@@ -6,31 +6,64 @@ Basically Zei° is a Bluetooth LE device.
6
6
7
7
It seams to support the following characteristics (check read_characteristics.py)
8
8
9
- | Idx | Characteristics | Properties | Handle | Notes
10
- | --- | ------------------------------------------ | ------------- | -------- | ------
11
- | | Standard profiles | | |
12
- | 0 | Device Name | READ WRITE | 3 |
13
- | 1 | Appearance | READ | 5 |
14
- | 2 | Peripheral Preferred Connection Parameters | READ | 7 |
15
- | 3 | Manufacturer Name String | READ | 11 |
16
- | 4 | Model Number String | READ | 13 |
17
- | 5 | Serial Number String | READ | 15 |
18
- | 6 | Hardware Revision String | READ | 17 |
19
- | 7 | Firmware Revision String | READ | 19 |
20
- | 8 | Software Revision String | READ | 21 |
21
- | 9 | System ID | READ | 23 |
22
- | 10 | PnP ID | READ | 25 |
23
- | 11 | Tx Power Level | READ | 28 |
24
- | 12 | Battery Level | NOTIFY READ | 31 |
25
- | | | | |
26
- | | Zei° specific | | |
27
- | 13 | c7e70001-c847-11e6-8175-8c89a55d403c | NOTIFY WRITE | 35 | unknown notification
28
- | 14 | c7e70012-c847-11e6-8175-8c89a55d403c | READ INDICATE | 39 | this is the currently active side
29
- | 15 | c7e70011-c847-11e6-8175-8c89a55d403c | READ | 42 | new value on every change (timestamp??)
30
- | 16 | c7e70021-c847-11e6-8175-8c89a55d403c | INDICATE | 45 | indicates switching off the device
31
- | 17 | c7e70022-c847-11e6-8175-8c89a55d403c | WRITE | 48 | unknown (probably for firmware update?)
32
- | 18 | c7e70041-c847-11e6-8175-8c89a55d403c | WRITE | 51 |
33
- | 19 | c7e70042-c847-11e6-8175-8c89a55d403c | WRITE | 53 |
9
+ | SrvUUID | Service |
10
+ | :----------| :-------------------------------------|
11
+ | 0x1800 | Generic Access |
12
+ | 0x1804 | Tx Power |
13
+ | 0x1801 | Generic Attribute |
14
+ | 0x0010 | c7e70010-c847-11e6-8175-8c89a55d403c | Zei° Orientation Service
15
+ | 0x180f | Battery Service |
16
+ | 0x0020 | c7e70020-c847-11e6-8175-8c89a55d403c | Zei° LED Button Service
17
+ | 0x180a | Device Information |
18
+ | 0x0040 | c7e70040-c847-11e6-8175-8c89a55d403c | Zei° Test Service
19
+ | 0x0000 | c7e70000-c847-11e6-8175-8c89a55d403c | Zei° DFU Service
20
+
21
+ Standard. See: https://www.bluetooth.com/specifications/gatt/characteristics
22
+
23
+ | CharUUID | Characteristics | Properties | Handle
24
+ |:-----------|:-------------------------------------------|:--------------|---------:
25
+ | 0x2a00 | Device Name | READ WRITE | 3 |
26
+ | 0x2a01 | Appearance | READ | 5 |
27
+ | 0x2a04 | Peripheral Preferred Connection Parameters | READ | 7 |
28
+ | 0x2a29 | Manufacturer Name String | READ | 11 |
29
+ | 0x2a24 | Model Number String | READ | 13 |
30
+ | 0x2a25 | Serial Number String | READ | 15 |
31
+ | 0x2a27 | Hardware Revision String | READ | 17 |
32
+ | 0x2a26 | Firmware Revision String | READ | 19 |
33
+ | 0x2a28 | Software Revision String | READ | 21 |
34
+ | 0x2a23 | System ID | READ | 23 |
35
+ | 0x2a50 | PnP ID | READ | 25 |
36
+ | 0x2a07 | Tx Power Level | READ | 28 |
37
+ | 0x2a19 | Battery Level | NOTIFY READ | 31 | uint8_t 0 - 100
38
+
39
+ Zei° specific
40
+ | CharUUID | Characteristics | Properties | Handle
41
+ |:-----------|:-------------------------------------------|:--------------|---------:
42
+ | 0x0001 | c7e70001-c847-11e6-8175-8c89a55d403c | NOTIFY WRITE | 35 |
43
+ | 0x0012 | c7e70012-c847-11e6-8175-8c89a55d403c | READ INDICATE | 39 |
44
+ | 0x0011 | c7e70011-c847-11e6-8175-8c89a55d403c | READ | 42 |
45
+ | 0x0021 | c7e70021-c847-11e6-8175-8c89a55d403c | INDICATE | 45 |
46
+ | 0x0022 | c7e70022-c847-11e6-8175-8c89a55d403c | WRITE | 48 |
47
+ | 0x0041 | c7e70041-c847-11e6-8175-8c89a55d403c | WRITE | 51 |
48
+ | 0x0042 | c7e70042-c847-11e6-8175-8c89a55d403c | WRITE | 53 |
49
+
50
+ - 0x0001 h35 NOTIFY WRITE -- Switch to DFU Bootloader
51
+
52
+ - 0x0011 h42 READ -- Accelerometer
53
+ - 3x uint16_t: x,y,z
54
+ - 0x0012 h39 READ INDICATE -- Active side index
55
+ - uint8_t
56
+
57
+ - 0x0021 h45 INDICATE -- Button pushed indicator
58
+ - uint8_t : 0: short, 1: long
59
+ - 0x0022 h48 WRITE -- LED
60
+
61
+
62
+
63
+ | 0x0041 | c7e70041-c847-11e6-8175-8c89a55d403c | WRITE | 51 |
64
+ | 0x0042 | c7e70042-c847-11e6-8175-8c89a55d403c | WRITE | 53
65
+
66
+
34
67
35
68
36
69
## Current state
0 commit comments