User Tools

Site Tools


http_get_custom

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
http_get_custom [2021/07/13 11:06] – created emozolyakhttp_get_custom [2021/07/13 11:10] emozolyak
Line 1: Line 1:
 ====== HTTP request implemention using custom protocol ====== ====== HTTP request implemention using custom protocol ======
 +The following example sends a HTTP string template to the TCP port upon the register change in the custom protocol. 
 +Once the response comes, is is copied in the 'response' global variable which is returned to the system with the **readRegister** function.
  
 <code lua> <code lua>
Line 11: Line 13:
  
 ]] ]]
-response = "no response"+response = "no data"
  
 function createDevices () function createDevices ()
http_get_custom.txt · Last modified: 2023/03/28 10:49 by atolstov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki