<?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>Issue setting NFC_OOB_PAIRING config option in prj.conf for peripheral_hids_keyboard sample application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96186/issue-setting-nfc_oob_pairing-config-option-in-prj-conf-for-peripheral_hids_keyboard-sample-application</link><description>Hi there, 
 I have built and run the peripheral_hids_keyboard sample from the nrf samples folder in SDK V2.10. 
 It works fine for the HID keyboard service. 
 I want to try out the NFC OOB pairing that it implements but I am unable to change the config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Feb 2023 11:36:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96186/issue-setting-nfc_oob_pairing-config-option-in-prj-conf-for-peripheral_hids_keyboard-sample-application" /><item><title>RE: Issue setting NFC_OOB_PAIRING config option in prj.conf for peripheral_hids_keyboard sample application</title><link>https://devzone.nordicsemi.com/thread/407743?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2023 11:36:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:684f0730-f9a2-4387-a847-1d3e5b39c04c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Duncan&lt;/p&gt;
&lt;p&gt;Sounds good. If you have any more questions or comments just let me know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue setting NFC_OOB_PAIRING config option in prj.conf for peripheral_hids_keyboard sample application</title><link>https://devzone.nordicsemi.com/thread/407603?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 15:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2bbd17b-8849-4273-8ec6-cf6e668315df</guid><dc:creator>DunKCubik</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn, thanks very much for your quick reply. I&amp;#39;ll add what you suggested to my overlay file and try it again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Duncan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue setting NFC_OOB_PAIRING config option in prj.conf for peripheral_hids_keyboard sample application</title><link>https://devzone.nordicsemi.com/thread/407594?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 15:01:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e3d2273-a769-46b7-967a-239c8d8c5d7e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Duncan&lt;/p&gt;
&lt;p&gt;I reproduced the issue you are facing, and it lead me down a bit of a rabbit hole.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems the NFC peripheral is disabled by default in the various nRF52 DK board files, even though they all have the necessary hardware to support NFC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Normally this would lead to an error further down the line when trying to use the NFC peripheral, but apparently the NFC driver only checks whether or not NFC is enabled in the project configuration (Kconfig), and doesn&amp;#39;t care about the hardware configuration in the device tree.&amp;nbsp;&lt;br /&gt;This is the reason&amp;nbsp;all the samples in the nrf/samples/nfc folder work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the case of the peripheral_hids_keyboard sample this is not enough, since the NFC_OOB_PAIRING configuration explicitly requires the&amp;nbsp;HAS_HW_NRF_NFCT configuration to be in place, and this in turn depends on whether or not NFC is enabled in the device tree.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The short term fix is to make sure the NFC peripheral is enabled in the device tree by adding the following to your overlay file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;nfct {
	status=&amp;quot;ok&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I have reported the issue to the developers, and in the future we should issue an update that would fix the underlying issue as described above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue setting NFC_OOB_PAIRING config option in prj.conf for peripheral_hids_keyboard sample application</title><link>https://devzone.nordicsemi.com/thread/407308?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 12:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:468320f7-804c-4dba-bb07-406213b018f4</guid><dc:creator>DunKCubik</dc:creator><description>&lt;p&gt;Sorry forgot to&amp;nbsp;add build info etc..&lt;/p&gt;
&lt;p&gt;--- west build: generating a build system&lt;br /&gt;Loading Zephyr default modules (Zephyr base).&lt;br /&gt;-- Application: C:/Nordic/myapps/peripheral_hids_keyboard&lt;br /&gt;-- Found Python3: C:/ncs/toolchains/v2.1.0/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter &lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.1.0/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.1.99 (C:/ncs/v2.1.0/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt;-- Board: nrf52840dk_nrf52840&lt;br /&gt;-- Found host-tools: zephyr 0.14.1 (C:/ncs/toolchains/v2.1.0/opt/zephyr-sdk)&lt;br /&gt;-- Found dtc: C:/ncs/toolchains/v2.1.0/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;br /&gt;-- Found toolchain: zephyr 0.14.1 (C:/ncs/toolchains/v2.1.0/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.1.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts&lt;br /&gt;-- Generated zephyr.dts: C:/Nordic/myapps/peripheral_hids_keyboard/build/zephyr/zephyr.dts&lt;br /&gt;-- Generated devicetree_unfixed.h: C:/Nordic/myapps/peripheral_hids_keyboard/build/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt;-- Generated device_extern.h: C:/Nordic/myapps/peripheral_hids_keyboard/build/zephyr/include/generated/device_extern.h&lt;br /&gt;-- Including generated dts.cmake file: C:/Nordic/myapps/peripheral_hids_keyboard/build/zephyr/dts.cmake&lt;br /&gt;Parsing C:/Nordic/myapps/peripheral_hids_keyboard/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/ncs/v2.1.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Nordic/myapps/peripheral_hids_keyboard/prj.conf&amp;#39;&lt;br /&gt;Configuration saved to &amp;#39;C:/Nordic/myapps/peripheral_hids_keyboard/build/zephyr/.config&amp;#39;&lt;br /&gt;Kconfig header saved to &amp;#39;C:/Nordic/myapps/peripheral_hids_keyboard/build/zephyr/include/generated/autoconf.h&amp;#39;&lt;br /&gt;-- The C compiler identification is GNU 10.3.0&lt;br /&gt;-- The CXX compiler identification is GNU 10.3.0&lt;br /&gt;-- The ASM compiler identification is GNU&lt;br /&gt;-- Found assembler: C:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe&lt;br /&gt;CMake Warning at C:/ncs/v2.1.0/zephyr/CMakeLists.txt:1839 (message):&lt;br /&gt; __ASSERT() statements are globally ENABLED&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>