Loading…

Method Name: device_status_bit_simulation_method

Method ID: 0x4A10

Method Label: Device status bit simulation

Method Help:


  • {
  • char status[3];
  • char xmtr_status[25];
  • char disp_string1[60];
  • char disp_string2[60];
  • int slen1;
  • int slen2;
  • int result_st;
  • int prev_sim_mode;
  • int choice;
  • int target_bit_index;
  • int check_bit;
  • char is_found_active_bit;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • slen1 = 60;
  • slen2 = 60;
  • send_command_trans(48,0);
  • if ((standardized_status_1 & 0x01) != 0x00)
  • {
  • _iassign(16450,1);
  • }
  • else
  • {
  • _iassign(16450,0);
  • }
  • prev_sim_mode = _ivar_value(16450);


Please login for more