Difference between revisions of "Component: Webserver (NM7010A) (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== | ||
| + | ===SetOutValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 106: | Line 109: | ||
| + | ===Send_Embedded_HTML_Page4=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 119: | Line 123: | ||
| + | ===Send_Embedded_HTML_Page3=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 132: | Line 137: | ||
| + | ===Send_Embedded_HTML_Page2=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 145: | Line 151: | ||
| + | ===Send_Embedded_HTML_Page1=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 158: | Line 165: | ||
| + | ===GetInValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 176: | Line 184: | ||
| + | ===CreateServerSocket=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 204: | Line 213: | ||
| + | ===IncRxPtr=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 222: | Line 232: | ||
| + | ===CheckSocketActivity=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 235: | Line 246: | ||
| + | ===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 | 2.0 |
| Category | Comms: Networking |
Contents
Webserver (NM7010A) component
Webserver component designed to work with the NM7010A module from Wiznet, as used in the version 1 EB023 E-block. 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_NM7010A.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WebServer_NM7010A.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
SetOutValue
| SetOutValue | |
| Set the value of an outbound substitution string | |
| index | |
| value | |
| Return | |
Send_Embedded_HTML_Page4
| Send_Embedded_HTML_Page4 | |
| Return | |
Send_Embedded_HTML_Page3
| Send_Embedded_HTML_Page3 | |
| Return | |
Send_Embedded_HTML_Page2
| Send_Embedded_HTML_Page2 | |
| Return | |
Send_Embedded_HTML_Page1
| Send_Embedded_HTML_Page1 | |
| Return | |
GetInValue
| GetInValue | |
| Returns the string value of a Request parameter | |
| index | |
| Return | |
CreateServerSocket
| CreateServerSocket | |
| Creates a listening socket on the selected channel and port ready to accept incoming web page requests. | |
| Channel | |
| Port_Hi | |
| Port_Lo | |
| Return | |
IncRxPtr
| IncRxPtr | |
| Channel | |
| Return | |
CheckSocketActivity
| CheckSocketActivity | |
| Checks for activity on the server socket and serves out the webpages to any requesting parties. | |
| Return | |
Initialise