Changeset 1920
- Timestamp:
- 03/31/10 08:14:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-camd35.c
r1918 r1920 495 495 ushort idx; 496 496 497 // reading CMD05 Emm request and set serial 498 if (buf[0] == 0x05) { 499 memcpy(reader[ridx].hexserial, buf + 40, 6); 500 reader[ridx].hexserial[6] = 0; 501 reader[ridx].hexserial[7] = 0; 502 cs_log("hexserial in reader %s received and set to: %s", reader[ridx].label, cs_hexdump(0, reader[ridx].hexserial, 8)); 503 } 504 497 505 // CMD44: old reject command introduced in mpcs 498 506 // keeping this for backward compatibility … … 500 508 return(-1); 501 509 502 idx =b2i(2, buf+16);503 504 *rc =((buf[0] != 0x44) && (buf[0] != 0x08));510 idx = b2i(2, buf+16); 511 512 *rc = ((buf[0] != 0x44) && (buf[0] != 0x08)); 505 513 506 514 memcpy(dcw, buf+20, 16);
Note:
See TracChangeset
for help on using the changeset viewer.