IoT::BtLE

class PeripheralEventDispatcher

File Information

Library: IoT/BtLE
Package: Generated
Header: IoT/BtLE/PeripheralEventDispatcher.h

Description

This class provides a high-level interface to a Bt LE peripheral device using the Bt Generic Attribute Profile (GATT).

Inheritance

Direct Base Classes: Poco::RemotingNG::EventDispatcher

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

Member Summary

Member Functions: event__connected, event__disconnected, event__error, event__indicationReceived, event__notificationReceived, remoting__typeId

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

Constructors

PeripheralEventDispatcher

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

Destructor

~PeripheralEventDispatcher virtual

virtual ~PeripheralEventDispatcher();

Member Functions

event__connected

void event__connected(
    const void * pSender
);

event__disconnected

void event__disconnected(
    const void * pSender
);

event__error

void event__error(
    const void * pSender,
    const std::string & data
);

event__indicationReceived

void event__indicationReceived(
    const void * pSender,
    const IoT::BtLE::Indication & data
);

event__notificationReceived

void event__notificationReceived(
    const void * pSender,
    const IoT::BtLE::Notification & data
);

remoting__typeId virtual inline

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

Securely control IoT edge devices from anywhere   Connect a Device