Zephyr core bacnet server port; bacnet/device test (#123)
Co-authored-by: Gregory Shue <gregory.shue@legrand.us>
This commit is contained in:
+7
-1
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user