- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WiConnect sits on top of WICED to enable a faster time to market through an easy to use API.
WiConnect runs as standard on all ACKme Networks Wi-Fi modules
WiConnect File System (WCFS)
Most connected applications require the ability to store configuration information or cache local data. WiConnect provides a reliable read/write filesystem and on-board flash storage to satisfy application storage requirements. With just a few simple commands, WiConnect provides your application with complete access to local and network connected storage.
Commands available to create, delete and open files are available here, and file contents can be easily accessed using one or more stream commands available here.
Here's a quick example showing how to create, manipulate then delete a file …
WiConnect Commands | Description |
---|---|
|
|
File Listing
Most ACKme Wi-Fi modules contain a microcontroller with internal flash, and an external (to the MCU) serial flash. To obtain a listing of all files on the MCU-internal flash and external serial flash, use the ls command. Users of WiConnect are permitted to write files to serial flash only.
> ls
!# | Type | Flags | Hnd | Size | Version | Filename |
---|---|---|---|---|---|---|
#00 | i-01 | 0009 | 0 | 191677 | 1.1.0 | wifi_fw.bin |
#01 | i-80 | 001B | 47 | 85556 | 1.1.0 | wiconnect.exe |
#02 | i-00 | 001B | 163 | 352516 | 1.1.0 | upgrade_app.exe |
#03 | e-FE | 0001 | 1 | 9641 | 1.1.0 | /setup/index.html |
#04 | e-FD | 0009 | 51 | 189 | 1.1.0 | default_setup.script |
#05 | e-FE | 0001 | 52 | 18067 | 1.1.0 | /setup/images.png |
#06 | e-FE | 0001 | 78 | 10525 | 1.1.0 | /setup/index.css.gz |
#07 | e-FB | 0001 | 81 | 27934 | 1.1.0 | command_help.csv |
#08 | e-03 | 0009 | 175 | 1162 | 1.1.0 | geotrust_ca.pem |
#09 | e-FE | 0001 | 176 | 38779 | 1.1.0 | /setup/index.js.gz |
#10 | e-FE | 0001 | 186 | 1853 | 1.1.0 | /favicon.ico.gz |
File Types
The file type of files on the MCU internal flash is pre-pended with 'i', and the file type of files on the serial flash is pre-pended with 'e'. WiConnect file types are enumerated in the following table.
File type | ID |
---|---|
UPGRADE_APP | 0x00 |
WIFI_FW | 0x01 |
SHARED_LIB | 0x02 |
TLS_CERT | 0x03 |
TXT_LOG | 0x04 |
DCT | 0x05 |
MISC_APP | 0x80 |
WICONNECT_APP | 0x81 |
TEMPORARY | 0xF9 |
GPIO_CONFIG | 0xFA |
COMMAND_HELP | 0xFB |
SDC_CAPS | 0xFC |
SETUP_SCRIPT | 0xFD |
MISC_FIX_LEN | 0xFE |
TYPE_INVALID | 0xFF |
File Checksum
The checksum used on individual files is calculated using a CCITT CRC-16 algorithm with polynomial 0x1021
- Labels:
-
SPI
- Tags:
- ackme
- ackme networks
- acme
- best thing since sliced bread
- file system
- modules
- wi-fi
- wi-fi module
- wiconnect
- wifi
- wifi module