mbed based IoT Gateway More details http://blog.thiseldo.co.uk/wp-filez/IoTGateway.pdf
Dependencies: NetServices FatFileSystem csv_parser mbed MQTTClient RF12B DNSResolver SDFileSystem
Diff: Outputs/OutputMqtt.h
- Revision:
- 5:0dbc27a7af55
- Parent:
- 2:27714c8c9c0a
--- a/Outputs/OutputMqtt.h Tue May 01 21:43:40 2012 +0000 +++ b/Outputs/OutputMqtt.h Wed May 09 20:29:30 2012 +0000 @@ -32,6 +32,7 @@ #ifndef _OUTPUTMQTT_H #define _OUTPUTMQTT_H +#include "iotgateway.h" #include "mbed.h" #include "MQTTClient.h" @@ -71,6 +72,13 @@ * @returns -1 for fail, 1 for success */ virtual int send(); + + /** Get the send count + * + * @returns mumber of API calls made + */ + virtual int getSendCount( ); + protected: MQTTClient mqtt;