cancel
Showing results for 
Search instead for 
Did you mean: 

ST25 Android app SendInterrupt bug

Martin Davey
Associate III
Posted on February 27, 2016 at 02:42

Hi,

I have downloaded the source code for the ST25 demo Android app (1.0.2), and have found a bug with the SendInterrupt command inType4Tagm24sr7816STCommands.java:

// SendInterrupt command
// On receiving the SendInterrupt command the M24SR generates a negative pulse on the GPO pins
// /!\ System file shall be selected by issuing the System Select command before
static final byte[] m24sr7816STSendInterrupt = 
new
byte[]{
(byte) 0xA2,(byte) 0xD6, 
// CAS , INS
(byte) 0x00,(byte) 0x01, 
// P1 , P2
(byte) 0x00
};

However, P2 should be 0x1E as per M24SRxx datasheets. Thanks, Martin. #android-app
1 ACCEPTED SOLUTION

Accepted Solutions
JP Miller
Senior
Posted on March 02, 2016 at 12:05

Hello Martin,

Indeed the offset should be 0x001E (ie P2 = 0x1E) as per datasheet. We'll be releasing the updated ST25 demo Android application shortly and will let you know when available.

Thanks a lot for bringing this issue out.

Best Regards,

Have a good day

View solution in original post

2 REPLIES 2
JP Miller
Senior
Posted on March 02, 2016 at 12:05

Hello Martin,

Indeed the offset should be 0x001E (ie P2 = 0x1E) as per datasheet. We'll be releasing the updated ST25 demo Android application shortly and will let you know when available.

Thanks a lot for bringing this issue out.

Best Regards,

Have a good day

Martin Davey
Associate III
Posted on March 03, 2016 at 13:56

Hi,

Ok great - thanks for the reply.

Martin.