Simple Weather Service : Fix timestamp
Mention that the timestamp should be expressed in localtime time.
This commit is contained in:
parent
b4ff1f9ca2
commit
95e2f9e701
|
@ -28,7 +28,7 @@ The byte array must contain the following data:
|
||||||
|
|
||||||
- [0] : Message type = `0`
|
- [0] : Message type = `0`
|
||||||
- [1] : Message version = `0`
|
- [1] : Message version = `0`
|
||||||
- [2][3][4][5][6][7][8][9] : Timestamp (64 bits UNIX timestamp, number of seconds elapsed since 1 JAN 1970)
|
- [2][3][4][5][6][7][8][9] : Timestamp (64 bits UNIX timestamp, number of seconds elapsed since 1 JAN 1970) in local time (the same timezone than the one used to set the time)
|
||||||
- [10, 11] : Current temperature (°C * 100)
|
- [10, 11] : Current temperature (°C * 100)
|
||||||
- [12, 13] : Minimum temperature (°C * 100)
|
- [12, 13] : Minimum temperature (°C * 100)
|
||||||
- [14, 15] : Maximum temperature (°C * 100)
|
- [14, 15] : Maximum temperature (°C * 100)
|
||||||
|
@ -50,7 +50,7 @@ The byte array must contain the following data:
|
||||||
|
|
||||||
- [0] : Message type = `1`
|
- [0] : Message type = `1`
|
||||||
- [1] : Message version = `0`
|
- [1] : Message version = `0`
|
||||||
- [2][3][4][5][6][7][8][9] : Timestamp (64 bits UNIX timestamp, number of seconds elapsed since 1 JAN 1970)
|
- [2][3][4][5][6][7][8][9] : Timestamp (64 bits UNIX timestamp, number of seconds elapsed since 1 JAN 1970) in local time (the same timezone than the one used to set the time)
|
||||||
- [10] Number of days (Max 5, fields for unused days should be set to `0`)
|
- [10] Number of days (Max 5, fields for unused days should be set to `0`)
|
||||||
- [11,12] Day 0 Minimum temperature (°C * 100)
|
- [11,12] Day 0 Minimum temperature (°C * 100)
|
||||||
- [13,14] Day 0 Maximum temperature (°C * 100)
|
- [13,14] Day 0 Maximum temperature (°C * 100)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user