shin-chu / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
0 stars 0 forks source link

CLA byte 0xA0 will be mapped to 0x80 in SCAPI 2.3.x #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://groups.google.com/group/seek-for-android/browse_thread/thread/ed241f5f5f4
61341

Possible solution in Channel.java:
1. either change 0x9C to 0xBC in setChannelToClassByte()
Does this has any impact on other CLA bytes?

2. modify tansmit() to:
...
// set channel number bits
command[0] = command[0] | mChannelNumber;

byte[] rsp = getTerminal().transmit(command, 2, 0, 0, null);
return rsp;
...
And remove setChannelToClassByte() completely

Original issue reported on code.google.com by Daniel.A...@gi-de.com on 10 May 2012 at 4:34

GoogleCodeExporter commented 9 years ago
Patch attached to mask the CLA byte with 0xBC instead of 0x9C

Original comment by Daniel.A...@gi-de.com on 22 May 2012 at 11:51

Attachments:

GoogleCodeExporter commented 9 years ago
setting old issues from fixed to done

Original comment by Daniel.A...@gi-de.com on 5 Jul 2013 at 2:33