COSA
An Object-Oriented Platform for Arduino Programming
CC3000::UnsolicitedEvent Class Reference

#include <CC3000.hh>

Inheritance diagram for CC3000::UnsolicitedEvent:
Inheritance graph
Collaboration diagram for CC3000::UnsolicitedEvent:
Collaboration graph

Public Member Functions

 UnsolicitedEvent (CC3000 *dev)
 
virtual void on_event (uint16_t event, void *args, size_t len)
 

Protected Attributes

CC3000m_dev
 

Detailed Description

Handling of unsolicited events from the CC3000 device.

Definition at line 358 of file CC3000.hh.

Constructor & Destructor Documentation

CC3000::UnsolicitedEvent::UnsolicitedEvent ( CC3000 dev)
inline

Construct handler for unsolicited events for the given device.

Parameters
[in]device.

Definition at line 364 of file CC3000.hh.

Member Function Documentation

void CC3000::UnsolicitedEvent::on_event ( uint16_t  event,
void *  args,
size_t  len 
)
virtual

Unsolicited event callback.

Parameters
[in]eventoperation code.
[in]argspointer to argument block.
[in]lennumber of bytes in argument block.

Implements HCI::Event::Handler.

Definition at line 46 of file CC3000.cpp.

Member Data Documentation

CC3000* CC3000::UnsolicitedEvent::m_dev
protected

Definition at line 380 of file CC3000.hh.


The documentation for this class was generated from the following files: