continuously monitor rssi values of multiple specific ble devices

standard8
Posts: 2
Joined: Wed May 17, 2023 3:39 pm

continuously monitor rssi values of multiple specific ble devices

Postby standard8 » Wed May 17, 2023 4:11 pm

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?

MicroController
Posts: 1709
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: continuously monitor rssi values of multiple specific ble devices

Postby MicroController » Thu May 18, 2023 10:07 pm

scanning for multiple ble devices and reading their rssi values.
How does this not solve your problem?

standard8
Posts: 2
Joined: Wed May 17, 2023 3:39 pm

Re: continuously monitor rssi values of multiple specific ble devices

Postby standard8 » Fri May 19, 2023 12:27 pm

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.

MicroController
Posts: 1709
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: continuously monitor rssi values of multiple specific ble devices

Postby MicroController » Sat May 20, 2023 10:31 pm

Are the devices constantly advertising ("general discoverability") or intermittently ("limited discoverability")?

Who is online

Users browsing this forum: No registered users and 89 guests