This command is also used then device connect to server for custom file sending and server finishes to send all custom files to device.įirst after connecting to server and seeing bit set in init packet the server should send file path request command. In case when device connects to the server, but server does not expect it to connect, server will respond by sending CLOSE command after which connection will be terminated. Settings flag contains information on what is available for download. Protocol ID – just a reference for the protocol version that is running on device (for server cross compatibility with older versions). On connection, the device sends an initialization packet. It consists of CMD_ID (2 bytes), Data length of command and payload. General communication packet structure is as in table below. 11 Initialization packet repeat command (CMD_ID 0x0009).10 File transfer status command (CMD_ID 0x0005). 9 File data transfer command (CMD_ID 0x0004).8 Synchronize file transfer command (CMD_ID 0x0003).7 Resume file transfer command (CMD_ID 0x0002).6 Start file transfer command (CMD_ID 0x0001).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |