I am having trouble finding the following statement values or their meanings. Can somebody point me in the right direction? Thanks for your help.
errorCode = DiagnosticsHelper::getValue(DIAG_ID_CLOUD_CONNECTION_ERROR_CODE);
// error code = 0 (no error)
// = 10 (???)
// = 17 (???)
For the above, I get a value of “10” or “17” sometimes from a Xenon device in my network. I gather that “10” might mean “Keys Error in UDP” but not sure. When “17” shows up I need to reset the Xenon device. Curious about the above code meanings and if there may be other codes I have not seen.
Next, (what is “x”?)
status = DiagnosticsHelper::getValue(DIAG_ID_CLOUD_CONNECTION_STATUS);
// status = 2 (connected)
// = x (connecting)
// = y (???)
// = z (???)
Last, there may be no additional codes but wanted to verify that:
disconnectionReason = DiagnosticsHelper::getValue(DIAG_ID_CLOUD_DISCONNECTION_REASON);
// disconnectionReason = 0 (none)
// = 1 (error)
// = x (???)
// = y (???)
// = z (???)