Had to fork with a different name, because of some incompatibility issues.
Diff: DeviceClient.h
- Revision:
- 10:665cfb0da4c5
- Parent:
- 8:cb2c98efdca8
- Child:
- 16:3f8558ebff65
--- a/DeviceClient.h Fri Sep 28 22:29:30 2018 +0000 +++ b/DeviceClient.h Wed Dec 12 22:32:35 2018 +0000 @@ -26,7 +26,7 @@ #include "Command.h" // Update this to the next number *before* a commit -#define __APP_SW_REVISION__ "1.0" +#define __APP_SW_REVISION__ "1.1" // Configuration values needed to connect to IBM IoT Cloud #define QUICKSTART "quickstart" @@ -36,7 +36,7 @@ #define IBM_IOT_MESSAGING ".messaging.internetofthings.ibmcloud.com" #define CONNECT_TIMEOUT 1000 * 60 -#define MQTT_MAX_PACKET_SIZE 250 +#define MQTT_MAX_PACKET_SIZE 1250 typedef void (*CommandHandler)(IoTF::Command &cmd); @@ -73,6 +73,7 @@ bool disconnect(); bool reConnect(); char* ipaddress(); + //NetworkInterface* eth(); }; } #endif