Hello,
I programmed my Esp32 to output RSSI signal strength values to whatever Smartphone it's paired to and connected to through text output lines that update constantly based on what the esp32 is reading and that are sent to whatever App can read them through a Bluetooth Classic connection.
So I'd like to have a Dynamic Spline Chart with Live Data (just like the one bellow in the screenshot bellow) that updates live from either a JSON/Javascript(.js/.mini.js) file or from a CSV file that is constantly updated with the Rssi Signal Strength Values that my Esp32 is sending to my App every second.
Note 1: In the graph screenshot above, it talks about a mode and also I know there is a noise filter named Kalman which can also be used to filter out the scan noise from the RSSI frequencies.
I'd like to know how I can also add these two features into my app and how to.
Resource: The link for that "mode" thing; there's alot of math which I don't understand how to implement: https://en.wikipedia.org/wiki/Mode_(statistics)
Note 2: I'd like the MIT App to calculate the distance at which the phone is detecting the esp32 to be at based on the RSSI output (signal values) that the esp32 is already programmed to send to the phone as text output.
My guess is that I'll have to use the clock for sure and some kind of ecuation that calculates the values and renders them in aproximate distance as I guess the accuray will be off by aprox. 2 meters, based on my tests.
This is a pretty advanced topic for me since I'm a newbie but I'd like to learn if everyone is willing to say what I need to do since I want the graph really bad (because it looks cool) and it's also very useful for my project (but mainly because it looks so cool).
If possible, please give as much details as you can about the graph creation hence I've never done something like this before but if I have the steps I think I can make it work.
Thank you!