Loading…
Loading…
方法名称: wp_en_dis
方法ID: 0x41C8
方法标签: Write Protect On/Off
方法描述: 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
- {
请登录以获得完整内容