Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
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 …
file_create hello.txt 12
stream_read 0 50
<- Create the file (it will be 12-bytes long)
<- Enter the contents of the file (won't be echoed to the terminal)
<- Open the file for reading
<- Read no more than 50-bytes (file stream handle = 0)
<- Close the file
<- Delete the file
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.
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.
The checksum used on individual files is calculated using a CCITT CRC-16 algorithm with polynomial 0x1021