Reorganize command structure; add tests; add a little protocol documentation.
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
|
||||
A clean command:
|
||||
```
|
||||
<iq id="TXID" to="ROBOTID@126.ecorobot.net/atom" from="USERID@ecouser.net/RESOURCEID" type="set"><query xmlns="com:ctl"><ctl td="Clean"><clean type="auto" speed="standard"/></ctl></query></iq>
|
||||
|
||||
```
|
||||
|
||||
A charge command:
|
||||
```
|
||||
<iq id="TXID" to="ROBOTID@126.ecorobot.net/atom" from="USERID@ecouser.net/RESOURCEID" type="set"><query xmlns="com:ctl"><ctl td="Charge"><charge type="go"/></ctl></query></iq>
|
||||
```
|
||||
Reference in New Issue
Block a user