Fixed type in RSSI function for iOS