pppc.c File Reference

Go to the source code of this file.

Defines

#define PPPUSER   "me"
#define PPPPASS   "secret"
#define PPPCHAT   "TIMEOUT 2 '' CLIENT\\c CLIENTSERVER"
#define PPPCOM   "uart0"
#define PPPSPEED   115200
#define PPPRXTO   1000
#define RXBUFFSIZE   256
#define CC_STRING   "AVRGCC"
#define DBGDEV   devDebug1
#define DBGCOM   "uart1"
#define DBGSPEED   115200

Functions

void ProcessRequests (FILE *stream)
int main (void)

Variables

prog_char vbanner_P [] = "\n\nPPP Client Sample - Nut/OS %s - " CC_STRING "\n"
prog_char banner_P [] = "200 Welcome to tcps. Type help to get help.\r\n"
prog_char help_P []
prog_char thread_intro_P [] = "220 List of threads with name,state,prio,stack,mem,timeout follows\r\n"
prog_char timer_intro_P [] = "221 List of timers with ticks left and interval follows\r\n"
prog_char mem_fmt_P [] = "210 %lu bytes RAM free\r\n"


Define Documentation

#define PPPUSER   "me"

Examples:
pppc/pppc.c.

Definition at line 94 of file pppc.c.

Referenced by main().

#define PPPPASS   "secret"

Examples:
pppc/pppc.c.

Definition at line 95 of file pppc.c.

Referenced by main().

#define PPPCHAT   "TIMEOUT 2 '' CLIENT\\c CLIENTSERVER"

Examples:
pppc/pppc.c.

Definition at line 102 of file pppc.c.

Referenced by main().

#define PPPCOM   "uart0"

Examples:
pppc/pppc.c.

Definition at line 119 of file pppc.c.

Referenced by main().

#define PPPSPEED   115200

Examples:
pppc/pppc.c.

Definition at line 120 of file pppc.c.

Referenced by main().

#define PPPRXTO   1000

Examples:
pppc/pppc.c.

Definition at line 121 of file pppc.c.

Referenced by main().

#define RXBUFFSIZE   256

Examples:
pppc/pppc.c.

Definition at line 127 of file pppc.c.

Referenced by ProcessRequests().

#define CC_STRING   "AVRGCC"

Definition at line 162 of file pppc.c.

#define DBGDEV   devDebug1

Examples:
pppc/pppc.c.

Definition at line 171 of file pppc.c.

Referenced by main().

#define DBGCOM   "uart1"

Definition at line 173 of file pppc.c.

#define DBGSPEED   115200

Examples:
pppc/pppc.c.

Definition at line 174 of file pppc.c.

Referenced by main().


Function Documentation

void ProcessRequests ( FILE stream  ) 

int main ( void   ) 


Variable Documentation

prog_char vbanner_P[] = "\n\nPPP Client Sample - Nut/OS %s - " CC_STRING "\n"

Examples:
pppc/pppc.c.

Definition at line 177 of file pppc.c.

Referenced by main().

prog_char banner_P[] = "200 Welcome to tcps. Type help to get help.\r\n"

Examples:
pppc/pppc.c.

Definition at line 178 of file pppc.c.

Referenced by ProcessRequests().

prog_char help_P[]

Initial value:

 "400 List of commands follows\r\n"
    "m[emory]\tQueries number of RAM bytes free.\r\n"
    "t[hreads]\tLists all created threads.\r\n"
    "ti[mers]\tLists all running timers.\r\n" "q[uit]\t\tTerminates connection.\r\n" ".\r\n"
Examples:
pppc/pppc.c.

Definition at line 179 of file pppc.c.

Referenced by ProcessRequests().

prog_char thread_intro_P[] = "220 List of threads with name,state,prio,stack,mem,timeout follows\r\n"

Examples:
pppc/pppc.c.

Definition at line 183 of file pppc.c.

Referenced by ProcessRequests().

prog_char timer_intro_P[] = "221 List of timers with ticks left and interval follows\r\n"

Examples:
pppc/pppc.c.

Definition at line 184 of file pppc.c.

Referenced by ProcessRequests().

prog_char mem_fmt_P[] = "210 %lu bytes RAM free\r\n"

Examples:
pppc/pppc.c.

Definition at line 185 of file pppc.c.

Referenced by ProcessRequests().


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/