Check a value received by Bluetooth

What was wrong with the answers at