From 90b86bec5cd2906914ed31582438257ff9c2b106 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 30 Aug 2013 22:15:53 +0800 Subject: ptp v2.0a --- server/piztor/ptp.rst | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/server/piztor/ptp.rst b/server/piztor/ptp.rst index 214b130..e174fe3 100644 --- a/server/piztor/ptp.rst +++ b/server/piztor/ptp.rst @@ -1,4 +1,4 @@ -Piztor Transmission Protocol v2.0 +Piztor Transmission Protocol v2.0a ---------------------------------- - Pull @@ -230,6 +230,23 @@ Piztor Transmission Protocol v2.0 | STATUS | +--------+ + - Set Marker ``0x07`` + + - Request + + :: + +-------------+----8b------+------8b-----+----4b----+ + | AUTH_HEAD | LATITUDE | LONGITUDE | DEADLINE | + +-------------+---double---+---double----+---int----+ + + - Response + + :: + + +--------+ + | STATUS | + +--------+ + - Push Notification - General Request @@ -264,3 +281,11 @@ Piztor Transmission Protocol v2.0 ... | USER_ID | LATITUDE | LONGITUDE | ----+---------+----------+-----------+ + - Marker Push + + :: + + ----+----8b----+----8b-----+----4b----+ + ... | LATITUDE | LONGITUDE | DEADLINE | + ----+----------+-----------+----int---+ + -- cgit v1.2.3-70-g09d2