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:
kingdl802
2009-04-07 19:06:18 +00:00
parent c6085fe776
commit a4c5bc45c3
3 changed files with 14 additions and 3 deletions
+4 -1
View File
@@ -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];