diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-29 00:06:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-29 00:06:14 +0000 |
commit | 9659f582f869563ac0c473674b76336f041c22fb (patch) | |
tree | 1751abe11bd5ff73288d746c6b2ca46647e443f4 /nuttx/examples/README.txt | |
parent | dae9c2321c03dabb3817cc5216be27b9ec5aaf8e (diff) | |
download | px4-nuttx-9659f582f869563ac0c473674b76336f041c22fb.tar.gz px4-nuttx-9659f582f869563ac0c473674b76336f041c22fb.tar.bz2 px4-nuttx-9659f582f869563ac0c473674b76336f041c22fb.zip |
Add logic to build sendmail example on target
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1664 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/README.txt')
-rw-r--r-- | nuttx/examples/README.txt | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/nuttx/examples/README.txt b/nuttx/examples/README.txt index 0ae8d9d34..faa378bb2 100644 --- a/nuttx/examples/README.txt +++ b/nuttx/examples/README.txt @@ -234,15 +234,26 @@ examples/sendmail ^^^^^^^^^^^^^^^^^ This examples exercises the uIP SMTP logic by sending a test message - to a selected recipient. - - NOTE 1: This test is not integrated into NuttX as of this writing, - it can only be built to execute of the Cygwin/Linux host for unit- - testing of the logic. + to a selected recipient. This test can also be built to execute on + the Cygwin/Linux host environment: cd examples/sendmail make -f Makefile.host + Settings unique to this example include: + + CONFIG_EXAMPLE_SENDMAIL_NOMAC - May be defined to use software assigned MAC (optional) + CONFIG_EXAMPLE_SENDMAIL_IPADDR - Target IP address (required) + CONFIG_EXAMPLE_SENDMAIL_DRIPADDR - Default router IP addess (required) + CONFIG_EXAMPLE_SENDMAILT_NETMASK - Network mask (required) + CONFIG_EXAMPLE_SENDMAIL_RECIPIENT - The recipient of the email (required) + CONFIG_EXAMPLE_SENDMAIL_SENDER - Optional. Default: "nuttx-testing@example.com" + CONFIG_EXAMPLE_SENDMAIL_SUBJECT - Optional. Default: "Testing SMTP from NuttX" + CONFIG_EXAMPLE_SENDMAIL_BODY - Optional. Default: "Test message sent by NuttX" + + NOTE: This test has not been verified on the NuttX target environment. + As of this writing, unit-tested in the Cygwin/Linux host environment. + NOTE 2: This sendmail example only works for the simplest of environments. Virus protection software on your host may have to be disabled to allow you to send messages. Only very open, |