<?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] BLE Beacon RSSI 0]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have a <a href="http://platform.io" target="_blank" rel="noopener noreferrer nofollow ugc">platform.io</a> project in which I'm trying to setup an iBeacon and it seems to work except the RSSI is 0.</p>
<p dir="auto">Using different scanner applications I can see the generated iBeacon (right UUID, major, and minor)  but like I mentioned the RSSI is always 0.<br />
I would appreciate any (general) pointers as to what could be the root cause. Also, if anyone has or knows of a working example I could use that.</p>
<p dir="auto">Note that I also tried to use the NimBLE library with the same issue.</p>
<p dir="auto">The relevant part of the code:</p>
<pre><code class="language-cpp">#include &lt;BLEDevice.h&gt;
#include &lt;BLEServer.h&gt;
#include &lt;BLEBeacon.h&gt;
#include &lt;Ticker.h&gt;

bool is_advertising;
Ticker switchAdertising;
BLEAdvertising *pAdvertising;

void setup_beacon()
{
  BLEDevice::init("BleBrain");
  BLEServer *pServer = BLEDevice::createServer();

  BLEBeacon myBeacon = BLEBeacon();
  myBeacon.setManufacturerId(0x4C00);
  myBeacon.setMajor(beacon.major);
  myBeacon.setMinor(beacon.minor);
  BLEUUID bleUUID = BLEUUID(IBEACON_UUID);
  bleUUID = bleUUID.to128();
  myBeacon.setProximityUUID(BLEUUID(bleUUID.getNative()-&gt;uuid.uuid128, 16, true));
  myBeacon.setSignalPower(0xc5);

  BLEAdvertisementData advertisementData;
  advertisementData.setFlags(0x1A);
  advertisementData.setManufacturerData(myBeacon.getData());

  pAdvertising = pServer-&gt;getAdvertising();
  pAdvertising-&gt;setAdvertisementData(advertisementData);
  pAdvertising-&gt;start();
  is_advertising = true;
};

void advertising_switch()
{
  if (is_advertising)
  {
    pAdvertising-&gt;stop();
  }  else {
    pAdvertising-&gt;start();
  }
};
</code></pre>
]]></description><link>https://community.m5stack.com/topic/3023/m5stack-ble-beacon-rssi-0</link><generator>RSS for Node</generator><lastBuildDate>Wed, 06 May 2026 00:56:06 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3023.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Mar 2021 04:51:41 GMT</pubDate><ttl>60</ttl></channel></rss>