Set baurate via adl_atcmdCreate?


#1

hi all!
i need to change the baurate of UART1 port over gprs, i use adl_atCmdCreate(“at+ipr=9600”,…) but it’s seem does not effect. i don’t see any parameter to specify which port to set baurate value?, so how can i do it?
thanks very much.


#2

Give full details of parameters … sending

Also check the return value of adl_atcmdcreate() function.


#3

And also check the response of the AT Command


#4

i’ve found that i set the rspFlag wrong. i set it to FALSE because i remember that the flag for response message setting only, but the port use in ADL_AT_PORT_TYPE also is the port which command will be sent, so i change the rspFlag to “ADL_AT_PORT_TYPE(ADL_PORT_UART1,FALSE)” and it works well now.
thanks you very much.