Replaced assert, with value clamping when sending level to base station.