Logo
UNICENS V2.3.0-4567
User Manual and API Reference
Supervisor Inactive Mode

Introduction

The application can set the Supervisor Inactive Mode to set the network to the "NotAvailable.Regular" state. The application can set the Supervisor Inactive Mode as initial Supervisor Mode and may switch at any later time to the Supervisor Diagnosis, Programming, Fallback or Normal Operation Mode.

If the UNICENS Management Library is running in Supervisor Normal Operation Mode the application can switch to the Supervisor Inactive Mode to shutdown the network. Once the Network Supervisor signals that the Supervisor Inactive Mode is in state READY, the application can switch again to another Supervisor Mode or simply stay in this mode.

The Supervisor Inactive Mode automatically forces the network to "NotAvailable.Regular" state, i.e.

  • Automatically shutdown the network if it is in state "Available"
  • Automatically leave the state "NotAvailable.ForcedNA"
  • Automatically leave the state "NotAvailable.Fallback"

During the Supervisor Inactive Mode the application may typically use the following API:

  • It is possible to set certain routes to active or inactive to define which routes shall be built by default.
  • It is possible to execute the GPIO/I2C API of the local INIC.
  • The application may wait until there is a need to set a new Supervisor Mode.
Warning
It is important that the application does not call Ucs_Supv_SetMode() while the Supervisor notifies it is in mode UCS_SUPV_MODE_INACTIVE and state UCS_SUPV_STATE_BUSY. The application must wait until UCS_SUPV_STATE_READY.