Gsm0710Frame Class Reference

GSM 07.10 multiplexer frame class. More...

#include <Gsm0710Buffer.h>

List of all members.

Public Member Functions

 Gsm0710Frame ()
 Class constructor.
 ~Gsm0710Frame ()
 Class destructor.
bool matchCmdType (unsigned char type)
 Compare UIH control frame type.
bool matchControl (unsigned char ctl)
 Compare CMUX frame type.

Public Attributes

unsigned char dlci
unsigned char control
unsigned char * data
size_t length

Detailed Description

GSM 07.10 multiplexer frame class.

Implements the GSM 07.10 multiplexer frame related functionality.


Constructor & Destructor Documentation

Gsm0710Frame::Gsm0710Frame (  ) 

Class constructor.

Initializes the GSM 07.10 multiplexer frame object.

Gsm0710Frame::~Gsm0710Frame (  ) 

Class destructor.

Terminates the GSM 07.10 multiplexer frame object.


Member Function Documentation

bool Gsm0710Frame::matchCmdType ( unsigned char  type  ) 

Compare UIH control frame type.

Compare the stored UIH control frame type with the one specified

Parameters:
type The frame type that the stored frame should match with
Returns:
Returns true if the specified control channel frame type matches the currently stored frame type.
bool Gsm0710Frame::matchControl ( unsigned char  ctl  ) 

Compare CMUX frame type.

Compare the stored CMUX frame type with the one specified

Parameters:
ctl The frame type that the stored frame should match with
Returns:
Returns true if the specified frame type matches the currently stored frame type.

Member Data Documentation

unsigned char Gsm0710Frame::control

Control field that specifies frame type

unsigned char* Gsm0710Frame::data

Frame data buffer

unsigned char Gsm0710Frame::dlci

Data link connection identifier

Data buffer length


The documentation for this class was generated from the following files:
Generated on Wed Oct 20 11:13:44 2010 for libspatha by  doxygen 1.6.3