summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-30 22:15:53 +0800
committerTeddy <[email protected]>2013-08-30 22:15:53 +0800
commit90b86bec5cd2906914ed31582438257ff9c2b106 (patch)
treedf60f31d5d9494bc87614b8097bc997f828158cb
parente1e77608deead325e265007fc1a7129612468a20 (diff)
ptp v2.0a
-rw-r--r--server/piztor/ptp.rst27
1 files changed, 26 insertions, 1 deletions
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---+
+