Fix datapart length
Reported here: https://lowpowerlab.com/forum/pi-gateway/pigateway-v9-1-0-released/msg27901/#msg27901
This commit is contained in:
parent
63fadfe6d6
commit
c6445acc30
|
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
//******************************************** BEGIN ADVANCED variables ********************************************************************************
|
//******************************************** BEGIN ADVANCED variables ********************************************************************************
|
||||||
#define RAMSIZE 2048
|
#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
|
#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 {
|
typedef struct req {
|
||||||
|
|
|
||||||
|
|
@ -44,17 +44,14 @@
|
||||||
|
|
||||||
#define LED_HIGH digitalWrite(LED_BUILTIN, HIGH)
|
#define LED_HIGH digitalWrite(LED_BUILTIN, HIGH)
|
||||||
#define LED_LOW digitalWrite(LED_BUILTIN, LOW)
|
#define LED_LOW digitalWrite(LED_BUILTIN, LOW)
|
||||||
|
|
||||||
//******************************************** BEGIN ADVANCED variables ********************************************************************************
|
//******************************************** BEGIN ADVANCED variables ********************************************************************************
|
||||||
#if defined (MOTEINO_M0)
|
#if defined(MOTEINO_M0) || defined(MOTEINO_MEGA)
|
||||||
#define RAMSIZE 16384
|
|
||||||
#elif defined (MOTEINO_MEGA)
|
|
||||||
#define RAMSIZE 16384
|
#define RAMSIZE 16384
|
||||||
#else
|
#else
|
||||||
#define RAMSIZE 2048
|
#define RAMSIZE 2048
|
||||||
#endif
|
#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
|
#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 {
|
typedef struct req {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue