![](http://datasheet.mmic.net.cn/Rabbit-Semiconductor/101-1028_datasheet_95645/101-1028_79.png)
User’s Manual
73
Manager (DLM) and HTTP upload capability, respectively—note that neither of these
currently supports SSL security.
Before you run the INTEGRATION.C sample program, you will first need to format and
partition the serial flash. Find the FMT_DEVICE.C sample program in the Dynamic C
SAMPLES\FileSystem
folder. Open this sample program with the File > Open menu,
then compile and run it by pressing F9. FMT_DEVICE.C formats the serial flash for use
with the FAT file system. If the serial flash is already formatted, FMT_DEVICE.C gives
you the option of erasing the serial flash and reformatting it with a single large partition.
This erasure does not check for non-FAT partitions and will destroy all existing partitions.
Next, run the INTEGRATION_FAT_SETUP.C sample program in the Dynamic C
SAMPLES\RCM3700\Module_Integration
folder. Open this sample program with the
File > Open
menu, then compile and run it by pressing F9. INTEGRATION_FAT_
SETUP.C
will copy some files into the FAT file system via #ximport.
The last step to complete before you can run the INTEGRATION.C sample program is to
create an SSL certificate. The SSL walkthrough in the online documentation for the
Dynamic C SSL module explains how to do this.
Now you are ready to run the INTEGRATION.C sample program in the Dynamic C
SAMPLES\RCM3700\Module_Integration
folder. Open this sample program with the
File > Open
menu, then compile and run it by pressing F9.
NOTE: Since HTTP upload and the Dynamic C SSL module currently do not work
together, compiling the INTEGRATION.C
sample program will generate a serious
warning. Ignore the warning because we are not using HTTP upload over SSL. A
macro (HTTP_UPLOAD_SSL_SUPRESS_WARNING) is available to suppress the
warning message.
Open a Web browser, and browse to the device using the IP address from the TCP_
CONFIG.LIB
library or the URL you assigned to the device. The humidity monitor will
be displayed in your Web browser. This page is accessible via plain HTTP or over SSL-
secured HTTPS. Click on the administrator link to bring up the admin page, which is
secured automatically using SSL with a user name and a password. Use myadmin for user
name and use myadmin for the password.
The admin page demonstrates some RabbitWeb capabilities and provides access to the
HTTP upload page. Click the upload link to bring up the HTTP upload page, which allows
you to choose new files for both the humidity monitor and the admin page. If your browser
prompts you again for your user name and password, they are the same as before.
Note that the upload page is a static page included in the program flash, and can only be
updated by recompiling and downloading the application. This way, the page is protected
so that you cannot accidentally change it, possibly restricting yourself from performing
future updates. If you wish, you may place the upload page into the FAT file system to
allow the upload page to be updated.