浏览代码

Describe the remaining protocol.

父节点
当前提交
9089fef433
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7
    1
      README.md

+ 7
- 1
README.md 查看文件

@@ -103,7 +103,13 @@ packet as the salt.
103 103
    * Salt: The first 7 bytes of the payload hold the salt used by the sensor node
104 104
      from this time on.
105 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 114
 5. CRC-16-CCITT checksum
109 115
 

正在加载...
取消
保存