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
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
Hi,
I recommend that you take a look at the UART example in the SDK.
You can find the source code and the project file of the example in the following folder: <SDK_InstallFolder>\examples\peripheral\uart
.
You can download the SDK 12.3 here.
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!!
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!!