Fixed compilation with BACNET_SVC_SERVER=1 for apps. (#552)
Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
|
||||
#define PRINT_ENABLED 1
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
#include "bacnet/bacdef.h"
|
||||
#include "bacnet/config.h"
|
||||
#include "bacnet/bactext.h"
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
|
||||
#define PRINT_ENABLED 1
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
#include "bacnet/bacdef.h"
|
||||
#include "bacnet/config.h"
|
||||
#include "bacnet/bactext.h"
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
|
||||
#define PRINT_ENABLED 1
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
#include "bacnet/bacdef.h"
|
||||
#include "bacnet/config.h"
|
||||
#include "bacnet/bactext.h"
|
||||
|
||||
@@ -51,6 +51,10 @@
|
||||
#include "bacnet/basic/tsm/tsm.h"
|
||||
#include "bacnet/datalink/dlenv.h"
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
/* buffer used for receive */
|
||||
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };
|
||||
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
|
||||
#define PRINT_ENABLED 1
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
#include "bacnet/bacdef.h"
|
||||
#include "bacnet/config.h"
|
||||
#include "bacnet/bactext.h"
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
|
||||
#define PRINT_ENABLED 1
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
#include "bacnet/bacdef.h"
|
||||
#include "bacnet/config.h"
|
||||
#include "bacnet/bactext.h"
|
||||
|
||||
@@ -56,6 +56,10 @@
|
||||
#include "bacnet/datalink/dlenv.h"
|
||||
#include "bacnet/readrange.h"
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
/* buffer used for receive */
|
||||
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };
|
||||
|
||||
|
||||
@@ -39,6 +39,10 @@
|
||||
#include "bacnet/basic/tsm/tsm.h"
|
||||
#include "bacnet/datalink/dlenv.h"
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
/* buffer used for receive */
|
||||
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };
|
||||
/* target device data for the request */
|
||||
|
||||
@@ -54,6 +54,10 @@
|
||||
#include "bacnet/basic/tsm/tsm.h"
|
||||
#include "bacnet/datalink/dlenv.h"
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
/* buffer used for receive */
|
||||
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };
|
||||
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
#include "bacnet/datalink/datalink.h"
|
||||
#include "bacnet/datalink/dlenv.h"
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
/* print with flush by default */
|
||||
#define PRINTF debug_aprintf
|
||||
|
||||
|
||||
@@ -56,6 +56,10 @@
|
||||
#define MAX_PROPERTY_VALUES 64
|
||||
#endif
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
/* buffer used for receive */
|
||||
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };
|
||||
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
|
||||
#define PRINT_ENABLED 1
|
||||
|
||||
#if BACNET_SVC_SERVER
|
||||
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
|
||||
#endif
|
||||
|
||||
#include "bacnet/bacdef.h"
|
||||
#include "bacnet/config.h"
|
||||
#include "bacnet/bactext.h"
|
||||
|
||||
Reference in New Issue
Block a user