RSSI Distance Calculator Implementation in C