<?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>Added BAS service to  nfc peripheral example caused phone to disconnect (0x13)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126815/added-bas-service-to-nfc-peripheral-example-caused-phone-to-disconnect-0x13</link><description>I noticed on my custom PCB that pairing stopped working, and was getting &amp;quot;reason 0x13&amp;quot; as the disconnect. This disconnect reason I believe is from the phone disconnecting. I moved back to the nrf5340DK (sdk/toolchain v3.2.1), and ran the nfc peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Feb 2026 12:09:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126815/added-bas-service-to-nfc-peripheral-example-caused-phone-to-disconnect-0x13" /><item><title>RE: Added BAS service to  nfc peripheral example caused phone to disconnect (0x13)</title><link>https://devzone.nordicsemi.com/thread/560224?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 12:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c1467e9-e1ad-4b9d-9790-7f79eaa4da86</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerome,&amp;nbsp;&lt;br /&gt;I suspect that the attribute table has been cached and not updated on the phone. This will cause a mismatch when you add the BAS service to the device. Please try to delete the bond information on the phone, reset Bluetooth (reset phone if needed) and test again.&amp;nbsp;&lt;br /&gt;You can try adding this:&lt;br /&gt;&lt;span&gt;CONFIG_BT_GATT_SERVICE_CHANGED=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So that the phone should know that the attribute table may change and it should do service discovery when receive a notification. But this only works if the attribute table has not been cached.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you add the BAS service to other sample, do you see the same issue on the&amp;nbsp;S23 ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>