WiConnect 2.1 provides the following new functionality as well as general improvements and stability enhancements.
WiConnect is designed for use wiith ACKme's Wi-Fi modules
§ Secure HTTP webserver with RESTful API and Websockets that can be used on the wireless softAP or WLAN client interface. The web server enables 100% wireless control and data exchange with the module using a web client such as a phone, tablet or PC. See Networking and Security, HTTP Server REST API.
§ A responsive web application based on the WiConnect Javascript API library. The web app may be 100% customized to suit end-product requirements. The new WiConnect web app includes a web console and graphical drag and drop file browser.
§ Device discovery to enable network clients to discover ACKme devices and WiConnect services (such as the HTTP webserver), and enables WiConnect to discover services offered by network servers. The discovery protocol supports various protocols including mDNS/Zeroconf, LLMNR and Netbios. See Networking and Security, mDNS.
§ SMTP email client enabling the module to send secure email
§ Support for external bulk serial flash up to 128 MBytes. See File System, Internal, Extended and Bulk Flash.
§ Out-of-band GPIO to indicate a status change to one or more configured events e.g. TCP client data available, Network status change, etc
§ Auto-connect feature for TCP/UDP clients and UDP server. See TCP Client Auto Connect,UDP Client Auto Connect and UDP Server Auto Connect.
§ API for TCP keepalive, see Wireless Serial Port example.
Improved power supply monitoring and brownout performance.
Improved power supply monitoring and brownout performance.
§ Force safe mode option to aid validation of recovery, see App Note, Recovery from Safe Mode.
§ API to dynamically read and write all GPIOs simultaneously.
§ Automatic HTTP POST of dynamic module information to a remote HTTP server.
§ ADC lookup table automatically converts raw ADC values into meaningful pre-calibrated data.
§ Individual control of GPIO direction and output values in ultra-low power sleep mode
Changelog
v2.1.0 : Changes for v2.1.0 are listed in the following tables.
Commands Added
Change | Description |
Display system faults (previously available in safe mode only). | |
Reset system faults (previously available in safe mode only). | |
Force a module into safe mode. | |
Format extended or bulk flash. | |
Set the direction of all GPIOs simultaneously. | |
Get the value of all GPIOs simultaneously. | |
Set the value of all GPIOs simultaneously. | |
Discover mDNS services on the local network. | |
Quickly verify the credentials of a WLAN network. | |
Send an email via an external SMTP server. |
Commands Changed
Change | Description |
voltage and lookup table options added | |
-u file unprotect option added. -o stream open option added. | |
-u file unprotect option added | |
-l option added, equivalent to -v, for linux compatibility |
Variables Added
Change | Description |
Specify information fields to be periodically transmitted in a packet (deprecates broadcast.udp.data). | |
Periodically issue JSON formatted data to the specified host as an HTTP post request | |
Set default interface used to transmit informational packets (deprecates broadcast.udp.interface), | |
Set time between transmission of informational packets (deprecates broadcast.udp.interval) | |
Flag whether to reset the flush timer if data is received before flush timeout expires. | |
Set the state of the GPIO when sleeping. | |
Enable the HTTP Server API. | |
Set the filename of the HTTP Server unauthorized page. | |
Specify allowed origins for HTTP cross-site requests. | |
Enable the HTTP Server. | |
Specify HTTP Server interface. | |
Set HTTP Server password. | |
Set HTTP Server port. | |
Set HTTP Server root filename. | |
Set HTTP Server TLS certificate filename. | |
Enable HTTP Server TLS. | |
Set HTTP Server TLS key filename. | |
Client connecting to HTP server must provide a valid TLS certificate for validation. | |
Set HTTP Server root username. | |
Enable mDNS. | |
Specify the network interface on which the mDNS daemon runs. | |
Set the mDNS domain name of the module. | |
Advertise a module server via mDNS. | |
Set the timeout of the module's mDNS response. | |
Return a comma separated list of the DNS server addresses that the wlan interface is using. | |
Specify when to run the command configured with setup.gpio.cmd. | |
Set the name and/or address of the email client. | |
Set external SMTP host. | |
Set SMTP password. | |
Set SMTP port. | |
Set SMTP user name. | |
Hide or show the SSID (name) of the softAP. | |
Set ADV voltage reference. | |
Set bulk flash chip select GPIO | |
Set Out-of-band GPIO event mask | |
Set Out-of-band GPIO | |
Set Out-of-band GPIO level | |
Set Out-of-band GPIO rising edge mask | |
Set Out-of-band GPIO status | |
Interface to auto-start TCP client connection. | |
Determine number of attempts to reconnect after remote server disconnects client. | |
Enable/disable TCP client auto-start feature. | |
Set domain or IP address of remote tcp server to auto connect. | |
Set port of remote tcp server to auto connect. | |
Enable/disable TCP keepalive feature of network stack. | |
Set number of seconds for initial keepalive expiration. | |
Set maximum number of times to retry keepalive. | |
Set period of keepalive retries. | |
Set the server TLS CA certificate filename. | |
Enable server TLS. | |
Set the server TLS certificate key filename. | |
Validate TLS certificate of connecting clients. | |
Set interface to auto-start UDP client connection. | |
Enable/disable UDP client auto-start feature. | |
Set domain or IP address of remote udp server to auto connect. | |
Set port of remote UDP server to auto connect. | |
Lock UDP server to first client from which it receives a packet. | |
Set domain or IP address of remote udp client to auto connect. | |
Set port of remote UDP client to auto connect. |
Variables Changed
Change | Description |
Renamed to broadcast.data. Old name deprecated and will be removed in future releases. | |
Renamed to broadcast.interface. Old name deprecated and will be removed in future releases. | |
Renamed to broadcast.interval. Old name deprecated and will be removed in future releases. | |
Now returns GPIO direction settings for each Standard I/O GPIO, in addition to information returned previously |