Following the protocol revision 1.18 updates, configuring Optic as a Foreign Device is done using the properties of the Network Port object. Parameters such as time-to-live and BBMD IP are now managed through these properties. However, users do not need to worry about these properties as they only need to register Optic as a Foreign Device using the queries provided below. Optic handles the assignment of values to the respective properties internally. Refer to the examples below for guidance.

Example: bacnetRegisterForeignDeviceWithNetworkPort("IP:UDP", timeToLive (in seconds), FD-Registration-Timeout, FD-Registration-Retries)

Specify the IP and UDP address of the BBMD with which you want Optic to register as a Foreign Device. Provide the time-to-live parameter and registration-timeout parameter in the query. The FD-registration-retries parameter is optional (default is 3).

This query internally populates the FD-Subscription-Lifetime & FD-BBMD-Address properties. You can read these values using the bacnetReadPropertyFromDB Folio query (refer to Read Network Port Properties section).

Use the below queries to register Optic as BBMD.

bacnetRegisterForeignDeviceWithNetworkPort("192.168.253.136:47808", 1800, 1200, 4)

bacnetRegisterForeignDeviceWithNetworkPort("192.168.1.1:47808", 2000, 200)