I use wifi and would like to convert RSSI to meaningful percentages. I was considering a MAP conversion. Could something like this be done within RSSI wifi?
My idea for RSSI to a percentage:
If this is done that way and the input might become lesser as fromLow or higher as fromHigh, values below 0% or above 100% would occur. If this might happen and is not intended, you could limit the input data before you hand them over to map() (or adjust the limits in map() alternatively).
A valid question with regard to meaningful in the first post
I skipped this word and just interpreted the task as to convert a certain part of the dBm scale to a scale between 100% and 0%. That could be useful to display the RSSI values with a graph bar where you stick to the scaling of dBm as they are.
That would not change the sense/impact of dBm data, so: Is there any other intention of creating "meaningful" data here than just convert them into a 100% scale?