Difference between revisions of "Component: WLAN (ESP32) (Comms: Networking)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd. |- | width="20%" style="color:gray;" | Version | 2.4 |- | width="20%" style="color:gra...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:14, 20 January 2023
| Author | Matrix Ltd. |
| Version | 2.4 |
| Category | Comms: Networking |
Contents
WLAN (ESP32) component
Wireless LAN component designed to work with ESP32 modules
Component Source Code
Please click here for the component source code: FC_Comp_Source_WLAN_ESP32.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
| ReadIPString | |
| Collects the local IP address and returns it as an ASCII string. e.g. "192.168.0.1" | |
| Return | |
| SocketConnect | |
| Address | |
| Port | |
| Return | |
| SocketListen | |
| Listen on, or bind, local port to already opened socket. Returns 1 if OK, 0 if fail | |
| Port | |
| Return | |
| ReadSSIDFromScan | |
| Collects one of the SSID name strings from the last SSID Scan. The ScanForSSID macro must be called first. | |
| Index | |
| SSID Index | |
| Return | |
| SocketWrite | |
| Buffer | |
| Size | |
| Return | |
| Disconnect | |
| Attempts to disconnect from the SSID. | |
| Return | |
| SocketOpen | |
| Returns 1 if socket sucessfully opened | |
| Return | |
| SocketClose | |
| Return | |
| Uninitialise | |
| Shuts down the WiFi system for low power operation. Returns 1 if successful Returns 0 if not | |
| Return | |
| AcceptOpen | |
| Returns 1 if there is an incoming connection on the listening port | |
| Return | |
| SocketRead | |
| Buffer | |
| Size | |
| Return | |
| AcceptClose | |
| Close the socket associated with the Accepted incoming connection | |
| Return | |
| Initialise | |
| Initialise the WiFi system Returns 1 if successful Returns 0 if not | |
| Return | |
Property reference
| Properties | |
| Verbose Debug | |
| Simulation | |
| Network Interface | |
| List of network interfaces connected to the PC. Sets which interface we are communicating via. | |
| Console Data | |
| Generate Console Data | |