Versions Compared

Key

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

...

RDKB Telemetry Components:

  1. Xconf Server
  2. Rpi Board An virtual box Emulator with RDK Broadband image
  3. Tftp Server

...


XConf Server Configuration procedure:
RaspberryRDK-pi board B Emulator will connect to Xconf Server to get the device configuration information, telemetry profile information, telemetry upload schedule and log upload repository (ip address of tftp server). It will search for the markers (contents mentioned in the permanent profile) in the mentioned log file. If it is found in the log file, it will process those information and create a text file and upload that file in the tftp server. This way all the critical data related to device health will be available on timely basis in the tftp server for further analysis.

...

3. i) Provide a unique “Name”, along with “Description”, and build conditions and save the formula.
ii) Verify Percentage and Priority field(normally it displays the sequence number of formula, can be changed to make the formula higher/lower priority) is auto field up with their respective values
iii) Go to “Build condition” section and click on the first empty field to get all the available field displayed there
iv) Select estbMacAddress and provide the MAC address of Rpi boardthe Emulator.

4. Verify the created formula (ex. RPIRDKB_EMU_formula22AugRDKM) displayed in the formula list.

...

5. Click on Edit formula for the created formula (ex. RPIRDKB_formulaEMU_22AugRDKM).


6. Edit formula page opens.

...

10. Click on Formula and go back to the Edit formula page of the created formula (ex. RPIRDKB_formulaEMU_22AugRDKM) and click on “Create Log Upload settings” button. Upload repository drop down menu field will show all the upload repositories including the created one (ex. Chennai_22Aug_repo)

...

13. Verify the Formula page for the created formula (ex. RPIRDKB_formulaEMU_22AugRDKM) where View Settings column displays the “Device” and “LogUpload”

...

First field is “Header” - This is the name for the particular logs collection. This is a custom name and can be decided based on the use case or error condition or any other scenario.
Second field is “Content” - This is the "log message string" that appears in the RDK logs.
Third field is “type” - This is the name of the log file where the above log message string needs to be searched.
Fourth field is “Skip frequency” - This is a skip frequency. It can have values like 0, 1, 2 etc.
                     0 - This particular log message is never skipped.
                     1 - Skip every alternate occurrence of this log message.
                     2 - Skip 2 consecutive log message occurrences and then collect 1 occurrence and then again skip 2 occurrences.


Based on the R-Pi board Emulator supported markers available, we have selected few of them as mentioned below:

...

19. Verify the created Targeting rule displayed on the Targeting rule page

...

Emulator side configuration and testing process:

Below steps needed after flashing for the first time:

  1. Flash the Telemetry image and load it on RPi boardEmulator
  2. Configure the CLOUDURL parameter and Log Server/Http Server parameter by providing IP address of XConf server in the two mentioned files /etc/include.properties and /etc/dcm.properties respectively.

...