Commit ef350209 authored by Axel Auweter's avatar Axel Auweter
Browse files
parents 6fdbcc44 73c6ad4d
......@@ -167,7 +167,7 @@ int main(void) {
if (sensordataCf<0) {
cout << "Creating sensordata column familiy...\n";
query = "CREATE TABLE sensordata ( sid int, ts bigint, value float, PRIMARY KEY (sid, ts)) WITH COMPACT STORAGE;";
query = "CREATE TABLE sensordata ( sid bigint, ts bigint, value bigint, PRIMARY KEY (sid, ts)) WITH COMPACT STORAGE;";
cout << "Sending CQL statement: " << query;
myClient->execute_cql3_query(res, query, Compression::NONE, ConsistencyLevel::ONE);
cout << " --> Success!\n";
......
......@@ -65,7 +65,7 @@
/*
* Enable verbose output of the MQTT server.
*/
#define SimpleMQTTVerbose
//#define SimpleMQTTVerbose
#include "simplemqttservermessage.h"
typedef void (*SimpleMQTTMessageCallback)(SimpleMQTTMessage*);
......
......@@ -64,6 +64,7 @@ public:
ssize_t appendRawData(void* buf, size_t len);
bool complete();
bool isPublish();
// std::string getTopic();
void dump();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment