diff options
author | Teddy <[email protected]> | 2013-08-28 16:32:16 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-28 16:32:16 +0800 |
commit | 1bc497952316e08e73c71d6839a9e42e40196fb6 (patch) | |
tree | 618095bb05c24b1befcb44886182a21953158822 | |
parent | 52d99cd34b1774d06d049ee75a9577d539851d5a (diff) |
ptp v1.0
-rw-r--r-- | server/piztor/ptp.rst | 37 |
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 | + +------+ |