This is my first post in this forum. I used the search but could not find a solution for my problem.
I would like to read the tx power level of BLE beacons with my M5Stack ESP32.
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).
I would like to read whether the beacon is configurated to send only at e.g. max. range of 2m or maybe 15m.
I use Arduino and PlatformIO with int8_t BLEAdvertisedDevice::getTXPower ()
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)
Did anyone had success with a M5Stack to read those txPower values?
Is there any code snippet that REALLY WORKS? There are planty online but they show 0 txPower and false on haveTxPower.
edit: further infos from platformIO
PLATFORM: Espressif 32 > M5Stack Core ESP32
HARDWARE: ESP32 240MHz 320KB RAM (4MB Flash)
Libs: M5Stack 0.2.5
Hi I certainly did it, ampy is installed and functional but doesn’t seem to connect to the device.
Thanks for looking into this. Removing all unnecessary beeps from the standard firmware would be great. No-one would buy a car honking at every steering or dashboard switch activation!
@lukasmaximus said in BTC 2.0 not powering the basic M5Stack:
@gadjet sorry this was definitely an issue with the description. The btc ticker is not capable of charging the m5 stack.
I wouldn't mind but I bought two of them !!! Oh well back to my 3D printed stand and a big battery.
If you do not have a capacitor available, you can also try to set the "Upload Speed" to 115200 in Arduino IDE.
Of course the uploads are longer, but it did the job for me : i did not have any upload error since
I also installed the latest CP210x Windows driver (v10.1.1 for Windows 10) but i don't think this is necessary
It is a built-in function of PMU. One pressing will only reset the ESP32, double pressing will be treated as power off, so the PMU will directly cut-off the MCU's power. We may supply modifying such functions in the future hardware releases.