Embedded TCP/IP stack  4.7.0

◆ FNET_SHELL_ESCAPE_SYMBOL

#define FNET_SHELL_ESCAPE_SYMBOL   '\\'

The escape symbol ().

The escape character () provides the way to include the FNET_SHELL_QUOTE_SYMBOL quote symbol and the FNET_SHELL_COMMAND_SPLITTER split symbol inside a string argument.
For example, to set the bootscript parameter to the value:

dhcp ; tftp; set bootscript 'tftp\; go 0x20000'

In the shell prompt, you should enter:

FNET> set bootscript `dhcp \; info\; set bootscrpt \` tftp\\; go 0x20000\``

Definition at line 127 of file fnet_shell.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net