-
Notifications
You must be signed in to change notification settings - Fork 60
Characteristics
stormluke edited this page Nov 10, 2014
·
2 revisions
Only includes Mili service (0xfee0).
UUID | Description | Properties |
---|---|---|
0xff01 | Device Info | Read |
0xff02 | Device Name | Read, Write |
0xff03 | Notification | Read, Notify |
0xff04 | User Info | Read, Write |
0xff05 | Control Point | Write |
0xff06 | Realtime Steps | Read, Notify |
0xff07 | Activity Data | Read, Notify |
0xff08 | Firmware Data | Write without response |
0xff09 | LE Params | Read, Write |
0xff0a | Datetime | Read, Write |
0xff0b | Statistics | Read, Write |
0xff0c | Battery Info | Read, Notify |
0xff0d | Test | Read, Write |
0xff0e | Sensor Data | Read, Notify |
Integer is encoded in little endian.
String is encoded in UTF-8.
Date:
00 | 01 | 02 | 03 | 04 | 05 |
---|---|---|---|---|---|
year | month | day | hour | minute | second |
00 - 03 | 04 | 05 | 06 | 07 | 08 - 11 | 12 - 15 |
---|---|---|---|---|---|---|
feature | appearance | hardwareVersion | profileVersion | firmwareVersion |
00 - 07 is deviceID.
00 - 19 |
---|
nameString |
See Notification.
00 - 03 | 04 | 05 | 06 | 07 | 08 | 09 - 18 | 19 |
---|---|---|---|---|---|---|---|
uid | gender | age | height | weight | type | alias | checksum |
- gender: 0 - female, 1 - male.
- type: 0 - normal, 1 - clearData, 2 - retainData
- checksum: = CRC8(00-18) ^ theLastMACAddressByte
See ControlPoint.
00 - 01 |
---|
realtimeSteps |
Meta
- Data
- Data
- Data
... (n = count) - Meta
- Data
...
Last Meta
's count is 00.
00 | 01 - 06 | 07 - 08 | 09 - 10 |
---|---|---|---|
type | timeStamp | duration | count |
00 | 01 | 02 |
---|---|---|
intensity | steps | category |
TODO
00 - 01 | 02 - 03 | 04 - 05 | 06 - 07 | 08 - 09 | 10 - 11 |
---|---|---|---|---|---|
connIntMin | connIntMax | latency | timeout | connInt | advInt |
00 - 05 | 06 - 11 |
---|---|
newerDate | olderDate |
When write Datetime, set olderDate all bytes to 0xff.
00 - 03 | 04 - 07 | 08 - 11 | 12 - 15 | 16 - 19 |
---|---|---|---|---|
wake | vibrate | light | conn | adv |
00 | 01 - 06 | 07 | 08 |
---|---|---|---|
level | lastCharge | chargesCount | status |
See Test.
00 - 01 | 02 - 03 | 04 - 05 | 06 - 07 | ... |
---|---|---|---|---|
index | axis1 | axis2 | axis3 | repeat |