IoT::XBee

class XBeeNodeEventDispatcher

File Information

Library: IoT/XBee
Package: Generated
Header: IoT/XBee/XBeeNodeEventDispatcher.h

Description

This class provides a high-level interface to a Digi XBee device using the Digi XBee API frame-based protocol. This class can be used with all XBee devices supporting the XBee API frame-based protocol, including ZigBee devices. Actually supported methods and events are depending on the kind of XBee device, e.g., an 802.15.4 module won't support ZigBee-specific API frames, and vice-versa. Please refer to the XBee product manual for detailed information about the API.

Inheritance

Direct Base Classes: Poco::RemotingNG::EventDispatcher

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::EventDispatcher

Member Summary

Member Functions: event__commandResponseReceived, event__explicitAddressingZigBeePacketReceived, event__frameReceived, event__ioDataReceived, event__ioSampleReceived, event__modemStatusReceived, event__packetReceived, event__remoteCommandResponseReceived, event__sensorReadReceived, event__transmitStatusReceived, event__zigBeePacketReceived, event__zigBeeTransmitStatusReceived, remoting__typeId

Inherited Functions: accept, attributes, duplicate, protocol, referenceCount, release, removeEventFilter, setEventFilter, setEventFilterImpl, subscribe, transportForSubscriber, unsubscribe

Constructors

XBeeNodeEventDispatcher

XBeeNodeEventDispatcher(
    IXBeeNode * pInterface,
    const Poco::RemotingNG::Identifiable::ObjectId & objectId,
    const std::string & protocol
);

Destructor

~XBeeNodeEventDispatcher virtual

virtual ~XBeeNodeEventDispatcher();

Destroys the XBeeNodeEventDispatcher.

Member Functions

event__commandResponseReceived

void event__commandResponseReceived(
    const void * pSender,
    const IoT::XBee::ATCommandResponse & data
);

event__explicitAddressingZigBeePacketReceived

void event__explicitAddressingZigBeePacketReceived(
    const void * pSender,
    const IoT::XBee::ExplicitAddressingZigBeeReceivePacket & data
);

event__frameReceived

void event__frameReceived(
    const void * pSender,
    const IoT::XBee::APIFrame & data
);

event__ioDataReceived

void event__ioDataReceived(
    const void * pSender,
    const IoT::XBee::ReceivePacket & data
);

event__ioSampleReceived

void event__ioSampleReceived(
    const void * pSender,
    const IoT::XBee::IOSample & data
);

event__modemStatusReceived

void event__modemStatusReceived(
    const void * pSender,
    const IoT::XBee::ModemStatus & data
);

event__packetReceived

void event__packetReceived(
    const void * pSender,
    const IoT::XBee::ReceivePacket & data
);

event__remoteCommandResponseReceived

void event__remoteCommandResponseReceived(
    const void * pSender,
    const IoT::XBee::RemoteATCommandResponse & data
);

event__sensorReadReceived

void event__sensorReadReceived(
    const void * pSender,
    const IoT::XBee::SensorRead & data
);

event__transmitStatusReceived

void event__transmitStatusReceived(
    const void * pSender,
    const IoT::XBee::TransmitStatus & data
);

event__zigBeePacketReceived

void event__zigBeePacketReceived(
    const void * pSender,
    const IoT::XBee::ZigBeeReceivePacket & data
);

event__zigBeeTransmitStatusReceived

void event__zigBeeTransmitStatusReceived(
    const void * pSender,
    const IoT::XBee::ZigBeeTransmitStatus & data
);

remoting__typeId virtual inline

virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;

Securely control IoT edge devices from anywhere   Connect a Device