Component: WLAN (EB069, WIZ610wi) (Misc)

From Flowcode Help
Revision as of 11:57, 3 November 2023 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd. |- | width="20%" style="color:gray;" | Version | 1.3 |- | width="20%" style="color:gra...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author Matrix Ltd.
Version 1.3
Category Misc


WLAN (EB069, WIZ610wi) component

Wireless LAN component designed to work with the WIZ610wi module from Wiznet. Provides a very simple interface to allow webpages to be hosted from hardware or simulation. Also available in the form of the EB069 E-block.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WLAN.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_WLAN.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

CheckForPageRequests

Fc9-comp-macro.png CheckForPageRequests
To be called periodically. Returns non-zero if a request has been processed 
Fc9-u8-icon.png - BYTE Return


ConnectToSSID

Fc9-comp-macro.png ConnectToSSID
Attempts to connect to the given SSID and Key values. Returns 0 if successful. 
Fc9-string-icon.png - STRING SSID
 
Fc9-string-icon.png - STRING Key
 
Fc9-u8-icon.png - BYTE Return


DisableCommandMode

Fc9-comp-macro.png DisableCommandMode
Exits command mode 
Fc9-void-icon.png - VOID Return


EnableCommandMode

Fc9-comp-macro.png EnableCommandMode
Enables command mode. Must be called before commands are issued. 
Fc9-void-icon.png - VOID Return


GetInValue

Fc9-comp-macro.png GetInValue
Returns the string value of a Request parameter 
Fc9-u8-icon.png - BYTE index
Index of the request paramter, starting at zero. 
Fc9-string-icon.png - STRING Return


GetReply

Fc9-comp-macro.png GetReply
Returns the last received response to a command. 0 = OK 1 = FAIL_ERR 2 = STX_ERR 3 = CMD_ERR 4 = PARAM_ERR 5 = ETX_ERR 6 = SERIAL 255 = TOUT 
Fc9-u8-icon.png - BYTE Return


Initialise

Fc9-comp-macro.png Initialise
Initialise the device with the property data. Returns 0 if successful 
Fc9-u8-icon.png - BYTE Return


ReadConnectionStatus

Fc9-comp-macro.png ReadConnectionStatus
Checks the connection status. Returns 0 if not connected, 1 if connected. 
Fc9-u8-icon.png - BYTE Return


ReceiveIncoming

Fc9-comp-macro.png ReceiveIncoming
Returns the received data string 
Fc9-string-icon.png - STRING Return


SendCommand

Fc9-comp-macro.png SendCommand
Sends the given command and returns the reply status. (See GetReply for return values) 
Fc9-string-icon.png - STRING Command
 
Fc9-u8-icon.png - BYTE Return


SendString

Fc9-comp-macro.png SendString
Sends the given Text. Appends a CR/LF pair of characters it CrLf is true. 
Fc9-string-icon.png - STRING Text
 
Fc9-u8-icon.png - BYTE CrLf
 
Fc9-void-icon.png - VOID Return


Send_Embedded_HTML_Page1

Fc9-comp-macro.png Send_Embedded_HTML_Page1
 
Fc9-void-icon.png - VOID Return


Send_Embedded_HTML_Page2

Fc9-comp-macro.png Send_Embedded_HTML_Page2
 
Fc9-void-icon.png - VOID Return


Send_Embedded_HTML_Page3

Fc9-comp-macro.png Send_Embedded_HTML_Page3
 
Fc9-void-icon.png - VOID Return


Send_Embedded_HTML_Page4

Fc9-comp-macro.png Send_Embedded_HTML_Page4
 
Fc9-void-icon.png - VOID Return


SetOutValue

Fc9-comp-macro.png SetOutValue
Set the value of an outbound substitution string 
Fc9-u8-icon.png - BYTE index
 
Fc9-string-icon.png - STRING value
 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png IP Address
Fc9-type-21-icon.png IP 0
First number in IP address - e.g. xxx.168.1.1  
Fc9-type-21-icon.png IP 1
Second number in IP address - e.g. 192.xxx.1.1  
Fc9-type-21-icon.png IP 2
Third number in IP address - e.g. 192.168.xxx.1  
Fc9-type-21-icon.png IP 3
Fourth number in IP address - e.g. 192.168.1.xxx 
Fc9-conn-icon.png Subnet Mask
Fc9-type-21-icon.png Mask 0
First number in Subnet mask - e.g. xxx.255.255.0  
Fc9-type-21-icon.png Mask 1
Second number in Subnet mask - e.g. 255.xxx.255.0  
Fc9-type-21-icon.png Mask 2
Third number in Subnet mask - e.g. 255.255.xxx.0  
Fc9-type-21-icon.png Mask 3
Fourth number in Subnet mask - e.g. 255.255.255.xxx  
Fc9-conn-icon.png Gateway IP
Fc9-type-21-icon.png Gateway 0
First number from IP address used as the gateway to the internet e.g. xxx.168.1.1 
Fc9-type-21-icon.png Gateway 1
Second number from IP address used as the gateway to the internet e.g. 192.xxx.1.1 
Fc9-type-21-icon.png Gateway 2
Third number from IP address used as the gateway to the internet e.g. 192.168.xxx.1 
Fc9-type-21-icon.png Gateway 3
Fourth number from IP address used as the gateway to the internet e.g. 192.168.1.xxx 
Fc9-conn-icon.png Connections
Fc9-type-5-icon.png Trigger
WLAN module trigger pin connection 
Fc9-type-5-icon.png Reset
WLAN module reset pin connection 
Fc9-type-16-icon.png UART
WLAN module UART channel selection 
Fc9-type-5-icon.png Tx
WLAN module UART data transmit pin. Connects to receive pin on WLAN module. 
Fc9-type-5-icon.png Rx
WLAN module UART data receive pin. Connects to transmit pin on WLAN module. 
Fc9-type-10-icon.png SSID
Wireless network identifier string 
Fc9-type-16-icon.png SSID Broadcast
Decides if the network is detectable by a nearby Wifi device. 
Fc9-type-21-icon.png Server Port
Port number which is being monitored by the server, for starndard webpages port 80 is the default. To specify a non standard port you can enter the custom port number in the URL after a colon like this. 192.168.1.1:8080 - here we use 8080 as an alternative port. 
Fc9-type-16-icon.png WLAN Mode
Decides if the WLAN module is configured as a end device (connects to another wifi router) Or as an access point (allowing other wifi devices to connect to it) 
Fc9-type-16-icon.png DHCP
Controls if we are assigning IPs to any joing wifi devices or if we are using a fixed IP based system. 
Fc9-conn-icon.png DHCP Pool Start IP Address
Fc9-type-21-icon.png Start IP 0
Minimum IP address that can be generated for a joining device under DHCP. 
Fc9-type-21-icon.png Start IP 1
Minimum IP address that can be generated for a joining device under DHCP. 
Fc9-type-21-icon.png Start IP 2
Minimum IP address that can be generated for a joining device under DHCP. 
Fc9-type-21-icon.png Start IP 3
Minimum IP address that can be generated for a joining device under DHCP. 
Fc9-conn-icon.png DHCP Pool End IP Address
Fc9-type-21-icon.png End IP 0
Maximum IP address that can be generated for a joining device under DHCP. 
Fc9-type-21-icon.png End IP 1
Maximum IP address that can be generated for a joining device under DHCP. 
Fc9-type-21-icon.png End IP 2
Maximum IP address that can be generated for a joining device under DHCP. 
Fc9-type-21-icon.png End IP 3
Maximum IP address that can be generated for a joining device under DHCP. 
Fc9-type-16-icon.png Security
Decides if the security if untouched or reset to open. Security settings can be assigned using the Wiznet control web interface which is built into the modules. 
Fc9-type-16-icon.png Channel
Configures the Wifi data channel, setting to auto will allow the device to scan for the best channel for your area and the surounding wifi devices. 
Fc9-type-16-icon.png Data Rate
The data rate to try and acheive with the wifi connection. 
Fc9-type-16-icon.png Tx Power
The amount of power to use when transmitting signals to other wifi devices. 
Fc9-conn-icon.png HTML Source
Fc9-type-16-icon.png Max Web Pages
Maximum number of individual webpages we can serve up with the component. 
Fc9-type-21-icon.png Web Page Timeout
Number of cycles to try and send / receive a webpage before timing out. 
Fc9-type-10-icon.png Name Page 1
HTML name of webpage 1 
Fc9-type-11-icon.png HTML Page 1
HTML content for webpage 1 
Fc9-type-10-icon.png Name Page 2
HTML name of webpage 2 
Fc9-type-11-icon.png HTML Page 2
HTML content for webpage 2 
Fc9-type-10-icon.png Name Page 3
HTML name of webpage 3 
Fc9-type-11-icon.png HTML Page 3
HTML content for webpage 3  
Fc9-type-10-icon.png Name Page 4
HTML name of webpage 4 
Fc9-type-11-icon.png HTML Page 4
HTML content for webpage 4 
Fc9-type-10-icon.png Label
Text label used to help identify the component on the panel.