To unregister Optic as a BBMD and revert it to Normal mode, you can use the bacnetUnregisterBBMDwithNetworkPort query. Executing this query will restart Optic.

Example: bacnetUnregisterBBMDwithNetworkPort()

bacnetUnregisterBBMDwithNetworkPort()
Unregister Optic as a BBMD and restart the stack. The default parameter is TRUE.

bacnetUnregisterBBMDwithNetworkPort(false)
To unregister Optic as a BBMD without restarting Optic, set the parameter to FALSE in the query. You can then run the bacnetApplyNetworkPortPendingChanges() Folio query to apply the changes. However, since the stack must be restarted for the changes to take effect, it is recommended to run bacnetUnregisterBBMDwithNetworkPort() without the FALSE parameter.