<?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[Bluetooth over Core2]]></title><description><![CDATA[<p dir="auto">Hello friends of the M5Stack.<br />
Who has Bluetooth over UIFlow running in the Core2.<br />
I need it to scan Bluetooth sensors.<br />
Does anyone have a sample code for me?</p>
]]></description><link>https://community.m5stack.com/topic/2631/bluetooth-over-core2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 13:42:15 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2631.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Dec 2020 09:44:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bluetooth over Core2 on Fri, 08 Jan 2021 07:29:25 GMT]]></title><description><![CDATA[<p dir="auto">Thank You</p>
]]></description><link>https://community.m5stack.com/post/11605</link><guid isPermaLink="true">https://community.m5stack.com/post/11605</guid><dc:creator><![CDATA[Wolli01]]></dc:creator><pubDate>Fri, 08 Jan 2021 07:29:25 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth over Core2 on Wed, 06 Jan 2021 09:28:08 GMT]]></title><description><![CDATA[<p dir="auto">Official MicroPython examples may help you.<br />
<a href="https://github.com/micropython/micropython/blob/master/examples/bluetooth/ble_temperature_central.py" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/micropython/micropython/blob/master/examples/bluetooth/ble_temperature_central.py</a><br />
Need to change a little</p>
<p dir="auto"><code>from ble_advertising import decode_services, decode_name</code><br />
-&gt;<code>from ble.ble_advertising import decode_services, decode_name</code></p>
<p dir="auto">and if you run from UIFlow, <code>__name__</code> is not <code>"__main__"</code> but <code>"flow.m5cloud"</code><br />
remove <code>if __name__ == "__main__":</code> and just call <code>demo()</code></p>
<p dir="auto"><code>if event == _IRQ_SCAN_RESULT:</code> is where receive advertisement data</p>
<p dir="auto">Another thing to note is the current UIFlow (v1.7.1) MicroPython cannot perform active scan. On some devices, the advertisement data does not contain the required data (name, etc.) but is included in the scan data which require active scan.</p>
]]></description><link>https://community.m5stack.com/post/11595</link><guid isPermaLink="true">https://community.m5stack.com/post/11595</guid><dc:creator><![CDATA[inasawa]]></dc:creator><pubDate>Wed, 06 Jan 2021 09:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to Bluetooth over Core2 on Fri, 25 Dec 2020 14:47:02 GMT]]></title><description><![CDATA[<p dir="auto">Doesn't anyone have a simple BLE example where I can just scan the ad data from Bluetooth?</p>
]]></description><link>https://community.m5stack.com/post/11371</link><guid isPermaLink="true">https://community.m5stack.com/post/11371</guid><dc:creator><![CDATA[Wolli01]]></dc:creator><pubDate>Fri, 25 Dec 2020 14:47:02 GMT</pubDate></item></channel></rss>