Following the protocol revision 1.18 updates, BBMD no longer supports the BDT table. Instead, all BBMD entries are now added to the BBMD_Broadcast_Distribution_Table property of the Network Port object. Users do not need to manually manage these properties; they only need to register Optic as BBMD using the provided queries. Optic will handle the addition of values to their respective properties internally. Refer to the examples below for guidance.
Example: bacnetRegisterBBMDwithNetworkPort(BBMD-entries, Accept-FD-Registration, Max-Fdt-Entries, Two-Hops)
Use the below queries to register Optic as BBMD.
bacnetRegisterBBMDwithNetworkPort()
This query registers Optic as BBMD using the Network Port object. By default, it automatically adds Optic's self-entry to the BBMD_Broadcast_Distribution_Table property within the Network Port object. Explicitly providing the self-entry is not necessary.
bacnetRegisterBBMDwithNetworkPort([["192.168.253.1",47808,"255.255.255.0"]])
This query adds the specified BBMD entry along with Optic's self-entry to the BBMD_Broadcast_Distribution_Table property of the Network Port object.
bacnetRegisterBBMDwithNetworkPort([["192.168.253.1",47808,"255.255.255.0"],["192.168.253.111",47808,"255.255.255.0"]], true, 25, false)
This query adds all specified BBMD entries, including Optic's self-entry, to the BBMD_Broadcast_Distribution_Table property of the Network Port object.
Upon the successful execution of this query, a success status will be displayed on the folio UI, and the stack will restart to apply the changes. You can then read all the BBMD entries by using a read-property query on the Network Port object (instance 1- NP:1 or 56:1) and the BBMD_Broadcast_Distribution_Table property (414) from any other tool like VTS or YABE. Send the read-property query to Optic with the specified Object and property. Alternatively, you can read the property values using bacnetReadPropertyFromDB (refer to Read Network Port Properties section).