You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This Page is under Development

Introduction

This document describes the Wifi Establishment  in thunder images.This can be achieved by using NetworkControl plugin and Netsrvmgr component.Here Networkcontrol plugin is used for IP configurations as part of the WPEFramwork infrastructure and  Netsrvmgr component is used for Managing 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.

Building Procedure

$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkv-asp-nosrc.xml -b thunder

$ repo sync -j4 --no-clone-bundle

$ source meta-cmf-raspberrypi/setup-environment

select meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-hybrid-thunder.conf

$ bitbake rdk-generic-hybrid-thunder-image


Block diagram explanation

    For establishing the wifi  in thunder image we need   two things one is Networkcontrol  plugin and other is Netsrvmgr. The Network Control plugin provides functionality for network interface management. Networkcontrol has mainly two properties which are Network and up. Network  is used for Provides access to the current network information and up is used for Provides access to the interface up status.This plugin is designed to be loaded and executed within the Thunder framework.And Netsrvmgr has 3 major functionalities like wifi,moca,route.Here we will discuss about wifi .This will takes some responsibilities likedetect the Network interfaces dynamically , send notifications to subscribers and Setup and update the network routes based on priorities, wifi connection status, availability, etc.we can provide ssid and password details in /opt/wifi/wpa_supplicant.conf.After reboot the box we can see the wifi connection in raspberry pi .we can verify this by using the netsrvmgr.service

Debug Logs

  • For confirming  IP configuration in wpeframework we can verify it on wpeframework  service.

          Example:
           journalctl -x -u wpeframework

  • We can verify wifi-hal logs like connecting to particular ssid or not,wifi initialization and all  it on netsrvmgr service. 
    Example:   journalctl -x -u netsrvmgr

Referrence

netsrvmgr

https://github.com/WebPlatformForEmbedded/ThunderNanoServices/blob/master/NetworkControl/doc/NetworkControlPlugin.md#ref.Thunder


Contact

Organization

Phone

Email

Role

<Contact Name>

<Organization>

<Phone>

<Email>

<Role>

  • No labels