Difference between revisions of "Component: WLAN (E-Blocks 3) (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 13: | Line 13: | ||
==WLAN (E-Blocks 3) component== | ==WLAN (E-Blocks 3) component== | ||
| − | Wireless LAN component designed to work with the E-blocks 3 CapTouch display module. | + | Wireless LAN component designed to work with the E-blocks 3 CapTouch display module. Requires the GLCD (E-BLOCKS 3) component to be present in the project. |
==Detailed description== | ==Detailed description== | ||
| Line 388: | Line 388: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
|- | |- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
Latest revision as of 08:58, 27 April 2026
| Author | Matrix Ltd. |
| Version | 2.4 |
| Category | Comms: Networking |
Contents
- 1 WLAN (E-Blocks 3) component
- 2 Detailed description
- 3 Examples
- 4 Macro reference
- 4.1 AcceptClose
- 4.2 AcceptOpen
- 4.3 ConnectToSSID
- 4.4 CreateAccessPoint
- 4.5 Disconnect
- 4.6 Initialise
- 4.7 ReadEncryptionModeFromScan
- 4.8 ReadIP
- 4.9 ReadIPString
- 4.10 ReadSSIDFromScan
- 4.11 ReadSignalStrengthFromScan
- 4.12 ScanForSSID
- 4.13 SocketClose
- 4.14 SocketConnect
- 4.15 SocketListen
- 4.16 SocketOpen
- 4.17 SocketRead
- 4.18 SocketWrite
- 4.19 Uninitialise
- 5 Property reference
- 6 Component Source Code
WLAN (E-Blocks 3) component
Wireless LAN component designed to work with the E-blocks 3 CapTouch display module. Requires the GLCD (E-BLOCKS 3) component to be present in the project.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AcceptClose
| AcceptClose | |
| Close the socket associated with the Accepted incoming connection | |
| Return | |
AcceptOpen
| AcceptOpen | |
| Returns 1 if there is an incoming connection on the listening port | |
| Return | |
ConnectToSSID
CreateAccessPoint
Disconnect
| Disconnect | |
| Attempts to disconnect from the SSID. | |
| Return | |
Initialise
| Initialise | |
| Initialise the WiFi system Returns 1 if successful Returns 0 if not | |
| Return | |
ReadEncryptionModeFromScan
ReadIP
ReadIPString
| ReadIPString | |
| Collects the local IP address and returns it as an ASCII string. e.g. "192.168.0.1" | |
| Return | |
ReadSSIDFromScan
| ReadSSIDFromScan | |
| Collects one of the SSID name strings from the last SSID Scan. The ScanForSSID macro must be called first. | |
| Index | |
| SSID Index | |
| Return | |
ReadSignalStrengthFromScan
ScanForSSID
SocketClose
| SocketClose | |
| Return | |
SocketConnect
| SocketConnect | |
| Address | |
| Port | |
| Return | |
SocketListen
| SocketListen | |
| Listen on, or bind, local port to already opened socket. Returns 1 if OK, 0 if fail | |
| Port | |
| Return | |
SocketOpen
| SocketOpen | |
| Returns 1 if socket sucessfully opened | |
| Return | |
SocketRead
| SocketRead | |
| Buffer | |
| Size | |
| Return | |
SocketWrite
| SocketWrite | |
| Buffer | |
| Size | |
| Return | |
Uninitialise
| Uninitialise | |
| Shuts down the WiFi system for low power operation. Returns 1 if successful Returns 0 if not | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WLAN_EB3_CapTouch.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WLAN_EB3_CapTouch.fcfx