Bugfix/network port object bdt required (#184)
* Added BDT encoding to network port object. * Added BDT encoding rules from clause 21 * Added FDT encoding to network port object. * added more unit tests for BVLC * Fix network port and device object unit tests * fix router build for bvlc dependencies * fix router build for bvlc dependencies * fix network port MSTP compile Co-authored-by: Steve Karg <skarg@users.sourceforge.net> Co-authored-by: Steve Karg <steve.karg@legrand.us>
This commit is contained in:
@@ -1257,6 +1257,15 @@ void bvlc_set_function_code(uint8_t function_code)
|
||||
}
|
||||
|
||||
#if BBMD_ENABLED
|
||||
/**
|
||||
* @brief Get handle to foreign device table (FDT).
|
||||
* @return pointer to first entry of foreign device table
|
||||
*/
|
||||
BACNET_IP_FOREIGN_DEVICE_TABLE_ENTRY *bvlc_fdt_list(void)
|
||||
{
|
||||
return &FD_Table[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get handle to broadcast distribution table (BDT).
|
||||
* @return pointer to first entry of broadcast distribution table
|
||||
|
||||
@@ -113,6 +113,9 @@ BACNET_IP_BROADCAST_DISTRIBUTION_TABLE_ENTRY *bvlc_bdt_list(void);
|
||||
BACNET_STACK_EXPORT
|
||||
void bvlc_bdt_list_clear(void);
|
||||
|
||||
/* Get foreign device table list */
|
||||
BACNET_IP_FOREIGN_DEVICE_TABLE_ENTRY *bvlc_fdt_list(void);
|
||||
|
||||
/* Backup broadcast distribution table to a file.
|
||||
* Filename is the BBMD_BACKUP_FILE constant
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user