Versions Compared

Key

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

...

Expand
titleWhat are the steps involved in compiling the Glolang Go Lang application? Do you have yocto recipes for the same?

We're simply building the application using go build (without any Yocto recipes) as shown below -

env CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabihf-ld GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 go build

Expand
titleDoes RDK officially support GO Lang compiled binaries? As the base of RDK seems to be linux, is it safe to assume that, the GO compiled program binaries will run normally on RDK-B? What are all the steps involved in compiling the Glolang Go Lang application?
  • RDK officially doesn't support GO language compatibility. But you may always try GO binaries as most RDKM code bases are based on Yocto open-embedded builds and the binaries work out of the box.
  • You can simply build the application using go build (without any Yocto recipes) as shown below -
    • env CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabihf-ld GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 go build
Expand
titleWhich types of data models/namespace are available under the eCM subsystem like "Device.WiFi." under eRT?
  • Each component has its own XML file , which will be available under /usr/ccsp/<component>
  • Here for Device.WiFi. , the Please refer to https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/CcspWifiAgent/+/refs/heads/rdk-next/config-atom/TR181-WiFi-USGv2.XML.  This gives objects, parameters list for WiFi along with functions call. The XML file (TR181-WiFi-USGv2.XML) is available under /usr/ccsp/wifi. This file   file provides details regarding the data models available under Device.WiFi.
  • . In older releases , the XML files are available under /usr/ccsp/<component> . But with the latest code, instead of reading and parsing the XML at runtime, the new approach includes conversion of XML to .C/.cpp with the help of XML2C and creating a shared library (libWi-Fi.so). These changes are done for rdkb to reduce image size and improve boot times.
Expand
titleIs there any support for containers in RDK-B as of today?

Please refer https://wiki.rdkcentral.com/display/RDK/RDKB+Containerization+in+RPI+-+User+Manual+-+2019+M3 .

View file
nameContainerization.odt
height250

...

Expand
titleIs there igmp_snooper program in RDK-B?

Yes, igmp_snooper program is present in RDK-B .

  • There is a shell script named "service_mcastsnooper.sh" under /etc/utopia/service.d directory, and in the script, it will execute "igmp_snooper $sw_opt $if_opt $querier_opt 

Expand
titleWhat are the possible solutions available to manage RDK-B Data Model?

The data model can be managed via TR-069 , TR-181, management protocols like SNMP, WebUI, WEBPA .

...

Expand
titleIs 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?

Yes. You can invoke the data models via dmcli commands from your service or via Cdm_GetParam set of APIs from your code. The TR-181 data model specifications that are available in the TR-181 data model XML for each component can be referred.

Expand
titleIn current source code, the client side MUST install device private key and certificate files which are pair for ACS certificate, then it possible to have HTTPS connection with ACS. HTTPS is not supported in case of NO device key and certificate files pre-installed, right?

The CA certificate file and device certificate/private key can be configured in ccsp_tr069_pa_cfg.xml for https support.

...