Designed to substantially reduce your time-to-market - WiConnect just got even better!
Notes for WiConnect v2.0
- This version provides higher throughput for the AMW004 module (Wallaby) - up to 10Mbit/s on the UART !
- Adds support for the AMW006 module (Numbat).
- Stream mode stability is enhanced.
- New features include a UDP server, and a TLS server providing a secure extension to the TCP server functionality.
- File management is improved with the ability to download files from, and upload files to, an HTTP server.
- Multiple variable configurations can be saved as named files and reloaded.
- Variable configuration can be maintained through an OTA upgrade.
- There is precise management of the memory used for the Tx and Rx network pool buffers.
- In addition there is greater transparency and access to information such as connected clients, AP status and network join results.
Changelog
v2.0.0 : Changes for v2.0.0 are listed in the following tables.
General
As well as the changes listed above, MCU control of WiConnect is enhanced with response timestamping and the ability to enable or disable buffering of command output.
Commands Added
Change | Description |
---|---|
http_download | Download file(s) from an HTTP server and save to external flash. |
http_upload | Upload file(s) from the device flash to an HTTP server using HTTP POST and file upload. |
load | Load a variable configuration previously saved to flash by the save command |
save | Save now saves to a named configuration file for subsequent load. Save to default_config.csv to maintain configuration through an ota upgrade. |
tls_server | Provides a TLS server for secure data interchange |
udp_server | Provides a UDP server that can listen for and send messages. |
Commands Deleted or Renamed
Change | Description |
---|---|
ghm_signup | Deprecated |
Variables Added
Change | Description |
---|---|
broadcast.udp.data | Now allows for ADC data to be included in broadcast UDP message |
network.buffer.rxtx_ratio | Set the ratio of Rx and Tx network buffer pool sizes. |
network.buffer.size | Set the size of the combined Rx and Tx network buffers. |
network.buffer.usage | Show approximate network buffer usage. |
network.dhcp.timeout | Set the timeout for obtaining an address as a client from an external DHCP server. |
setup.web.client_list | List MAC address, IP address and OS of connected websetup clients |
softap.client_list | List clients connected to the Soft AP |
softap.info | List Soft AP connection status parameters: state, SSID, channel and clients. |
stream.auto_close | Determine whether a stream handle is automatically reused when closed, for use when TCP/TLS clients close a connection. |
system.cmd.buffered | Flag to enable/disable buffering of certain command responses, for use when reading command output by machine. |
system.cmd.timestamp | Adds a millisecond resolution timestamp to each WiConnect response. |
tcp.server.tls_ca_cert | The CA cert with which the server TLS cert was signed. |
tcp.server.tls_cert | The server TLS certificate file. |
tcp.server.tls_enabled | Enable server TLS certificate (used with auto_start option) |
tcp.server.tls_key | The server TLS certificate key filename. |
tcp.server.tls_verify_peer | Require connecting client to provide a valid TLS certificate |
udp.server.auto_interface | If 'auto-start' is enabled, this is the interface used when the UDP server is set to auto-start. |
udp.server.auto_start | Start UDP server on power-up |
udp.server.data_gpio | The specified GPIO is asserted HIGH when client data is available to be read. |
udp.server.port | Default port for UDP server to bind. |
wlan.info | WLAN connection status parameters: state, SSID, BSSID, channel and datarate |
wlan.join.result | Result code of most recent join attempt (network up event). |
wlan.join.timeout | The maximum amount of time to wait while the module attempts to join a network. |
Variables Deleted or Renamed
Note: These changes lead to errors in command sequences that make use of the old version of the variables
Old Name | New Name | Description |
---|---|---|
network.dhcp | network.dhcp.enabled | Renamed |