Feature/makefile add apps library (#218)
* add BACnet stack library at apps/lib * convert apps to use apps/lib for smaller binary * fix -DBACDL_ALL=1 build * fix piface build * datalink MAX_MPDU and MAX_HEADER cleanup * add bip6 to git workflow * fix system library dependency of BACnet library Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -155,7 +155,7 @@ static volatile uint8_t Nmax_master = 127;
|
||||
/* An array of octets, used to store octets for transmitting */
|
||||
/* OutputBuffer is indexed from 0 to OutputBufferSize-1. */
|
||||
/* The maximum size of a frame is 501 octets. */
|
||||
static uint8_t OutputBuffer[MAX_MPDU];
|
||||
static uint8_t OutputBuffer[DLMSTP_MPDU_MAX];
|
||||
/* Number of bytes pending transmit. 0=nothing pending transmit */
|
||||
uint16_t OutputBufferLength;
|
||||
|
||||
|
||||
@@ -37,12 +37,12 @@
|
||||
#include "rs485.h"
|
||||
|
||||
/* buffer for storing received bytes - size must be power of two */
|
||||
/* BACnet MAX_MPDU for MS/TP is 501 bytes */
|
||||
/* BACnet DLMSTP_MPDU_MAX for MS/TP is 501 bytes */
|
||||
static uint8_t Receive_Queue_Data[512];
|
||||
static FIFO_BUFFER Receive_Queue;
|
||||
|
||||
/* buffer for storing bytes to transmit */
|
||||
/* BACnet MAX_MPDU for MS/TP is 501 bytes */
|
||||
/* BACnet DLMSTP_MPDU_MAX for MS/TP is 501 bytes */
|
||||
static uint8_t Transmit_Queue_Data[512];
|
||||
static FIFO_BUFFER Transmit_Queue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user