diff --git a/Examples/MightyHat/MightyHat.ino b/Examples/MightyHat/MightyHat.ino index 5e2672b..5981628 100644 --- a/Examples/MightyHat/MightyHat.ino +++ b/Examples/MightyHat/MightyHat.ino @@ -93,7 +93,7 @@ //******************************************** BEGIN ADVANCED variables ******************************************************************************** #define RAMSIZE 2048 -#define MAX_BUFFER_LENGTH 40 //limit parameter update requests to 40 chars. ex: Parameter:LongRequest +#define MAX_BUFFER_LENGTH 61 //limit parameter update requests to 40 chars. ex: Parameter:LongRequest #define MAX_ACK_REQUEST_LENGTH 30 //60 is max for ACK (with ATC enabled), but need to allow appending :OK and :INV to confirmations from node typedef struct req { diff --git a/Examples/PiGateway/PiGateway.ino b/Examples/PiGateway/PiGateway.ino index 56a5d5d..d8c9002 100644 --- a/Examples/PiGateway/PiGateway.ino +++ b/Examples/PiGateway/PiGateway.ino @@ -44,17 +44,14 @@ #define LED_HIGH digitalWrite(LED_BUILTIN, HIGH) #define LED_LOW digitalWrite(LED_BUILTIN, LOW) - //******************************************** BEGIN ADVANCED variables ******************************************************************************** -#if defined (MOTEINO_M0) - #define RAMSIZE 16384 -#elif defined (MOTEINO_MEGA) +#if defined(MOTEINO_M0) || defined(MOTEINO_MEGA) #define RAMSIZE 16384 #else #define RAMSIZE 2048 #endif -#define MAX_BUFFER_LENGTH 40 //limit parameter update requests to 20 chars. ex: Parameter:LongRequest +#define MAX_BUFFER_LENGTH 61 //limit parameter update requests to 20 chars. ex: Parameter:LongRequest #define MAX_ACK_REQUEST_LENGTH 30 //60 is max for ACK (with ATC enabled), but need to allow appending :OK and :INV to confirmations from node typedef struct req {