Loading…
Loading…
Method Name: mthResetToFactoryDefault
Method ID: 0x41C8
Method Label: Reset to Fact. Def.?
Method Help: (Fct. C7.6.1)
- {
- char status[3];
- int _stepCount;
- int _abort;
- int _sendImmediateReset;
- int _waitTime;
- int iResult;
- _abort = 0;
- _stepCount = 0;
- _sendImmediateReset = 0;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _add_abort_method(16841);
- send(230,status);
- if (eFunctionStep != 251)
- {
- iResult = SELECT_FROM_LIST(literal_string(1531),literal_string(1521));
- if (iResult == 1)
- {
- MthRunDeviceFunctionReset();
- send(231,status);
- if (status[0])
- {
- display_response_status(231,status[0]);
- return;
Please login for more