Thales IoT Developer Community
UART to FTP pipe - example Java MIDlet
Showcase, June 30, 2016 - 4:01pm, 3873 views
This is a short the FTP example project which uses the free Ftp2Me library (http://ftp2me.sourceforge.net/) with only some minor modifications.
After start the application starts listening on the ASC0 interface. All the data received is stored to the module's file system. After the end of file sequence (defined by the user - 3 characters repeated 4 ***** each) the data is sent to the FTP server as file. Some status information is also sent back on UART. Additionally there is debug output sent to system out. After all files are sent (the number of files is configured in the jad file) the application closes.
Some more information can be found in the source files.
Some parameters can be configured in the jad file: