
USR-K6 User Manual www.usriot.com
4.2. Socket ................................................................................................................................................................ 21
4.2.1. TCP Client................................................................................................................................................ 23
4.2.2. TCP Server............................................................................................................................................... 27
4.2.3. UDP Client............................................................................................................................................... 30
4.2.4. UDP Server.............................................................................................................................................. 33
4.2.5. HTTPD Client........................................................................................................................................... 34
4.2.6. VCOM ..................................................................................................................................................... 37
4.3. Serial Port Function ........................................................................................................................................... 37
4.3.1. Basic Parameters..................................................................................................................................... 38
4.3.2. Serial Port Framing.................................................................................................................................. 38
4.3.3. RFC2217.................................................................................................................................................. 39
4.4. Special Function................................................................................................................................................. 43
4.4.1. Heartbeat Package.................................................................................................................................. 43
4.4.2. Registration package............................................................................................................................... 45
4.4.3. USR-cloud ............................................................................................................................................... 46
4.4.4. Customize webpage................................................................................................................................ 49
4.4.5. Link ......................................................................................................................................................... 50
4.4.6. Reset....................................................................................................................................................... 50
4.4.7. Index....................................................................................................................................................... 50
4.4.8. The number of the connected client ...................................................................................................... 53
4.4.9. State........................................................................................................................................................ 53
4.4.10. Short Connection.................................................................................................................................. 54