Loading…
Loading…
Method Name: protection
Method ID: 0x4049
Method Label: Set/Reset Password
Method Help:
- {
- char status[3];
- char xmtr_status[6];
- long parole;
- long entered_parole;
- long first_entry;
- long second_entry;
- long ids[1];
- int result;
- char cmd_status;
- long base;
- long password;
- int fault_entry;
- _set_resp_code(6,1);
- entered_parole = first_entry = second_entry = 0;
- if (_ivar_value(16441) == 0)
- {
- _get_local_var_value(literal_string(426),0,literal_string(427));
- parole = _lvar_value(16440);
- if (entered_parole == parole)
- {
- ACKNOWLEDGE(literal_string(428));
- _iassign(16441,1);
- _add_abort_method(16503);
- send(145,status);
- _set_xmtr_comm_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- if ((cmd_status = status[0]) == 0)
- {
- do {
- get_more_status(status,xmtr_status);
- DELAY(2,literal_string(429));
- }
Please login for more