For the bacwp command (demo/writeprop), the maximum number of
tag/value pairs you can pass from the command line defaults to 64 (in main.c.) This setting may be changed to any other value by setting MAX_PROPERTY_VALUES in either Makefile or makefile.b32 in the demo/writeprop directory.
This commit is contained in:
@@ -51,6 +51,10 @@
|
||||
#include "client.h"
|
||||
#include "txbuf.h"
|
||||
|
||||
#ifndef MAX_PROPERTY_VALUES
|
||||
#define MAX_PROPERTY_VALUES 64
|
||||
#endif
|
||||
|
||||
/* buffer used for receive */
|
||||
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };
|
||||
|
||||
@@ -61,7 +65,6 @@ static BACNET_OBJECT_TYPE Target_Object_Type = OBJECT_ANALOG_INPUT;
|
||||
static BACNET_PROPERTY_ID Target_Object_Property = PROP_ACKED_TRANSITIONS;
|
||||
/* array index value or BACNET_ARRAY_ALL */
|
||||
static int32_t Target_Object_Property_Index = BACNET_ARRAY_ALL;
|
||||
#define MAX_PROPERTY_VALUES 64
|
||||
static BACNET_APPLICATION_DATA_VALUE
|
||||
Target_Object_Property_Value[MAX_PROPERTY_VALUES];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user