Add core stack headers into bacdef.h and cleanup includes. (#602)

* Added dependent BACnet stack headers into bacdef.h file.

* Changed bacdef.h and other stack includes in c/h files to have a common pattern.

* Moved bits.h, bytes.h, and bacnet_stack_exports.h under bacnet/basic/sys/ folder.
This commit is contained in:
Steve Karg
2024-03-15 16:58:52 -05:00
committed by GitHub
parent 78f7340266
commit 1520f2c612
448 changed files with 1549 additions and 1506 deletions
+8 -5
View File
@@ -38,17 +38,20 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
/* OS specific include*/
#include "bacport.h"
#/* BACnet Stack defines - first */
#include "bacnet/bacdef.h"
/* BACnet Stack API */
#include "bacnet/basic/sys/mstimer.h"
/* local includes */
#include "bacnet/bytes.h"
#include "rs485.h"
#include "bacnet/basic/sys/bytes.h"
#include "bacnet/datalink/crc.h"
#include "bacnet/datalink/mstp.h"
#include "bacnet/datalink/dlmstp.h"
#include "bacnet/datalink/mstptext.h"
#include "bacnet/bacint.h"
/* OS specific include*/
#include "bacport.h"
/* local includes */
#include "rs485.h"
/** @file linux/mstpsnap.c Example application testing BACnet MS/TP on Linux.
*/