I understand that RDK-B stack provides different possible protocol agent to communicate with CCSP data model. Such as SNMP, WebUI, WebPA and dmcli. Here I have following quires, could you please help on this?

  1. When refer to page "CcspWifiAgent TR-181 Data Model", I understand that there is a way to modify WiFi passphrase using dmcli, but it failed with 'Can't find destination component' error as below.

    root@RaspberryPi-Gateway:~# dmcli eRT getv Device.WiFi.AccessPoint.Security.KeyPassphrase
    CR component name is: eRT.com.cisco.spvtg.ccsp.CR
    subsystem_prefix eRT.
    Can't find destination component. 

    is it possible to change the WiFi Passphrase using dmcli (without using WebUI) or any other protocol agent supports it from CLI?

  2.  Is it possible to interact with TR-181 data model with IPC(inter process communication)? assume that there is a service running on RDK-B stack that wants to change WiFi setting or get the status of WiFi from data model. If possible, is there any specification available to communicate with RDK-B stack?
  3. How to use WebPA to interact with the data model? is this local web service running on RDK-B to manage RDK-B data model?
  • No labels

2 Comments

  1. Hi Z-Naveenprasanth Duraisamy

    1. The data model to change passphrase is  Device.WiFi.AccessPoint.{i}.Security.KeyPassphrase where {i} is the index of Accesspoint( for eg: 1 ). 
    2. Yes. You can invoke the data models via dmcli commands from your service or via Cdm_GetParam set of APIs from your code
    3. There should be a webpa server running somewhere(to which the device can contact ). If the server is in place, you can run the commands to fetch data models from a PC that can connect to server or even from the RPi terminal itself