Hi ,
I'm currently working measuring the distance in 1dimention from the RSSI value I obtain from the HM10 BLE module ( Basically converting from RSSI to meters ).
After some research , I found out that this equation is the way to go :
d = 10 ^ ((txPowerRssi) / 10n) , where n ranges from 2 to 4
I tried finding out the value of Tx and based on data I'm receiving , the measured power is C5 which is 197 in decimal .
I looked into the data sheet for the HM10 module to find out what value C5 means but I didn't find anything
I also looked at the operating power for the BLE module and it was 0 dBm which is 1mW
so the main 3 questions for anyone who used the RSSI to measure distance or has an idea how to do this are :

what is the txPower in this case ? is 1mW ? or is it mapping 0.015mw(which is the possible operating power for the ble) to 0255 ? or is it something else ?

what is the value of n for this module ?

is there another equation that would result in a better result ?
an answer for any question would really help I already have an idea on how to do Trilateration but I just want to get the main conversion done first
Thanks in advance