Bugfix/confirmed handlers empty service request (#885)
* Added reject in all confirmed service handlers, except GetEventInformation, when confirmed services with zero length occur which rejects with required parameters are missing message. * Refactored errno use in service using debug_perror. Changed debug_perror usage to debug_fprintf. * Updated file and function headers in basic/service modules. * Changed NDPU priority on confirmed messages to use requested NDPU priority. * Renamed debug_aprintf to debug_printf_stdout for clarity. * Convert most debug_fprintf usage to debug_print to reduce text bloat in AVR build
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include "bacnet/basic/object/sc_netport.h"
|
||||
#include "bacnet/basic/object/bacfile.h"
|
||||
|
||||
#define PRINTF debug_perror
|
||||
#define PRINTF debug_printf_stderr
|
||||
#define DEBUG_BSC_DATALINK 0
|
||||
#if DEBUG_BSC_DATALINK == 1
|
||||
#define DEBUG_PRINTF debug_printf
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include "bacnet/basic/sys/debug.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#define PRINTF debug_aprintf
|
||||
#define PRINTF_ERR debug_perror
|
||||
#define PRINTF debug_printf_stdout
|
||||
#define PRINTF_ERR debug_printf_stderr
|
||||
|
||||
/**
|
||||
* @brief Map websocket return code to BACnet/SC return code
|
||||
|
||||
Reference in New Issue
Block a user