<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>TapLinx SDK, TagWriter and TagInfoのトピックRe: Using external SAM (card) on POS SAM slot to authenticate/read DESFire EV2/EV3 with TapLinx v4.1</title>
    <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Using-external-SAM-card-on-POS-SAM-slot-to-authenticate-read/m-p/2188213#M216</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We do not have any support for external SAMs in TapLinx yet, so unfortunately, we do not have a recommended way on how to do this.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Oct 2025 09:48:19 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2025-10-17T09:48:19Z</dc:date>
    <item>
      <title>Using external SAM (card) on POS SAM slot to authenticate/read DESFire EV2/EV3 with TapLinx v4.1.0</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Using-external-SAM-card-on-POS-SAM-slot-to-authenticate-read/m-p/2184213#M215</link>
      <description>&lt;P&gt;Dear NXP TapLinx Support Team,&lt;/P&gt;&lt;P&gt;I am integrating &lt;STRONG&gt;TapLinx (v4.1.0)&lt;/STRONG&gt; on an &lt;STRONG&gt;Android POS&lt;/STRONG&gt; device and require guidance on the recommended approach to securely read/write data from &lt;STRONG&gt;MIFARE DESFire EV2/EV3&lt;/STRONG&gt; cards when using an external &lt;STRONG&gt;SAM (Secure Access Module)&lt;/STRONG&gt; installed in the POS SAM slot.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment &amp;amp; hardware&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;TapLinx SDK: &lt;STRONG&gt;v4.1.0&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;POS device: Android POS (model available on request), Android 13&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;NFC: working (TapLinx can detect card type on this POS via IsoDep/Android NFC)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Card: &lt;STRONG&gt;MIFARE DESFire EV2 / EV3&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;SAM: &lt;STRONG&gt;external SAM card/module available&lt;/STRONG&gt; and the POS has a &lt;STRONG&gt;SAM slot&lt;/STRONG&gt;; the POS vendor SDK exposes APIs to open the SAM channel and send/receive APDUs (e.g., exchangeApdu(...))&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;What we want to achieve&lt;/STRONG&gt;&lt;BR /&gt;We want to use the external SAM (inserted in the POS SAM slot) to perform &lt;STRONG&gt;secure authentication&lt;/STRONG&gt; for DESFire cards (so keys are never exposed in the application), and then use TapLinx to perform DESFire read/write operations once the card session is authenticated.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions / Request&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Does TapLinx v4.1.0 provide any official or recommended integration pattern for using an external SAM (inserted into a POS SAM slot) to perform DESFire authentication while TapLinx handles DESFire protocol and file operations?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If such integration is supported or recommended, could you please provide:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Example code (or pseudo-code) demonstrating the &lt;STRONG&gt;SAM ↔ TapLinx relay&lt;/STRONG&gt; flow for EV2/EV3 (AES preferred). Specifically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;How to call the TapLinx method that initiates the card challenge (e.g., authenticateEV2First or equivalent), capture the challenge data, send it to the SAM via APDU, and pass the SAM’s response back to TapLinx (e.g., authenticateEV2Next).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Any helper classes or methods in TapLinx that simplify bridging a SAM (for example, recommended APDU framing or expected byte formats).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The APDU format TapLinx expects for authentication exchanges, or mapping guidance between TapLinx methods and the APDUs you recommend for SAM operations.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If TapLinx does not directly provide SAM integration, what is the recommended secure flow (best practice) to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Relay card challenges to the SAM (in POS SAM slot),&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use SAM to compute responses (cryptogram / MAC), and&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Feed those results into TapLinx so the DESFire session is authenticated and ready for secure read/write.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Any sample projects, technical notes, or internal docs you can share that cover TapLinx + external SAM (POS) integration would be very helpful.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;Any example code or recommended patterns you can share will accelerate our integration and help ensure we implement a secure, maintainable solution.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 06:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Using-external-SAM-card-on-POS-SAM-slot-to-authenticate-read/m-p/2184213#M215</guid>
      <dc:creator>musabeni</dc:creator>
      <dc:date>2025-10-11T06:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using external SAM (card) on POS SAM slot to authenticate/read DESFire EV2/EV3 with TapLinx v4.1</title>
      <link>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Using-external-SAM-card-on-POS-SAM-slot-to-authenticate-read/m-p/2188213#M216</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We do not have any support for external SAMs in TapLinx yet, so unfortunately, we do not have a recommended way on how to do this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 09:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/TapLinx-SDK-TagWriter-and/Using-external-SAM-card-on-POS-SAM-slot-to-authenticate-read/m-p/2188213#M216</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2025-10-17T09:48:19Z</dc:date>
    </item>
  </channel>
</rss>

