summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/piztor/ptp.rst37
1 files changed, 36 insertions, 1 deletions
diff --git a/server/piztor/ptp.rst b/server/piztor/ptp.rst
index 3d7a575..a5523a8 100644
--- a/server/piztor/ptp.rst
+++ b/server/piztor/ptp.rst
@@ -1,4 +1,4 @@
-Piztor Transmission Protocol v0.5
+Piztor Transmission Protocol v1.0
----------------------------------
- General
@@ -168,3 +168,38 @@ Piztor Transmission Protocol v0.5
| 0x04 | STATUS |
+------+--------+
+- Push Tunnel
+
+ - Request
+
+ ::
+
+ +--1b--+-----?b------+
+ | 0x05 | AUTH_HEAD |
+ +------+-------------+
+
+ - Response
+
+ ::
+
+ +--1b--+---1b---+
+ | 0x05 | STATUS |
+ +------+--------+
+
+- Push Text Message
+
+ - Request
+
+ ::
+
+ +--1b--+----?b----+
+ | 0x10 | MESSAGE |
+ +------+--string--+
+
+ - Response
+
+ ::
+
+ +--1b--+
+ | 0x10 |
+ +------+