Versions Compared

Key

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

CcspMisc repo has source code for different is not a component, but it combines many utilities.

Below are the utilities available in CcspMisc reporepository.

 psmcli: This CLI tool is used to get /or set PSM database values. Mostly It is mostly used in scripts to query the psm PSM database values during boot up.

 LTime: LTime is used to show Local time of the device. We calculate The local time is calculated based on the offset received (Device.Time.TimeOffset) from CMTS.

LTime when used with option H and M option shows the hour and minute of the local time respectively.

 NotifyLease: This is used in devices with multi-processor architecture. NotifyLease is used to sync the lease file(/nvram/dnsmasq.leases) information on the ATOM side. Only mesh enabled devices will have notify_lease process running.

 print_uptime: It is used to log message with uptime in seconds. We use this This is used to log the boot time information in RDKBRDK-B.

 TimeConv: This is library used by CcspPandMSsp component for parental control when UTC_ENABLE feature is enabled. Since GUI shows time in UTC, we use this to split days. It is used to convert the rules entered in UTC time to Local Time.