Difference between revisions of "Component: WLAN ESP32 (Dummy) (ESP32) (Comms: Networking)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_WLAN_ESP32_Dummy.fcfx FC_Comp_Source_WLAN_ESP32_Dummy.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_WLAN_ESP32_Dummy.fcfx FC_Comp_Source_WLAN_ESP32_Dummy.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 73: | Line 73: | ||
Instructions on how to change the refresh rate and access the web page is explained within the example file. | Instructions on how to change the refresh rate and access the web page is explained within the example file. | ||
{{Fcfile|ESP Webpage.fcfx|ESP Webpage}} | {{Fcfile|ESP Webpage.fcfx|ESP Webpage}} | ||
+ | |||
+ | |||
Latest revision as of 13:13, 7 February 2023
Author | Matrix Ltd. |
Version | 2.3 |
Category | Comms: Networking |
Contents
WLAN ESP32 (Dummy) component
Wireless LAN component designed to work with ESP32 modules
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WLAN_ESP32_Dummy.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WLAN_ESP32_Dummy.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Here is an example Flowcode program to send analogue data to a html web page.
The web page is set up to refresh every second
Instructions on how to change the refresh rate and access the web page is explained within the example file.
ESP Webpage
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
Initialise
![]() |
Initialise |
Initialise the WiFi system Returns 1 if successful Returns 0 if not | |
![]() |
Return |
ReadEncryptionModeFromScan
ReadIP
![]() |
ReadIP |
Collects the local IP address | |
![]() |
Index |
![]() |
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 |