take RSSI_OFFSET into account