QtXBee::RemoteNode Class Reference

The RemoteNode class is used to represent a remote XBee node. More...

#include <remotenode.h>

Inheritance diagram for QtXBee::RemoteNode:

Signals

void addressChanged ()
 emitted when the address changes
 
void serialNumberHighChanged ()
 emitted when the serial number's MSB changes
 
void serialNumberLowChanged ()
 emitted when the serial number's LSB changes
 
void rssiChanged ()
 emitted when the RSSI changes
 
void nodeIdentifierChanged ()
 emitted when the node identifier changes
 

Public Member Functions

 RemoteNode (QObject *parent=0)
 
void setAddress (const quint16 my)
 Sets the RemoteNode's address (16 bits address) More...
 
void setSerialNumberHigh (const quint32 sh)
 Sets the serial number (MSB part) More...
 
void setSerialNumberLow (const quint32 sl)
 Sets the serial number (LSB part) More...
 
void setNodeIdentifier (const QString &ni)
 Sets the node identifier. More...
 
void setRssi (const qint8 rssi)
 Sets the RSSI (Received Signal Strength Indication) More...
 
quint16 address () const
 Returns the RemoteNode's address (16 bits address) More...
 
quint32 serialNumberHigh () const
 Returns the RemoteNode' serial number (MSB part) More...
 
quint32 serialNumberLow () const
 Returns the RemoteNode' serial number (LSB part) More...
 
quint64 serialNumber () const
 Returns the RemoteNode' serial number (64 bits) More...
 
qint8 rssi () const
 Returns the RSSI (Received Signal Strength Indication) More...
 
QString nodeIdentifier () const
 Returns the node identifier. More...
 
virtual QString toString ()
 Returns the RemoteNode's properties in a human readable string. More...
 

Protected Attributes

quint16 m_my
 Holds the address.
 
quint32 m_sh
 Holds the serial number's MSB.
 
quint32 m_sl
 Holds the serial number's LSB.
 
qint8 m_rssi
 Holds the RSSI.
 
QString m_ni
 Holds the node identifier.
 

Detailed Description

The RemoteNode class is used to represent a remote XBee node.

Member Function Documentation

quint16 QtXBee::RemoteNode::address ( ) const

Returns the RemoteNode's address (16 bits address)

Returns
the RemoteNode's address (16 bits address)
See Also
RemoteNode::setAddress()
RemoteNode::addressChanged()
QString QtXBee::RemoteNode::nodeIdentifier ( ) const

Returns the node identifier.

Returns
the node identifier
See Also
RemoteNode::setNodeIdentifier()
RemoteNode::nodeIdentifierChanged()
qint8 QtXBee::RemoteNode::rssi ( ) const

Returns the RSSI (Received Signal Strength Indication)

Returns
the RSSI (Received Signal Strength Indication)
See Also
RemoteNode::setRssi()
RemoteNode::rssiChanged()
quint64 QtXBee::RemoteNode::serialNumber ( ) const
quint32 QtXBee::RemoteNode::serialNumberHigh ( ) const
quint32 QtXBee::RemoteNode::serialNumberLow ( ) const
void QtXBee::RemoteNode::setAddress ( const quint16  my)

Sets the RemoteNode's address (16 bits address)

The RemoteNode::addressChanged() signal will be emitted is the address changes.

Parameters
my
See Also
RemoteNode::address()
RemoteNode::addressChanged()
void QtXBee::RemoteNode::setNodeIdentifier ( const QString &  ni)

Sets the node identifier.

The RemoteNode::nodeIdentifierChanged() signal will be emitted is the node identifier changes.

Parameters
my
See Also
RemoteNode::nodeIdentifier()
RemoteNode::nodeIdentifierChanged()
void QtXBee::RemoteNode::setRssi ( const qint8  rssi)

Sets the RSSI (Received Signal Strength Indication)

The RemoteNode::rssiChanged() signal will be emitted is the node identifier changes.

Parameters
rssi
See Also
RemoteNode::rssi()
RemoteNode::rssiChanged()
void QtXBee::RemoteNode::setSerialNumberHigh ( const quint32  sh)

Sets the serial number (MSB part)

The RemoteNode::serialNumberHighChanged() signal will be emitted is the serial number changes.

Parameters
my
See Also
RemoteNode::serialNumberHigh()
RemoteNode::serialNumberHighChanged()
void QtXBee::RemoteNode::setSerialNumberLow ( const quint32  sl)

Sets the serial number (LSB part)

The RemoteNode::serialNumberLowChanged() signal will be emitted is the serial number changes.

Parameters
my
See Also
RemoteNode::serialNumberLow()
RemoteNode::serialNumberLowChanged()
QString QtXBee::RemoteNode::toString ( )
virtual

Returns the RemoteNode's properties in a human readable string.

Returns
the RemoteNode's properties in a human readable string.

The documentation for this class was generated from the following files:
  • /home/thomas/Projects/QtXBee/src/qtxb/remotenode.h
  • /home/thomas/Projects/QtXBee/src/qtxb/remotenode.cpp