Versions Compared

Key

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

Table of Contents

Required equipment's

...

...

  • Raspberry pi device

  • Ethernet cable

  • SD card

  • Standard USB keyboard

  • TV/Monitor with HDMI input

Telemetry

...

...

Telemetry is the automatic recording and transmission of data from remote or inaccessible sources to an IT system in a different location for monitoring and analysis.

Telemetry Components

...


...

  • Xconf Server
  • Rpi Board with RDK Broadband image
  • Tftp Server

Steps to build

...

code 

...

  • repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml
  • repo sync -j4 --no-clone-bundle
  • source meta-cmf-raspberrypi/setup-environment
  • choose option 8: meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-broadband.conf
  • bitbake rdk-generic-broadband-image

Steps to flash image

...


...

  • The image will be available under build-raspberrypi-rdk-broadband/tmp/deploy/images/raspberrypi-rdk-broadband
  • Copy the image rdkb-generic-broadband-image_default_<xx>.rootfs.rpi-sdimg to your server.
  • To flash the image
        dmesg
        mount
        umount <partition-mountpoint>
        sudo dd if=<rpi sdimg> of=/dev/sdb bs=1M
  • Remove the SD card and insert it to the Raspberry Pi SD card slot
  • Bring up the device

Xconf server

...

...

...

                         URL : http://35.155.171.121:9093/admin/ux/#/namespacedlist/MAC_LIST
                         Flow : Xconf-server -> Common -> MAC Lists -> Select the Id -> Add your MAC                            

Configuring Telemetry on Xconf server

...


...

Log upload

  • Change Application to stb in top right corner of the window

         
  • Defining the formula

...

  • As soon as the formula is saved , displays the device settings and Log upload settings options
       
  • Device settings

    Name

    RDKB_telemetry

    CheckOnReboot

    true

    Are active

    true

    Expression

    2 1 2 1 1

      

    Defining the Upload repositories

    URL

    http://35.155.171.121:9093/admin/ux/#/uploadrepository

    Flow

    Xconf-server ->DCM -> Upload repositories

    Name

    RDKB_telemetry

    Description

    RDKB_telemetry

    URL

    tftp    : 35.155.171.121

    HTTP :  http://35.155.171.121/xconf/logupload.php

    Log upload settings

    Name

    <Enter the name given during Log upload formula creation>

    Upload On Reboot

    true

    Number of Days

    1

    Are settings active

    true

    Upload Repository

    RDKB_telemetry

    Cron Expression

    2 1 1 1 1

    Test Page

    URL

    http://35.155.171.121:9093/admin/ux/#/formulas/all

    Path

    Xconf-server-> DCM -> Test Page

          

Telemetry

Defining Telemetry profile

...