Loading…
Loading…
Method Name: restore_factory_settings_method
Method ID: 0x40DA
Method Label: Factory Settings
Method Help: Factory Reset will delete all settings and restore the factory default values.
- {
- char status[3];
- int i_result;
- SET_NUMBER_OF_RETRIES(7);
- _set_no_device(2);
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- ACKNOWLEDGE(literal_string(595));
- _add_abort_method(16736);
- ACKNOWLEDGE(literal_string(596));
- ACKNOWLEDGE(literal_string(597));
- DELAY(1,literal_string(598));
- send(163,status);
- if (status[0] != 0)
- {
- if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
- {
- display_response_status(163,status[0]);
- }
- else
- if (status[0] == 112)
- {
- }
- else
- {
- display_response_status(163,status[0]);
- process_abort();
- }
- }
- ;
- DELAY(1,literal_string(599));
- send(0,status);
- if (status[0] != 0)
- {
- if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
- {
- display_response_status(0,status[0]);
- }
- else
- if (status[0] == 112)
- {
Please login for more