RDK Documentation (Open Sourced RDK Components)
TR-069 Diagnostics

When the diagnostic initiated by the ACS is completed successfully or not, the CPE MUST establish a new connection to the ACS to allow the ACS to view the results, indicating the Event code "8 DIAGNOSTICS COMPLETE" in the Inform message.

After the diagnostic is complete, the value of all result parameters MUST be retained by the CPE until either this diagnostic runs again, or the CPE reboots. After a reboot, if the CPE has not retained the resultant parameters from the most recent test, it MUST set the value of this parameter to “None”.

Modifying any of the writable parameters in this object except for this one MUST result in the value of this parameter being set to “None”.

While the test is in progress, modifying any of the writable parameters in this object except for this one MUST result in the test being terminated and the value of this parameter being set to “None”.

While the test is in progress, setting this parameter to Requested MUST result in the test being terminated and then restarted using the current values of the test parameters.

Diagnostics states,
If the ACS sets the value of this parameter to Requested, the CPE MUST initiate the corresponding diagnostic test. When writing, the only allowed value is Requested. To ensure the use of the proper test parameters i.e the writable parameters in this object, the test parameters MUST be set either prior to or at the same time as in the same SetParameterValues setting the DiagnosticsState to Requested.

When requested, the CPE SHOULD wait until after completion of the communication session with the ACS before starting the diagnostic. When the test is completed, the value of this parameter MUST be either Complete i.e if the test completed successfully, or one of the Error values listed above. If the value of this parameter is anything other than Complete, the values of the results parameters for this test are indeterminate. Following are the diagnostics states,
  • None
  • Requested
  • Complete
  • Error_CannotResolveHostName
  • Error_Internal
  • Error_Other