Loading…
Loading…
Method Name: wp_en_dis
Method ID: 0x4141
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(1213),literal_string(1214));
- if (conf == 0)
- {
- _get_dev_var_value(literal_string(1215),0,16427);
- _iassign(16428,0);
- send(176,status);
- if (status[0])
- {
- if (status[0] == 6)
- display_response_status(176,status[0]);
- else
- {
- display_response_status(176,status[0]);
- process_abort();
Please login for more