Browse Source

Describe the remaining protocol.

Mathias Gottschlag 5 years ago
parent
commit
9089fef433
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      README.md

+ 7
- 1
README.md View File

103
    * Salt: The first 7 bytes of the payload hold the salt used by the sensor node
103
    * Salt: The first 7 bytes of the payload hold the salt used by the sensor node
104
      from this time on.
104
      from this time on.
105
    * Report: The payload consists of a number of (value type, value)-tuples. The
105
    * Report: The payload consists of a number of (value type, value)-tuples. The
106
-     possible value types and the corresponding value suze are listed below.
106
+     possible value types and the corresponding value size are listed below.
107
+   * GetValues: The payload consists of a list of value types. It is the sender's
108
+     responsibility to ensure that the resulting response fits into one packet.
109
+     If too many values are requested, the base station will ignore the request.
110
+   * Values: The payload consists of a list of (value type, report time, value)
111
+     tuples. The report time is the unix time of the last report of the
112
+     corresponding sensor node.
107
 
113
 
108
 5. CRC-16-CCITT checksum
114
 5. CRC-16-CCITT checksum
109
 
115
 

Loading…
Cancel
Save