Yes I continuously get -1 instead of the correct value. I mean sometimes I have correct value and sometimes -1.
I have not used Carriage Return or Linefeed, in fact I don't know what they are .
Sending to serial port I see again -1 in between the correct values.