Loading…
Loading…
Method Name: wp_en_dis
Method ID: 0x41C8
Method Label: Write Protect On/Off
Method Help: Allows the user to enable or disable the configuration write protection.
- {
- int conf;
- char status[3];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- send_command(15);
- conf = SELECT_FROM_LIST(literal_string(1319),literal_string(1320));
- if (conf == 0)
- {
- do {
- _get_dev_var_value(literal_string(1321),0,16502);
- _iassign(16504,0);
- send_trans(176,0,status);
- if (status[0] != 0)
- {
- display_response_status(176,status[0]);
- process_abort();
- }
- else
- {
Please login for more