<?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[M5Stack ESP32 BLE tx power level]]></title><description><![CDATA[<p dir="auto">Hey guys,<br />
This is my first post in this forum. I used the search but could not find a solution for my problem.</p>
<p dir="auto">I would like to read the tx power level of BLE beacons with my M5Stack ESP32.<br />
I get the rssi value but I would like to know the transmission power. I do not mean the 1Byte "transmitted/measured power" that you should receive on 1m range. I mean the power level that determines how strongly the beacon sends its broadcast (what the max. range should be).</p>
<p dir="auto">I would like to read whether the beacon is configurated to send only at e.g. max. range of 2m or maybe 15m.</p>
<p dir="auto">I use Arduino and PlatformIO with <strong>int8_t BLEAdvertisedDevice::getTXPower	()</strong>	<br />
<a href="http://www.neilkolban.com/esp32/docs/cpp_utils/html/class_b_l_e_advertised_device.html#a8c62ba653ba4f6fb904b6bc195620511" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.neilkolban.com/esp32/docs/cpp_utils/html/class_b_l_e_advertised_device.html#a8c62ba653ba4f6fb904b6bc195620511</a></p>
<p dir="auto">And I always get txPower: 0. using haveTXPower() returns false. But my smartphone with the usuals apps displays without and problems the txPower value (e.g. -20dBm that would indicate the ble beacon has only few meters max. range)</p>
<p dir="auto">Did anyone had success with a M5Stack to read those txPower values?<br />
Is there any code snippet that REALLY WORKS? There are planty online but they show 0 txPower and false on haveTxPower.</p>
<p dir="auto">greetings</p>
<p dir="auto">edit: further infos from platformIO<br />
PLATFORM: Espressif 32 &gt; M5Stack Core ESP32<br />
HARDWARE: ESP32 240MHz 320KB RAM (4MB Flash)<br />
Libs: M5Stack 0.2.5</p>
]]></description><link>https://community.m5stack.com/topic/1026/m5stack-esp32-ble-tx-power-level</link><generator>RSS for Node</generator><lastBuildDate>Sun, 03 May 2026 05:24:00 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1026.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 May 2019 00:45:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack ESP32 BLE tx power level on Tue, 18 Jun 2019 17:38:17 GMT]]></title><description><![CDATA[<p dir="auto">Sorry my friend but their seams to be an issue with bluetooth on the esp32.</p>
]]></description><link>https://community.m5stack.com/post/4662</link><guid isPermaLink="true">https://community.m5stack.com/post/4662</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 18 Jun 2019 17:38:17 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack ESP32 BLE tx power level on Tue, 18 Jun 2019 17:35:05 GMT]]></title><description><![CDATA[<p dir="auto">so guys, any news or comments on this topic?</p>
<p dir="auto">would appreciate it</p>
]]></description><link>https://community.m5stack.com/post/4661</link><guid isPermaLink="true">https://community.m5stack.com/post/4661</guid><dc:creator><![CDATA[Gero Nimo]]></dc:creator><pubDate>Tue, 18 Jun 2019 17:35:05 GMT</pubDate></item></channel></rss>