<?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[在Freertos中添加了按键检测任务后，无法获得GAP_EVT_MASTER_CONNECT事件]]></title><description><![CDATA[<p>我手上有一个程序，如果在上电的时候主动连接从机，可以正常的接收到GAP_EVT_MASTER_CONNECT时间并往后获得GATT的其他事件。但是如果我通过长按按键进行连接，则会一直收到GAP_EVT_MASTER_CONNECT事件，我在这个事件中已经调用了gap_stop_scan();，但是目前看来他并不会停止扫描。整个工程是在官方的Freertos例程中添加了按键检测等任务，希望有朋友可以帮帮。<img
      src="http://www.freqchip.net:4567/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=chgjecujl06"
      class="not-responsive emoji emoji-android emoji--joy"
      title=":joy:"
      alt="😂"
    /></p>
]]></description><link>http://www.freqchip.net:4567/topic/1829/在freertos中添加了按键检测任务后-无法获得gap_evt_master_connect事件</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 20:19:21 GMT</lastBuildDate><atom:link href="http://www.freqchip.net:4567/topic/1829.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Jun 2026 15:36:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 在Freertos中添加了按键检测任务后，无法获得GAP_EVT_MASTER_CONNECT事件 on Invalid Date]]></title><description><![CDATA[<p>我手上有一个程序，如果在上电的时候主动连接从机，可以正常的接收到GAP_EVT_MASTER_CONNECT时间并往后获得GATT的其他事件。但是如果我通过长按按键进行连接，则会一直收到GAP_EVT_MASTER_CONNECT事件，我在这个事件中已经调用了gap_stop_scan();，但是目前看来他并不会停止扫描。整个工程是在官方的Freertos例程中添加了按键检测等任务，希望有朋友可以帮帮。<img
      src="http://www.freqchip.net:4567/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=chgjecujl06"
      class="not-responsive emoji emoji-android emoji--joy"
      title=":joy:"
      alt="😂"
    /></p>
]]></description><link>http://www.freqchip.net:4567/post/4472</link><guid isPermaLink="true">http://www.freqchip.net:4567/post/4472</guid><dc:creator><![CDATA[Irving]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>