Loading…

方法名称: ReadDeviceInformation_Method

方法ID: 0x40DD

方法标签: Read Device Information

方法描述: Method for updating tag, descriptor, message, date, manufacturer ID, device ID, Model Number, Serial Number and Sensor Serial Number.


  • {
  • int locValue;
  • int locStatusAlreadyDisplayed;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • send_command(13);
  • locValue = _ivar_value(151);
  • if (locValue)
  • {
  • if (locValue & 0x10 && !(locStatusAlreadyDisplayed & 0x10))
  • {
  • locStatusAlreadyDisplayed = locStatusAlreadyDisplayed | 0x10;
  • DELAY(2,literal_string(542));
  • }
  • }
  • locValue = _ivar_value(150);
  • if (locValue)
  • {
  • display_response_status(13,locValue);
  • DELAY(2,literal_string(613));
  • remove_all_abort();
  • abort();
  • }


请登录以获得完整内容