<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105584/nfc-does-not-work-with-iphone-13-and-above</link><description>Hello, 
 I am currently working on a program utilizing the nRF52840 with NFC capabilities. I have successfully compiled and tested the application on Android, but unfortunately, it does not seem to be functioning on iPhone. 
 After some research, I suspect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Feb 2024 19:05:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105584/nfc-does-not-work-with-iphone-13-and-above" /><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/467247?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 19:05:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a37851b-0f5b-49e0-a710-bd4186b75d70</guid><dc:creator>McRancor</dc:creator><description>&lt;p&gt;I found the root cause for this phenomenon. SDK 14.2, 15.2 are both behaving the same. with SDK 16.0+ the problem is not visible and all iPhones work fine. &lt;/p&gt;
&lt;p&gt;I managed to get my code stable when porting nrfx nfc driver to sdk 14.2, and by replacing the t4t lib.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/458943?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 12:05:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7755e992-5f50-430d-a4cc-bd36e6f6c343</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thank you for your input.&lt;/p&gt;
&lt;p&gt;Will forward this information internally.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/458922?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 10:00:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fa09cb4-100c-438e-b183-2d6752a38eb3</guid><dc:creator>McRancor</dc:creator><description>&lt;p&gt;Antenna is the same, and I&amp;#39;m fairly sure the issue is caused by DK antenna. I see the FIELD_ON events running in cycles, but the read event is not present. An older iPhone generates typical Field On -&amp;gt; read -&amp;gt; Field off pattern.&lt;/p&gt;
&lt;p&gt;I have also some different chips with custom made NFC antennas and they run fine. I decided to go with board design for my custom project, and will match the antenna there.&lt;/p&gt;
&lt;p&gt;I tested just now with Iphone 11, running same OS version like the working Xr, the Iphone 11 behaves just like 13 - no read happening. That means it&amp;#39;s not OS dependent but model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/458916?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 09:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca3fa66-74cd-4e3c-b8da-c522dfd43c82</guid><dc:creator>massimoklk</dc:creator><description>&lt;p&gt;i am working with the NRF52840 DK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/458730?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 12:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:740f7c7c-d9e6-446d-b042-c8469b795af5</guid><dc:creator>McRancor</dc:creator><description>&lt;p&gt;I have a following observation regarding NFC and iPhones:&lt;/p&gt;
&lt;p&gt;PCA10040, with nrf52832, running some modified NFC sample.&lt;/p&gt;
&lt;p&gt;Works great with Android AND iphone Xr running iOS 16.5.1&lt;/p&gt;
&lt;p&gt;Does not work at all with iphone 13 running iOS 17.1.1&lt;/p&gt;
&lt;p&gt;Using NFC Tools I&amp;#39;m also not able to get it working. Will try to test different antennas.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/457180?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 13:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:271a2790-e29f-4527-be3f-cf6b1b0f5da3</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Are you working with a custom board or an nRF52840-DK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/457044?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 23:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad96d387-730a-45f8-b31c-d52a6d3fe5a0</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Just wanted to let you know that I&amp;#39;m looking into this. Waiting for some assistance from our developers with more insight to NFC.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/456339?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 09:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb9190ac-47e3-455d-960f-8ac9e5ff9933</guid><dc:creator>massimoklk</dc:creator><description>&lt;div class="flex-1 overflow-hidden"&gt;
&lt;div class="react-scroll-to-bottom--css-sbfpz-79elbk h-full"&gt;
&lt;div class="react-scroll-to-bottom--css-sbfpz-1n7m0yu"&gt;
&lt;div class="flex flex-col text-sm gizmo:pb-9 dark:bg-gray-800 gizmo:dark:bg-transparent"&gt;
&lt;div data-testid="conversation-turn-13"&gt;
&lt;div class="p-4 gizmo:py-2 justify-center text-base md:gap-6 md:py-6 m-auto"&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div class="flex-col gap-1 md:gap-3"&gt;
&lt;div class="flex flex-grow flex-col max-w-full gap-3 gizmo:gap-0"&gt;
&lt;div data-message-author-role="assistant" data-message-id="25707ae9-a98a-43cf-869b-f4a4cb5e62b6"&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;p&gt;I&amp;#39;ve encountered a problem where my iPhone fails to initiate the reading of an NDEF message it prepares, despite an external app successfully reading the NFC.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve confirmed that the NDEF message is correctly formatted, leading me to suspect that the issue might be tied to the behavior of the iPhone. Here&amp;#39;s the relevant portion of my code. The format mirrors that of this link:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104593/what-is-the-maximum-url-length-that-can-be-transmitted-via-nfc-using-the-nrf52840"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/104593/what-is-the-maximum-url-length-that-can-be-transmitted-via-nfc-using-the-nrf52840&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Within the provided code, I&amp;#39;ve implemented a machine state to control various aspects of the device. Could this non-functional characteristic be linked to timing considerations?&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="flex justify-between empty:hidden gizmo:mt-1 gizmo:justify-start gizmo:gap-3 lg:block gizmo:lg:flex"&gt;
&lt;div class="text-gray-400 flex self-end lg:self-center justify-center gizmo:lg:justify-start mt-2 gizmo:mt-0 visible gap-1"&gt;
&lt;div class="flex gap-1"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;typedef enum
{
    NFC_STATE_WAIT       = 0, 
    NFC_STATE_CREATE_URI    , 
    NFC_STATE_DEPLOY_PYLD   ,

    NFC_STATE_NUM_STATES    ,
} NFC_STATE;

typedef struct
{
  //HANDLER del enigne
  HANDLER hNFC_SE;

#ifdef TESTBOARD
  HANDLER hLED1;
  HANDLER hLED2;
#endif

    //NDEF BUFFER
    uint8_t m_ndef_msg_buf[988];
} NFCDESC,*PNFCDESC;

#define NFCDESCSIZE sizeof(NFCDESC)
NFCDESC nfcdesc = {0};


char m_url[978] = &amp;quot;null&amp;quot;;


uint8_t NFC_STATE_CREATE_URI_CB(HANDLER hSE,void *pParam,uint8_t uParam)
{
    SEGGER_RTT_printf(0, &amp;quot;NFC_STATE_CREATE_URI\n&amp;quot;);

    uint32_t errCode;
    uint32_t len = sizeof(nfcdesc.m_ndef_msg_buf);

    /* Encode URI message into buffer */
    errCode = nfc_uri_msg_encode(NFC_URI_HTTPS,
                                m_url,
                                sizeof(m_url) ,
                                nfcdesc.m_ndef_msg_buf,
                                &amp;amp;len);


    SEGGER_RTT_printf(0, &amp;quot;Error: %s\n&amp;quot;,NRFX_LOG_ERROR_STRING_GET(errCode));
    APP_ERROR_CHECK(errCode);

    /* Set created message as the NFC payload */
    errCode = nfc_t2t_payload_set(nfcdesc.m_ndef_msg_buf, len);
    SEGGER_RTT_printf(0, &amp;quot;Error: %s\n&amp;quot;,NRFX_LOG_ERROR_STRING_GET(errCode));
    APP_ERROR_CHECK(errCode);

    return NFC_STATE_DEPLOY_PYLD;
}

uint8_t NFC_STATE_DEPLOY_PYLD_CB(HANDLER hSE,void *pParam,uint8_t uParam)
{
    SEGGER_RTT_printf(0, &amp;quot;NFC_STATE_DEPLOY_PYLD\n&amp;quot;);
    uint32_t errCode;

    errCode = nfc_t2t_emulation_start();
    APP_ERROR_CHECK(errCode);

    return NFC_STATE_WAIT;
}

//*INTERRUPCIOS, CALLBACKS

static void nfc_callback(void * p_context, nfc_t2t_event_t event, const uint8_t * p_data, size_t data_length)
{
    (void)p_context;

    switch (event)
    {
        case NFC_T2T_EVENT_FIELD_ON:
            WRGPIO_OUT_value(nfcdesc.hLED2,false);
            break;

        case NFC_T2T_EVENT_FIELD_OFF:
            WRGPIO_OUT_value(nfcdesc.hLED2,true );
            break;

        default:
            break;
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/455736?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 11:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ac801ab-e812-41e2-9844-fe4bb8a2fc36</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Did some tests on an iPhone 13 and nRF5 SDK v.17.1.0 (and 17.0.2). I am not able to reproduce the issue you describe.&lt;/p&gt;
&lt;p&gt;As of now I&amp;#39;m not sure what the root cause of this could be. But I highy recommend you to consider NCS and test the NFC features there. &lt;br /&gt;If the issue persists there, I&amp;#39;ll be happy to help you debug the issue further.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/455614?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 16:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3d2e428-bc00-4ea1-8463-b35fcc2f56cf</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;I would not recommend downgrading to an older version of the nRF5 SDK.&lt;/p&gt;
&lt;p&gt;The nRF5 SDK is in maintenance mode (ref: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;this statement&lt;/a&gt;) and we highly recommend using NCS (nRF Connect SDK) for new designs.&lt;/p&gt;
&lt;p&gt;_______________&lt;/p&gt;
&lt;p&gt;I got an iPhone 13 and will perform some tests tomorrow. Will check how the NFC behaves in both nRF5 SDK and NCS and get back to you.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/455562?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 14:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82f02db0-a3a1-4e0e-9ee5-3f45f43e9e1b</guid><dc:creator>massimoklk</dc:creator><description>&lt;p&gt;Thank you very much for your effor. At the end, I have&amp;nbsp;solved the problem by using an older version of the SDK. I am using the 15.3.0 version right now.&lt;/p&gt;
&lt;p&gt;However, I will try what you have just said with the newest SDK version.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/455531?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 13:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0e284bb-5402-41e7-97b1-b379afea209a</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have an iPhone 13 or later to test this at the moment. But I will try to get my hands on one so that I can perform some tests myself.&amp;nbsp;&lt;br /&gt;However, I tried reproducing with an iPhone 12 Pro (iOS 16), and there are no problems with the NFC sample there.&lt;/p&gt;
&lt;p&gt;I saw&amp;nbsp;from various forums that there are several reports of NFC&amp;nbsp;problems in iOS15 and later, but I don&amp;#39;t know if that is fixed or if it&amp;#39;s related to your problems.&amp;nbsp;&lt;br /&gt;Some users reported that the problems were fixed after a network setting reset. Other users reported that the problems were fixed after turning Airdrop off.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will investigate further and get back to you with more information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/455306?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 13:27:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a520e218-4336-4dc8-81f7-9b348f65c607</guid><dc:creator>massimoklk</dc:creator><description>&lt;p&gt;Hello Joakim,&lt;/p&gt;
&lt;p&gt;Thank you for your prompt response. I&amp;#39;m utilizing the nRF52840 example program &amp;#39;record_URL&amp;#39; from SDK 17.0.2.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tested the application on iOS versions 16 and 17 across various iPhone models, including iPhone 13, 13 Pro, 14 Pro, and 15 Pro Max.&lt;/p&gt;
&lt;p&gt;Interestingly, a year ago, I employed the same example to develop a similar application and did not encounter this type of problem. Additionally, there are instances where my iPhone recognizes the URL, but more often than not, it does not. However, the magnetic field is being detected, as I&amp;#39;ve programmed an LED to indicate whether the field is ON or OFF.&lt;/p&gt;
&lt;p&gt;Any insights or suggestions on resolving this inconsistency would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC does not work with iphone 13 and above</title><link>https://devzone.nordicsemi.com/thread/455272?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 11:33:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f148a7d2-a5a6-48d8-a847-11eeb65b731b</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
[quote user=""]I am currently working on a program utilizing the nRF52840 with NFC capabilities.[/quote]
&lt;p&gt;Which NFC capabilities are you referring to here?&lt;/p&gt;
&lt;p&gt;It might be due to the strict&amp;nbsp;&lt;span&gt;security on NFC on iOS devices, but I&amp;#39;m not 100% sure.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You mention iPhone 13 and above. Have you tested using iPhone 12 and below? Is this only related to phone model, not iOS version?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>