 //      --> time stamp, RF12 group ID, node ID, Vcc, T1, T2
 // 2) raw data file
 //      --> time stamp, RF12 group ID, node ID, all data bytes received
-// 3) publish to MQTT server 192.168.1.12
+// 3) publish to MQTT server 192.168.178.27
 //
 // Blink LED #13 for each package received
 //
-// 150202 YunHub 1.03
+// 150514 YunHub 1.03a
 //
 
 #include <Bridge.h>


    Serial.begin(57600);
    Serial.println("***");
    Serial.println("*** 150202 YunHub 1.03");
    Serial.println("***");
    Serial.println("***  Log all incoming RF12 data to SD and publish to MQTT server 192.168.1.50");
    Serial.println("***");
    Serial.println("*** Format:     time stamp, RF12 group ID, node ID, Vcc, T1, T2");
    Serial.println("***             time stamp, RF12 group ID, node ID, raw data bytes");

#include <PubSubClient.h>
char message_buff[255];
// Update these with values suitable for your network.
byte server[] = { 192, 168, 178, 27 };

// ===========================================================
// MQTT callback function, called for incoming messages
