Appendix c: device ids, Appendix c, Device ids – ScanTool STN Bootloader User Manual

Page 11: E appendix c, Device ids for the list of po, Stn bootloader

Advertising
background image

STN

Bootloader

Efficient Bytewise Algorithm


unsigned short UpdateCcittCrc(unsigned short crc, unsigned char data)
{
unsigned short x;

x = ((crc >> 8) ^ data) & 0xFF;
x ^= x >> 4;
crc = (crc << 8) ^ (x << 12) ^ (x << 5) ^ x;

return crc;
}


unsigned short CalculateCcittCrc(unsigned char* data, int len)
{
unsigned short crc = 0;

while (len-- > 0)
crc = UpdateCcittCrc(crc, *data++);

return crc;
}


Appendix C: Device IDs

Table 14 lists device IDs for OBD Solutions devices currently in production.

Table 14 – Device IDs

Device ID (hex)

Device Name

1000 OBDLink

CI

1100 OBDLink

1101 OBDLink

S

1110 STN1110

1120 microOBD

200

1130 OBDLink

SX

1200

STSP200 – ECUsim CAN PIM

1300

STSP300 – ECUsim 5100 PIM

1310

STS2000 – ECUsim 2000

STNBLA www.obdsol.com 11 of 12

Advertising