<?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 wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33825/nfc-wake-up-functionality-with-ble</link><description>Hello, 
 
 I am trying to add NFC wake up functionality to the project based on ble_uart_app example; 
 Using SDK14.2 SD132 V5,1 using DK52 development board 
 I have added follow statements: 
 #include &amp;quot;bsp_nfc.h&amp;quot; 
 in sleep_mode_enter(..) function </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 May 2018 08:48:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33825/nfc-wake-up-functionality-with-ble" /><item><title>RE: NFC wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/thread/131986?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 08:48:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4adb383-41cd-4641-a563-73ef21821b67</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt;I would invite you to use &lt;a href="https://infocenter.nordicsemi.com" target="_blank" rel="noopener noreferrer"&gt;infocenter &lt;/a&gt;when you are wondering what the different functions does and how to use them.&lt;/p&gt;
&lt;p&gt;There it is described:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__bsp__nfc.html&amp;amp;anchor=gac746b7ad2346f9ad32c1f2436a537ca8" target="_blank" rel="noopener noreferrer"&gt;bsp_nfc_btn_init()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a51e6968242f4a84bb0ddb531fa4bebb/pastedimage1526373649388v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__bsp.html&amp;amp;cp=4_0_0_6_11_8_19&amp;amp;anchor=gad0a97a31710cb6e8929a662beb873e19" target="_blank" rel="noopener noreferrer"&gt;bsp_buttons_disable()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a51e6968242f4a84bb0ddb531fa4bebb/pastedimage1526373872023v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So you should not use &lt;em&gt;bsp_buttons_disable()&lt;/em&gt; if you want to use a button to wake up.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You could use &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__bsp.html&amp;amp;cp=4_0_0_6_11_8_25&amp;amp;anchor=ga67387a60ea80ae34a40eeec4a418337e" target="_blank" rel="noopener noreferrer"&gt;bsp_wakeup_button_enable()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a51e6968242f4a84bb0ddb531fa4bebb/pastedimage1526374065390v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/thread/131777?ContentTypeID=1</link><pubDate>Sun, 13 May 2018 19:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c758193a-f664-4eba-ae76-3e8b839073d7</guid><dc:creator>Andrew_Engineer </dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the code, two more questions:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span&gt;err_code&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bsp_nfc_btn_init&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;BTN_ID_SLEEP&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&amp;nbsp; do we need to initialize&amp;nbsp;&amp;nbsp;physical button before&amp;nbsp;this call ie button with ID 0 uses to wake the chip?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;2.&amp;nbsp; What if we need both features: wake from the button and wake from NFC? do we still need this&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Courier New&amp;#39;;font-size:10.0pt;font-style:normal;font-weight:normal;text-decoration:none;"&gt;
&lt;pre&gt;&lt;span&gt;err_code&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bsp_buttons_disable&lt;/span&gt;&lt;span&gt;()&lt;/span&gt;&lt;span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;or it can be safely removed. or we need to add something else&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;Please advise at your earliest convenience&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Andrew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/thread/130793?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 11:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d904b60f-af60-4665-91e2-0256417a98c4</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Andrew,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have made an example with the ble_app_uart and wake_on_nfc as reference.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a51e6968242f4a84bb0ddb531fa4bebb/main.c"&gt;devzone.nordicsemi.com/.../main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(sdk14.2 and softdevice s132)&lt;/p&gt;
&lt;p&gt;Button 3 sets the device in sleep and nfc wakes the device up and then it starts to advertise again as usual.&lt;/p&gt;
&lt;p&gt;(led 3 and led 4 works as led1 and 2 did in the wake on nfc example)&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/thread/130786?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 11:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc63cee-10df-4ac6-9f9f-f82c20a36f9d</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I would like you to look at the bsp_event_handler in &amp;quot;Wake on NFC&amp;quot; and&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25712/sending-via-nfc-after-nfc-wake-up-on-sd132" target="_blank" rel="noopener noreferrer"&gt; this thread&lt;/a&gt;&amp;nbsp;for what you should add to your code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;Debug&lt;/a&gt; your code if you are having any issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/thread/130691?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 00:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6ac7a7a-9afc-4481-9a41-5c05e200a364</guid><dc:creator>Andrew_Engineer </dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you have chance to look at this topic. Please advise at your earliest convenience.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Iouri&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/thread/130032?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 18:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a33de6-31ef-4aa2-9eec-cbd409341192</guid><dc:creator>Andrew_Engineer </dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&amp;nbsp; yes we are merging &amp;quot;ble_app_uart example&amp;quot; with &amp;quot;Wake up on NFC example&amp;quot;.&amp;nbsp;From the code what I&amp;nbsp; posted in original post do we need to add/modify anything else?&lt;/p&gt;
&lt;p&gt;Because &amp;quot;Wake up on NFC example&amp;quot;&amp;nbsp; doesnt use softdevce and we want to make sure there is nothing else should be added/modify.&lt;/p&gt;
&lt;p&gt;Can you please double check and advise&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;andrew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC wake up functionality with BLE</title><link>https://devzone.nordicsemi.com/thread/129974?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 13:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ee12ab8-1fb4-4b2f-ad44-ffcb0e5e81f2</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_0_0_4_1_2_24" target="_blank" rel="noopener noreferrer"&gt;ble_app_uart&lt;/a&gt;&amp;quot; as a starting point and then implementing &amp;quot; &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fnfc_wake_on_nfc.html" target="_blank" rel="noopener noreferrer"&gt;Wake on NFC example&lt;/a&gt;&amp;quot; ?&lt;/p&gt;
&lt;p&gt;You could also look at the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_template.html&amp;amp;resultof=%22wake%22%20" target="_blank" rel="noopener noreferrer"&gt;Template Application&lt;/a&gt;&amp;quot; to test out how &amp;quot;wake on button press&amp;quot; works out and just change that with the &amp;quot;Wake on NFC&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>