![](/media/cache/profiles/DalekSelfie2.jpg.50x50_q85.jpg)
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: Routing/IoTRouting.h
- Revision:
- 4:d460406ac780
- Parent:
- 0:a29a0225f203
- Child:
- 5:0dbc27a7af55
--- a/Routing/IoTRouting.h Fri Apr 20 19:32:34 2012 +0000 +++ b/Routing/IoTRouting.h Tue May 01 21:43:40 2012 +0000 @@ -37,6 +37,8 @@ #include "OutputDef.h" #include "OutputPachube.h" #include "OutputMqtt.h" +#include "OutputEmonCms.h" +#include "OutputSenSe.h" #include "PayloadV1.h" #include "PayloadV2.h" #include "PayloadSimple.h" @@ -56,6 +58,8 @@ #define OUTPUT_UNKNOWN 0 #define OUTPUT_TYPE_PACHUBE 1 #define OUTPUT_TYPE_MQTT 2 +#define OUTPUT_TYPE_EMONCMS 3 +#define OUTPUT_TYPE_SENSE 4 /** Routing definition for a reading * Input source, node ID, sensor ID, output @@ -174,7 +178,8 @@ int sendCount; OutputDef *pachubeOutput; OutputDef *mqttOutput; -// IpAddr serverIpAddr(192,168,1,77); + OutputDef *emonCmsOutput; + OutputDef *senSeOutput; std::vector<PayloadRouting*> _routing; std::vector<IoTNodeDef*> _nodeDefList;