How to get the rssi from BLE scan

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: How to get the rssi from BLE scan

Postby kolban » Fri Mar 24, 2017 3:08 pm

The formal docs can be found here:

http://esp-idf.readthedocs.io/en/latest/

A free book is available here:

https://leanpub.com/kolban-ESP32

There are some good resources on YouTube ... see:

https://www.youtube.com/playlist?list=P ... poUUE7QMOo

and

https://www.youtube.com/playlist?list=P ... Kt6wQhzsjU

For a serial monitor, the ESP-IDF build system has one built in ... run:

make monitor
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

neilyoung
Posts: 12
Joined: Fri Mar 03, 2017 8:12 pm

Re: How to get the rssi from BLE scan

Postby neilyoung » Fri Mar 24, 2017 4:10 pm

If you issue "make monitor" or even "make flash monitor" then the internal ESP-IDF monitor is launched.

bombix
Posts: 12
Joined: Fri Jan 20, 2017 12:56 pm

Re: How to get the rssi from BLE scan

Postby bombix » Mon Mar 27, 2017 4:22 pm

The scanner is very selective, it only found one estimote beacon that i have.
It completely ignore a beacon of a hm-10 and others that i detect but arent mine.

neilyoung
Posts: 12
Joined: Fri Mar 03, 2017 8:12 pm

Re: How to get the rssi from BLE scan

Postby neilyoung » Mon Mar 27, 2017 4:38 pm

@bombix: In other words: You can forget about. There are enough well working alternatives around which surly blame the ESP32 for the fails. What setup do you have? What development board?

Here is some more information on all the glitches in conjunction with BLE I found so far. For me the ESP 32 would be a wrong choice currently.

https://github.com/espressif/esp-idf/issues/449
https://github.com/espressif/esp-idf/issues/421

bombix
Posts: 12
Joined: Fri Jan 20, 2017 12:56 pm

Re: How to get the rssi from BLE scan

Postby bombix » Mon Mar 27, 2017 4:41 pm

Meaning i detect in the cellphone not the esp.

Im very happy i finally runned something in my esp :)
Have you tried keeping a connection with a cell phone and sending the scan results to it?
Thanks for all the help.

Who is online

Users browsing this forum: No registered users and 66 guests