diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-07-13 19:57:04 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-07-13 19:57:04 -0600 |
commit | ceeb75753a8594ceff6c1f34df03f8ae2c151d83 (patch) | |
tree | d6b369e763b8aed5afc17ccd6588c1cb7451245b /apps/include | |
parent | 8c2f7661b762fb378415e2df4b2634910acd3eb4 (diff) | |
download | nuttx-ceeb75753a8594ceff6c1f34df03f8ae2c151d83.tar.gz nuttx-ceeb75753a8594ceff6c1f34df03f8ae2c151d83.tar.bz2 nuttx-ceeb75753a8594ceff6c1f34df03f8ae2c151d83.zip |
Resolve a few Zmodem sender streaming issues
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/zmodem.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/include/zmodem.h b/apps/include/zmodem.h index 101512f97..668875fd5 100644 --- a/apps/include/zmodem.h +++ b/apps/include/zmodem.h @@ -93,6 +93,34 @@ # define CONFIG_SYSTEM_ZMODEM_MOUNTPOINT "/tmp" #endif +/* CONFIG_SYSTEM_ZMODEM_RCVSAMPLE indicates the the local sender can sample + * reverse channel while sending. This means in particular, that Zmodem can + * detect if data is received from the remote receiver while streaming a file + * to the remote receiver. Support for such asychronous incoming data + * notification is needed to support interruption of the file transfer by + * the remote receiver. + * + * This capapability is not yet supported. There are only incomplete hooks + * in the code now! + */ + +#ifndef CONFIG_SYSTEM_ZMODEM_MOUNTPOINT +# warning CONFIG_SYSTEM_ZMODEM_RCVSAMPLE not yet support +# undef CONFIG_SYSTEM_ZMODEM_RCVSAMPLE +#endif + +/* CONFIG_SYSTEM_ZMODEM_SENDATTN indicates that the local sender retains + * an attention string that will be sent to the remote receiver + * + * This capapability is not yet supported. There are only incomplete hooks + * in the code now! + */ + +#ifndef CONFIG_SYSTEM_ZMODEM_SENDATTN +# warning CONFIG_SYSTEM_ZMODEM_SENDATTN not yet support +# undef CONFIG_SYSTEM_ZMODEM_SENDATTN +#endif + /* Response time for sender to respond to requests */ #ifndef CONFIG_SYSTEM_ZMODEM_RESPTIME |