Skip to content

Commit 41277a6

Browse files
authored
Merge pull request #84 from vitamin-caig/patch-1
Update thermobeacon-ble-api.md
2 parents f3cce4e + 0ed4ef1 commit 41277a6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

docs/thermobeacon-ble-api.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,15 @@ They are `manufacturer data` with company identifier `0x0010`.
117117
| -------- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
118118
| Value | 00 | 00 | d7 | 2a | 00 | 00 | XX | XX | 8e | 01 | 3d | 7a | 1f | 00 | 4e | 01 | 0a | 80 | 06 | 00 |
119119

120-
| Bytes | Type | Value | Description |
121-
| ----- | --------- | ----------------- | ----------------- |
122-
| 00-01 | bytes | | padding bytes? |
123-
| 02-07 | bytes | 91:20:00:00:XX:XX | mac address |
124-
| 08-19 | bytes | | unknown content |
120+
| Bytes | Type | Raw Value | Value | Description |
121+
| ----- | --------- | ----------------- | ---------------- | ----------------------- |
122+
| 00-00 | byte | | | padding bytes? |
123+
| 01-01 | byte | 00 | | 0x80 if button pressed |
124+
| 02-07 | bytes | XX:XX:00:00:2A:D7 | | mac address |
125+
| 08-09 | int16_le | 0x18e = 398 | 398/16 = 24.875° | max temperature (°C) |
126+
| 10-13 | int32_le | 0x001f7a3d | | device time for max (s) |
127+
| 14-15 | int16_le | 0x14e = 334 | 334/16 = 20.875° | min temperature (°C) |
128+
| 16-19 | int32_le | 0x0006800a | | device time for min (s) |
125129

126130
##### 18 bytes message (with hygrometer data)
127131

@@ -132,7 +136,7 @@ They are `manufacturer data` with company identifier `0x0010`.
132136
| Bytes | Type | Raw value | Value | Description |
133137
| ----- | --------- | ----------------- | --------------------- | --------------------- |
134138
| 00-01 | bytes | | | padding bytes? |
135-
| 02-07 | bytes | | 91:20:00:00:XX:XX | mac address |
139+
| 02-07 | bytes | | XX:XX:00:00:2A:D7 | mac address |
136140
| 08-09 | int16_le | 3005 | 3005/1000 = 3.005V | battery voltage |
137141
| 10-11 | int16_le | 360 | 360/16 = 22.5° | temperature (°C) |
138142
| 12-13 | int16_le | 652 | 652/16 = 40.75% | humidity (%RH) |
@@ -141,6 +145,7 @@ They are `manufacturer data` with company identifier `0x0010`.
141145
## Reference
142146

143147
[1] https://github.com/rnlgreen/thermobeacon
148+
[2] https://github.com/iskalchev/ThermoBeacon
144149

145150
## License
146151

0 commit comments

Comments
 (0)