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

Compare with Current View Page History

« Previous Version 11 Next »

This Page is Under Development

Introduction

  • This page dedicated to bringing up and validation of Webpa functionality in R-Pi Zero.
  • WebPA is the communication channel from Cloud to RDK based home gateway devices. It helps to manage devices from Cloud. WEBPA protocol provides functionality of read/write access to device management parameters.

Required Equipment

  • Raspberry Pi 0 Device
  • SD Card
  • Power Cable
  • OTG Cable
  • Standard USB keyboard
  • Mini HDMI connector
  • HDMI Cable
  • Television set/monitor with HDMI input

System Setup

Build Procedure

$ repo init -u "https://code.rdkcentral.com/r/rdkcmf/manifests" -m rdkc-nosrc.xml -b master

$ repo sync

$ source meta-cmf-raspberrypi/setup-environment

select meta-cmf-raspberrypi/conf/machine/raspberrypi0-rdk-camera.conf

$ bitbake rdk-generic-camera-image

Image Flash Procedure

$ sudo dd if="Image Name" of="Device Name" bs=4M

Example:

sudo dd if=rdk-generic-camera-image_default_20200130060729.rootfs.rpi-sdimg of=/dev/sdb bs=4M

WEBPA Validation Procedure

STEP 1:

Add require SSID and PSK in /etc/wpa_supplicant.conf file in below format

network={

ssid="username"

psk="password"

}


STEP 2:

Reboot the Target

After Reboot don't do step 1 and 2.

Note : Step 1 & 2 is only applicable for fresh target boot-up with new image.


STEP 4:

WiFi connection is must needed for WEBPA validation.

Check WiFi connection by using below command.

ifconfig


STEP 5:

check Parodus binary running status in RPI by using below command

ps -Af | grep parodus


STEP 5:

check Webpacamera binary running status in RPI by using below command

ps -Af | grep webpacamera


STEP 6:

Fetch device or feature parameter detail from client( RPI ) device through parodus by using webpa server.

Parameter Fetching command:

curl -H ’ Authorization:Basic <AUTH_TOKEN>’ -i http://<WEBPA_URL>/api/v2/devices

Ex: curl -H 'Authorization:Basic dXNlcjp3ZWJwYQo=' -i 'http://192.168.2.75:9003/api/v2/device/mac:b827eb2e722b/config?names=Device.DeviceInfo.X_RDKCENTRAL-COM_IMAGENAME'


  • No labels