Loading…

Method Name: show_serial_number

Method ID: 0x4060

Method Label: Serial Number

Method Help: 9 digit production line serial number, consisting of yybbbrrrr, where <yy> is the year of production, <bbb> is the batch number and <rrrr> is a running number for this batch. Expanded from device id


  • {
  • long sernum;
  • long year;
  • _set_all_resp_code(0);
  • sernum = _ivar_value(161);
  • year = sernum / 100000;
  • year = year * 100000;
  • sernum = sernum - year + 900000;
  • year = year * 100;
  • sernum = year + sernum;
  • _iassign(16414,sernum);


Please login for more