QtXBee::ModemStatus Class Reference
  The ModemStatus class represents the XBee module status. More...
#include <modemstatus.h>
Inheritance diagram for QtXBee::ModemStatus:
 
  
 | Public Member Functions | |
| ModemStatus (QObject *parent) | |
| ModemStatus (const QByteArray &packet, QObject *parent=0) | |
| QString | toString () | 
| Returns a debug string containing all packet's informations.  More... | |
| void | setStatus (Status status) | 
| Status | status () const | 
| QString | statusToString () const | 
|  Public Member Functions inherited from QtXBee::XBeeResponse | |
| XBeeResponse (QObject *parent=0) | |
| XBeeResponse's constructor.  More... | |
| ~XBeeResponse () | |
| XBeeResponse's destructor. | |
| virtual void | clear () | 
| Clears the packet by reseting all attributes to their default value.  More... | |
| void | setData (const QByteArray &data) | 
| Sets the response's data.  More... | |
| QByteArray | data () const | 
| Returns the response's data.  More... | |
|  Public Member Functions inherited from QtXBee::XBeePacket | |
| XBeePacket (QObject *parent=0) | |
| XBeePacket's constructor.  More... | |
| void | setStartDelimiter (unsigned sd) | 
| Sets the frame's start delimiter. By default the start delemiter is set to 0x7E.  More... | |
| void | setLength (unsigned length) | 
| Sets the frame's length.  More... | |
| void | setFrameType (ApiId type) | 
| Sets the frame's type.  More... | |
| void | setFrameId (quint8 id) | 
| Sets the frame's id.  More... | |
| void | setChecksum (unsigned cs) | 
| Sets the checksum.  More... | |
| bool | setPacket (const QByteArray &packet) | 
| Sets the packet's raw data.  More... | |
| QByteArray | packet () const | 
| Returns the frame's packet (raw data)  More... | |
| unsigned | startDelimiter () const | 
| Returns the frame's start delimiter.  More... | |
| quint16 | length () const | 
| Returns the frame-specific data length (Number of bytes between the length and the checksum)  More... | |
| ApiId | frameType () const | 
| Returns the frame's type.  More... | |
| quint8 | frameId () const | 
| Returns the frame's id.  More... | |
| unsigned | checksum () const | 
| Returns the packet's checksum.  More... | |
| virtual void | assemblePacket () | 
| Assembles the packet to be able to send it.  More... | |
| void | escapePacket () | 
| bool | unescapePacket () | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from QtXBee::XBeePacket | |
| static QString | frameTypeToString (const ApiId type) | 
| Returns the given frame type ApiId into a human readable string.  More... | |
|  Protected Member Functions inherited from QtXBee::XBeePacket | |
| void | createChecksum (QByteArray array) | 
| Computes the checksum of the given QByteArray, and set it.  More... | |
|  Protected Attributes inherited from QtXBee::XBeeResponse | |
| QByteArray | m_data | 
Detailed Description
The ModemStatus class represents the XBee module status.
RF module status messages are sent from the module in response to specific conditions.
API identifier value: 0x8A
Member Function Documentation
| 
 | virtual | 
Returns a debug string containing all packet's informations.
- Returns
- a debug string containing all packet's informations.
Reimplemented from QtXBee::XBeePacket.
The documentation for this class was generated from the following files:
- /home/thomas/Projects/QtXBee/src/qtxb/modemstatus.h
- /home/thomas/Projects/QtXBee/src/qtxb/modemstatus.cpp
 
          
          
 1.8.3.1
 1.8.3.1