diff --git a/docs/proto_v3.html b/docs/proto_v3.html index efd5a09..082151e 100644 --- a/docs/proto_v3.html +++ b/docs/proto_v3.html @@ -6,7 +6,7 @@ - Protocol Version 2 + Protocol Version 3 @@ -91,16 +91,16 @@

Supported Methods

some newly added methods.
Encoding of lengths, text, file names, file contents, and images and the maximum allowed text lengths, file name lengths, file sizes, and image sizes are identical to those of Version 2. + href="proto_v1.html#encoding-notes">Version 1 and 2.

Get Text

- This method is identical to the Get Text method of Version 2. + This method is identical to the Get Text method of Version 1 and 2.

Send Text

- This method is identical to the Send Text method of Version 2. + This method is identical to the Send Text method of Version 1 and 2.

Get Files

@@ -127,8 +127,37 @@

Send Files

Get Image/Screenshot

- This method is identical to the Get Image method of Version 2. + This method is identical to the Get Image method of Version 1 and 2.

+

Get Image Only

+

+ This method is similar to the Get Image/Screenshot method, except that if there is + no image copied to the clipboard, the server will not send a screenshot as the image. Instead, the server + will respond with the status NO_DATA and terminate the connection. +

+

Get Screenshot Only

+

+ This method is used to get a screenshot from the server to the client. Even if the server has an image + copied to the clipboard, it will send only a screenshot of the server device. The screenshot is encoded as a + PNG image. Once the client requests this method code along with the display number from the server, the + server acknowledges the client with the status OK. Then, the server will send the screenshot. The + communication after protocol version negotiation happens as follows.
+

+ Once the image is transmitted, the communication ends, and the connection can be closed. Note that the server + may not always honor the display number sent by the client. Also note that if the display number is invalid or + the server fails to get the screenshot, the server may respond with the status NO_DATA instead of OK and + terminate the communication immediately.

Info

This method is similar to the Info method of Version 2 with the exception