<?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>how to change the static passkey?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64308/how-to-change-the-static-passkey</link><description>SDK14.0+NRF52832: firstly I init the passkey in the function gap_params_init as above.I want to change the passkey and can save the new passkey to flash, but when I input one new passkey and call the function sd_ble_opt_set again, error occurs（err_code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jul 2020 11:42:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64308/how-to-change-the-static-passkey" /><item><title>RE: how to change the static passkey?</title><link>https://devzone.nordicsemi.com/thread/262383?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 11:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bda3937-e87c-48b9-a4b2-3c1ab5a35a17</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44658/communication-problems-between-ble_peripheral-and-ble_central-in-nrf52-project/176907#176907"&gt;this case&lt;/a&gt;, where my colleague has uploaded code that lets you use a static passkey in the ble_app_uart peripheral and central examples. You should be able to use these examples as reference for your own project(s).&lt;/p&gt;
&lt;p&gt;Due to the summer vacation period in Norway, you have to expect delayed replies as we are low on staff at the moment. Sorry about the inconvenience!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>