Difference between revisions of "Component: Webserver (W5500) (Comms: Networking)"
From Flowcode Help
Jump to navigationJump to search| Line 77: | Line 77: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 83: | Line 85: | ||
| ==Macro reference== | ==Macro reference== | ||
| + | ===WM_TXMEM=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 101: | Line 104: | ||
| + | ===SetOutValue=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 124: | Line 128: | ||
| + | ===Send_Embedded_HTML_Page4=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 137: | Line 142: | ||
| + | ===Send_Embedded_HTML_Page3=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 150: | Line 156: | ||
| + | ===Send_Embedded_HTML_Page2=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 163: | Line 170: | ||
| + | ===Send_Embedded_HTML_Page1=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 176: | Line 184: | ||
| + | ===GetInValue=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 194: | Line 203: | ||
| + | ===CreateServerSocket=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 217: | Line 227: | ||
| + | ===IncRxPtr=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 235: | Line 246: | ||
| + | ===CheckSocketActivity=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| Line 248: | Line 260: | ||
| + | ===Initialise=== | ||
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
Revision as of 11:53, 3 February 2023
| Author | Matrix Ltd. | 
| Version | 1.0 | 
| Category | Comms: Networking | 
Contents
Webserver (W5500) component
Webserver component designed to work with the W5500 module from Wiznet, as use by the ETH WIZ Click Module. Provides a very simple interface to allow webpages to be hosted from hardware or simulation.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WebServer_W5500.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WebServer_W5500.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
WM_TXMEM
|   | WM_TXMEM | 
|  - BYTE | ch | 
|  - UINT | Return | 
SetOutValue
|   | SetOutValue | 
| Set the value of an outbound substitution string | |
|  - BYTE | index | 
|  - STRING | value | 
|  - VOID | Return | 
Send_Embedded_HTML_Page4
|   | Send_Embedded_HTML_Page4 | 
|  - VOID | Return | 
Send_Embedded_HTML_Page3
|   | Send_Embedded_HTML_Page3 | 
|  - VOID | Return | 
Send_Embedded_HTML_Page2
|   | Send_Embedded_HTML_Page2 | 
|  - VOID | Return | 
Send_Embedded_HTML_Page1
|   | Send_Embedded_HTML_Page1 | 
|  - VOID | Return | 
GetInValue
|   | GetInValue | 
| Returns the string value of a Request parameter | |
|  - BYTE | index | 
|  - STRING | Return | 
CreateServerSocket
|   | CreateServerSocket | 
| Creates a listening socket on the selected channel and port ready to accept incoming web page requests. | |
|  - BYTE | Channel | 
|  - UINT | Port | 
|  - BYTE | Return | 
IncRxPtr
|   | IncRxPtr | 
|  - BYTE | Channel | 
|  - VOID | Return | 
CheckSocketActivity
|   | CheckSocketActivity | 
| Checks for activity on the server socket and serves out the webpages to any requesting parties. | |
|  - BYTE | Return | 
Initialise








