Zephyr core bacnet server port; bacnet/device test (#123)

Co-authored-by: Gregory Shue <gregory.shue@legrand.us>
This commit is contained in:
Greg Shue
2020-09-22 07:24:38 -07:00
committed by GitHub
parent cbaa106c59
commit a95b7d597e
26 changed files with 4166 additions and 86 deletions
+7 -1
View File
@@ -138,7 +138,13 @@ typedef uint32_t BACNET_ARRAY_INDEX;
equal to 7 bytes. The IPv6 addresses are planned to be handled
outside this area. */
/* FIXME: mac[] only needs to be as big as our local datalink MAC */
#define MAX_MAC_LEN 7
#if BACDL_BIP6
#define MAX_MAC_LEN 19
#else
#define MAX_MAC_LEN 7
#endif
struct BACnet_Device_Address {
/* mac_len = 0 is a broadcast address */
uint8_t mac_len;
+2 -1
View File
@@ -167,7 +167,8 @@ static void debug_print_string(const char *str)
* BBMD_BACKUP_FILE should be set to the file name
* in which to store the BDT.
*/
#ifndef BBMD_BACKUP_FILE
#if defined(BBMD_BACKUP_FILE) && (BBMD_BACKUP_FILE == 1)
#undef BBMD_BACKUP_FILE
#define BBMD_BACKUP_FILE BACnet_BDT_table
#endif
#if defined(BBMD_BACKUP_FILE)