Changeset 3120 for trunk/reader-tongfang.c
- Timestamp:
- 09/21/10 11:51:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reader-tongfang.c
r2941 r3120 18 18 static int tongfang_read_data(struct s_reader *reader, uchar size, uchar *cta_res, ushort *status) 19 19 { 20 staticuchar read_data_cmd[]={0x00,0xc0,0x00,0x00,0xff};20 uchar read_data_cmd[]={0x00,0xc0,0x00,0x00,0xff}; 21 21 ushort cta_lr; 22 22 … … 33 33 static const uchar begin_cmd[] = {0x00,0xa4,0x04,0x00,0x05,0xf9,0x5a,0x54,0x00,0x06}; 34 34 static const uchar get_serial_cmd[] = {0x80,0x46,0x00,0x00,0x04,0x01,0x00,0x00,0x04}; 35 staticuchar pairing_cmd[] = {0x80,0x4c,0x00,0x00,0x04,0xFF,0xFF,0xFF,0xFF};35 uchar pairing_cmd[] = {0x80,0x4c,0x00,0x00,0x04,0xFF,0xFF,0xFF,0xFF}; 36 36 37 37 uchar data[257];
Note:
See TracChangeset
for help on using the changeset viewer.