Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi to all. when i write "AT" in serial port.it gives response "OK". I am using Serialpor.ReadLine() method to read the response "OK".But when i print the response in a messagebox , it shows as "AT" only. how can i read only the response "OK" from the serial port. please help me.................. urgent............
Posted
Updated 19-Mar-10 2:02am
v2

1 solution

It's possible that a response can have multiple lines of text. Have you tried calling ReadLine more than once?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900