summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-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---+
+