From 1bc497952316e08e73c71d6839a9e42e40196fb6 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 28 Aug 2013 16:32:16 +0800 Subject: ptp v1.0 --- server/piztor/ptp.rst | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'server') 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 | + +------+ -- cgit v1.2.3-70-g09d2