Skip to main content
Visitor II
February 27, 2016
Solved

ST25 Android app SendInterrupt bug

  • February 27, 2016
  • 2 replies
  • 690 views
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
    This topic has been closed for replies.
    Best answer by JP Miller
    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

    2 replies

    JP MillerAnswer
    ST Employee
    March 2, 2016
    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

    Visitor II
    March 3, 2016
    Posted on March 03, 2016 at 13:56

    Hi,

    Ok great - thanks for the reply.

    Martin.