wifi test

Dependencies:   X_NUCLEO_IKS01A2 mbed-http

Embed: (wiki syntax)

« Back to documentation index

WncIO Class Reference

WncIO Class Reference

WncIO class Used to read/write the WNC UART using FILE I/O. More...

#include <WNCIO.h>

Public Member Functions

 WncIO (UARTSerial *uart)
 Create class with either stdio or a pointer to a uart.
int printf (char *fmt,...)
 standard printf() functionallity
int putc (int c)
 standard putc() functionallity
int puts (const char *str)
 standard puts() functionallity
bool readable (void)
 return true when data is available, false otherwise
int getc (void)
 get the next character available from the uart
void baud (int baud)
 set the uart baud rate

Detailed Description

WncIO class Used to read/write the WNC UART using FILE I/O.

Definition at line 40 of file WNCIO.h.


Constructor & Destructor Documentation

WncIO ( UARTSerial *  uart )

Create class with either stdio or a pointer to a uart.

Definition at line 44 of file WNCIO.h.


Member Function Documentation

void baud ( int  baud )

set the uart baud rate

Definition at line 92 of file WNCIO.h.

int getc ( void   )

get the next character available from the uart

Definition at line 85 of file WNCIO.h.

int printf ( char *  fmt,
  ... 
)

standard printf() functionallity

Definition at line 48 of file WNCIO.h.

int putc ( int  c )

standard putc() functionallity

Definition at line 62 of file WNCIO.h.

int puts ( const char *  str )

standard puts() functionallity

Definition at line 71 of file WNCIO.h.

bool readable ( void   )

return true when data is available, false otherwise

Definition at line 80 of file WNCIO.h.