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(1229),literal_string(1230));
- if (conf == 0)
- {
- do {
- _get_dev_var_value(literal_string(1231),0,16427);
- _iassign(16428,0);
- send_trans(176,0,status);
- if (status[0] != 0)
- {
- display_response_status(176,status[0]);
- }
- else
- {
- ACKNOWLEDGE(literal_string(1232));
Please login for more