Imaka
May 19, 2006, 8:13am
1
Hi.
I like to change the baud rate in my OpenAt program program (9600 and 115200) at UART1.
Im using the next command:
adl_atCmdCreate(“AT+IPR=9600”,ADL_AT_PORT_TYPE( ADL_AT_UART1, FALSE ),Res_Baud_Handler,"*",NULL);
but neither in my program, and neither after the end of my program, the baud rate still 115200!
After my program:
at+ipr?
+IPR: 9600
(in 115200 baud)
and if i write the AT+IPR=9600 (in HyperTerminal), the modem change the baud rate in 9600.
(mysytem: Q2406B, AT v03.02)
Any idea ?
Imaka
May 22, 2006, 10:42am
2
ok.
Must close the uart1 before IPR command
adl_atCmdCreate(“AT+WMFM=0,0,1”,ADL_AT_PORT_TYPE( ADL_AT_UART1, FALSE ),Res_Handler1,"*",NULL);
adl_atCmdCreate(“AT+IPR=9600”,ADL_AT_PORT_TYPE( ADL_AT_UART1, FALSE ),Res_Handler2,"*",NULL);
adl_atCmdCreate(“AT+WMFM=0,1,1”,ADL_AT_PORT_TYPE( ADL_AT_UART1, FALSE ),Res_Handler3,"*",NULL);
im
dezzer
September 18, 2006, 2:56pm
3
I have the same problem. But when I’m trying to send “AT+WMFM” command modem responds with “+CME ERROR: 3” (Operation not allowed). What should I do to fix it?