<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FR800X central设备如何和设置了PIN码的peripheral设备配对]]></title><description><![CDATA[<p>FR800X central设备如何和设置了PIN码的peripheral设备进行配对？有没有相关的例程<br />
在连接到peripheral设备后会跳转到GAP_SEC_EVT_PIN_CODE_REQ，在这一步该怎么操作？在这里尝试使用了gap_security_send_pairing_password，没有成功</p>
<p>通过排查，发现在GAP_SEC_EVT_PIN_CODE_REQ中使用gap_security_send_pairing_password(p_event-&gt;param.master_connect.conidx, 123456); 无法成功，原因是p_event-&gt;param.master_connect.conidx不是当前的链接号，通过打印出来为2，实际应该为0，这个是什么问题导致的呢？</p>
]]></description><link>http://www.freqchip.net:4567/topic/1245/fr800x-central设备如何和设置了pin码的peripheral设备配对</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 16:14:22 GMT</lastBuildDate><atom:link href="http://www.freqchip.net:4567/topic/1245.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Apr 2025 01:34:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FR800X central设备如何和设置了PIN码的peripheral设备配对 on Tue, 08 Apr 2025 06:36:03 GMT]]></title><description><![CDATA[<p>FR800X central设备如何和设置了PIN码的peripheral设备进行配对？有没有相关的例程<br />
在连接到peripheral设备后会跳转到GAP_SEC_EVT_PIN_CODE_REQ，在这一步该怎么操作？在这里尝试使用了gap_security_send_pairing_password，没有成功</p>
<p>通过排查，发现在GAP_SEC_EVT_PIN_CODE_REQ中使用gap_security_send_pairing_password(p_event-&gt;param.master_connect.conidx, 123456); 无法成功，原因是p_event-&gt;param.master_connect.conidx不是当前的链接号，通过打印出来为2，实际应该为0，这个是什么问题导致的呢？</p>
]]></description><link>http://www.freqchip.net:4567/post/2482</link><guid isPermaLink="true">http://www.freqchip.net:4567/post/2482</guid><dc:creator><![CDATA[Xs]]></dc:creator><pubDate>Tue, 08 Apr 2025 06:36:03 GMT</pubDate></item><item><title><![CDATA[Reply to FR800X central设备如何和设置了PIN码的peripheral设备配对 on Invalid Date]]></title><description><![CDATA[<p><img src="/assets/uploads/files/1744096541938-0bd67275-e838-46bf-8f63-ae3f2c633c2c-image-resized.png" alt="0_1744096538869_0bd67275-e838-46bf-8f63-ae3f2c633c2c-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://www.freqchip.net:4567/post/2487</link><guid isPermaLink="true">http://www.freqchip.net:4567/post/2487</guid><dc:creator><![CDATA[Mars]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to FR800X central设备如何和设置了PIN码的peripheral设备配对 on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://www.freqchip.net:4567/uid/941">@mars</a> 在GAP_SEC_EVT_PIN_CODE_REQ中使用gap_security_send_pairing_password(p_event-&gt;param.master_connect.conidx, 123456); 无法成功，原因是p_event-&gt;param.master_connect.conidx不是当前的链接号，通过打印出来为2，实际应该为0，这个是什么问题导致的呢？</p>
]]></description><link>http://www.freqchip.net:4567/post/2494</link><guid isPermaLink="true">http://www.freqchip.net:4567/post/2494</guid><dc:creator><![CDATA[Xs]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to FR800X central设备如何和设置了PIN码的peripheral设备配对 on Invalid Date]]></title><description><![CDATA[<p>你这个是主机端的是吧，那你在GAP_EVT_MASTER_CONNECT事件里面用一个变量存p_event-&gt;param.master_connect.conidx起来，<br />
或者是你在GAP_EVT_MASTER_CONNECT这个事件里面的conidx是多少有没有打印出来</p>
]]></description><link>http://www.freqchip.net:4567/post/2506</link><guid isPermaLink="true">http://www.freqchip.net:4567/post/2506</guid><dc:creator><![CDATA[Mars]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to FR800X central设备如何和设置了PIN码的peripheral设备配对 on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://www.freqchip.net:4567/uid/941">@mars</a> 在GAP_EVT_MASTER_CONNECT这个事件里面的conidx和GAP_EVT_MASTER_CONNECT事件里面conidx不一致，所以才会导致一直连接失败，现在的方案就是在GAP_EVT_MASTER_CONNECT存储当前的conidx</p>
]]></description><link>http://www.freqchip.net:4567/post/2520</link><guid isPermaLink="true">http://www.freqchip.net:4567/post/2520</guid><dc:creator><![CDATA[Xs]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>