Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljohanneskraft committed Aug 3, 2023
1 parent c04319e commit 0c9302a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ struct WeatherStationUpdate {
The encoded format should be:
- Each message starts with a byte with the value 0x02.
- The following byte contains multiple feature flags:
-> bit 0 is set: Using °C instead of °F for the temperature
-> bit 1 is set: The message contains temperature information
-> bit 2 is set: The message contains humidity information
- bit 0 is set: Using °C instead of °F for the temperature
- bit 1 is set: The message contains temperature information
- bit 2 is set: The message contains humidity information
- Temperature as a big-endian 32-bit floating-point number
- Relative Humidity as UInt8 in the range of [0, 100]
- CRC-32 with the default polynomial for the whole message (incl. 0x02 prefix).
Expand Down

0 comments on commit 0c9302a

Please sign in to comment.