Versions Compared

Key

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

...

  • Example curl command sent from an RDK device to XConf:
Inline Table Editing
tbd251030-11:49:58.524719 [mod=RFCMGR, lvl=INFO] [tid=1964] [DownloadRuntimeFeatutres][1889] Xconf Request : [https://xconf.rdkcentral.com/featureControl/getSettings?estbMacAddress=D8%3A3A%3ADD%3A0D%3A16%3AB7&firmwareVersion=lib32-application-test-image-RPI4-20251030114955&env=dev&model=RPI4&manufacturer=RaspberryPi&controllerId=2504&channelMapId=2345&VodId=15660&partnerId=community&osClass=&accountId=&Experience=X1&version=2]


  • Example response json received from XConf. This is stored in /tmp/rfc-parsed.txt as part of the curl request's response.

{
  "featureControl": {
    "features": [
      {
        "name": "TC-NTP",
        "enable": true,
        "effectiveImmediate": true,
        "configData": {
          "tr181.Device.

...

tbdDeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.newNTP.Enable": "true",
          "tr181.Device.Time.NTPServer1": "time.google.com",
          "tr181.Device.Time.NTPServer2": "time1.google.com",
          "tr181.Device.Time.NTPServer3": "time2.google.com",
          "tr181.Device.Time.NTPServer4": "time3.google.com"
        },
        "featureInstance": "TC-NTP"
      },
      {
        "name": "rdkv_middleware_broadcomtest",
        "enable": true,
        "effectiveImmediate": true,
        "configData": {
          "tr181.Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.DAB.Enable": "false"
        },
        "featureInstance": "rdkv_middleware_broadcomtest"
      }
    ]
  }
}


  • The file /tmp/rfc-parsed.txt is later parsed in the RFC script and the parsed output is stored in the same file and looks like below: 

...

  • The tr181store.ini contains all the RFC namespace configuration that is configured at XConf. It also contains all the local RFC settings that are done using the "tr181 -s" command.

tbdroot@raspberrypi4-64-rdke:/opt# cat secure/RFC/tr181store.ini
Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.XconfSelector=prod
Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigSetHash=1ELxXq9nEEU3j44a3BMKTfrostM3Etvppf
Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.DAB.Enable=false
Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.

...

Control.ConfigSetTime=1761825012
Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Control.ConfigChangeTime=1761825012


  • To force retrieving a new RFC configuration from XConf even when there is no change, invalidate the hash value with the below command.

...