This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to write simple uart program for sending and receiving data

hello there,

i am using nrf51422 but dont know how to write a program for uart. i want to send AT commands to Quectel M95 using uart . good help appriciated!!

cheers, Abhijeet

  • Yes i have tried to send AT commands manually using putty to EC 25 with usb to serial cable and it worked well.But it doesn't work when i tried to connect nrf51822 with EC25. i have also mailed you my program and gave you my transmission and reception code in below conversation with you. now just tell me about two functions(trans. and receive). can you give me here just simple transmission and reception function code in which transmission function will send "AT" command and receive "OK" response and if i get "OK" it should display "received" string.just give me this simple code it would be great help!!

  • Hi, I have not gotten any PM /mail with a program. If you can send it to me again, I will take a look at it.

Related