Calculates the distance to the device in meters
the distance to the device in meters
the constant to account for environmental interference. Should usually range between 2.0 and 4.0