Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Wi-Fi: Manage the Wi-Fi network by connecting to AP (Access Point) and provide the notification to the application. Generally it is called as Wi-Fi Network Manager.
  2.  Route : Discover and manage the network route for data communication.
  3. MoCA: Managing MoCA services.

Table of Contents

Wi-Fi Network Manager

Wifi- network manager, which takes several responsibility for managing Wifi in Video device

...

  • Any state change that either the state changed from Connected to Disconnected or Vice Versa.
  • when settop boots with WiFi capability.
  • when WiFi network is successfully established.
  • when connection to WiFi network is lost.
  • when WiFi driver failure is detected.
  • By notifying about all the discussed events, it helps the other application to do some decision making or display some information in the screen.
  • For example, when a video is being played from internet and in-between wireless connection is lost.
  • In this case the video player will receive a disconnection event from the network manager and can show on screen error message.

Wi-Fi Network Manager - IARM Event & Calls


Lets see how the event notification mechanism works. Basically all the event related activity are done through a D-Bus messaging extension known as IARM. In our case the network manager will register few event names and their corresponding event handler function. When an application is interested to receive that event, he will be register as a listen to that event. Whenever the event occurs all the register listener that are connected to IARM will be able to receive the notification.

...

  • WIFI_NO_SSID: The Access point we wanted to connect is no longer available.

  • WIFI_UNKNOWN : Unknown error has happened.
  • WIFI_CONNECTION_LOST : connection is lost, this may indicate that an AP is no longer in range.
  • WIFI_SSID_CHANGED : this indicates that we have connected to another SSID
  • WIFI_CONNECTION_FAILED : When the connection is failed, it may be because of invalid credential or any other issue.
  • WIFI_CONNECTION_INTERRUPTED : Connection is cancelled by user when it was in progress.

API Specification

 Network Service Manager API specification is available in the Doxygen page: netsrvmgr API Specifications