Adding a hub function to a Secure Connect port

The ScHubPort is pre-configured with its Hub Connector’s Primary Connection pointing to itself, its Hub Address set to localhost and its Hub Path set to hub. This procedure shows you how to add a Hub Function to a standard ScPort.
Prerequisites: The Primary Connection is configured. The bacnet palette is open.
  1. Add a plain ScPort to the Network layer in the station (BacnetNetwork > Bacnet Comm > Network).
    The difference between an ScPort and ScHubPort is that the ScPort does not have Hub Function.
  2. Start by configuring the port: double-click ScPort, expand Link, configure Network Number, expand Credentials, set the Operational Certificate and Issuer Certificate(s) and click Save.
  3. To add the Hub Function, expand the SecureConnect node in the bacnet palette, drag a Hub Function component to the Link layer and click the HubFunction you just added.
    The HubFunction Property Sheet opens.
    Image
  4. Set Enabled to true, expand Web Socket Acceptor, set Servlet Name to hub and click Save.
  5. To connect the Primary Connection to the local hub, do one of the following:
    • Double-click ScPort in the Nav tree, click the Hub Connector and expand Primary Connection.

      The Hub Connector Primary Connection properties open.

      Image

      Change Hub Uri Address to localhost and Hub Uri Path to hub and click Save.

    • Right-click Hub Function, click Actions > Configure Local Hub Connector.

      The Configure Local Hub Connector window opens.

      Select the Primary or Failover connection from the drop-down list and click OK.