Page 1 of 1

continuously monitor rssi values of multiple specific ble devices

Posted: Wed May 17, 2023 4:11 pm
by standard8
Hi everyone,
The title (hopefully) says it all. Unfortunately I could not find an example online, only a few using mqtt servers which I can't use in the scope of my project. I can successfully continuously monitor a single ble device or non-continuously, meaning not a stable connection, scanning for multiple ble devices and reading their rssi values. What I want is to get the current rssi values of 3 ble devices with known MAC addresses every 1 to 3 seconds. I am aware that there is a ble multi connect example and ble mesh examples in the official github repo, but I am not sure how to proceed or understand if this could be a solution for my needs. Has anybody managed to get something working in this regard?

Re: continuously monitor rssi values of multiple specific ble devices

Posted: Thu May 18, 2023 10:07 pm
by MicroController
scanning for multiple ble devices and reading their rssi values.
How does this not solve your problem?

Re: continuously monitor rssi values of multiple specific ble devices

Posted: Fri May 19, 2023 12:27 pm
by standard8
because the connection is not stable. sometimes the esp only finds one device and i dont get a rssi reading for several minutes. I need to get a reading of all 3 devices every few seconds.

Re: continuously monitor rssi values of multiple specific ble devices

Posted: Sat May 20, 2023 10:31 pm
by MicroController
Are the devices constantly advertising ("general discoverability") or intermittently ("limited discoverability")?