Ashley Mills / ATConsole

Dependencies:   mbed-rtos VodafoneUSBModem mbed

Embed: (wiki syntax)

« Back to documentation index

ATConsole Class Reference

ATConsole Class Reference

Console for interacting with Vodafone USB (K3770/K3772-Z) dongles. More...

#include <ATConsole.h>

Inherits Console.

Public Member Functions

 ATConsole (Serial *terminal, int lineLength, int numLines, bool characterBased, ATCommandsInterface *atInterface)
 Constructor.
virtual void update ()
 This is called by the instantiating program to update the console.

Protected Attributes

bool _characterBased
 Whether or not this console is character based (true) or line based (false).

Detailed Description

Console for interacting with Vodafone USB (K3770/K3772-Z) dongles.

Definition at line 25 of file ATConsole.h.


Constructor & Destructor Documentation

ATConsole ( Serial *  terminal,
int  lineLength,
int  numLines,
bool  characterBased,
ATCommandsInterface *  atInterface 
)

Constructor.

Parameters:
terminalConsole interface to the driving computer.
lineLengthThe maximum length of line supported (character console only).
numLinesNumber of lines of history to keep (character console only).
characterBasedtrue if the driving console is character based, false if line based.
atInterfaceA Pointer to the ATInterface of the modem.
Returns:
An ATConsole

Definition at line 4 of file ATConsole.cpp.


Member Function Documentation

void update (  ) [virtual]

This is called by the instantiating program to update the console.

Reimplemented from Console.

Definition at line 54 of file ATConsole.cpp.


Field Documentation

bool _characterBased [protected, inherited]

Whether or not this console is character based (true) or line based (false).

Definition at line 49 of file Console.h.