# Change BaudRate in a OpenAt program

**URL:** <https://forum.sierrawireless.com/t/change-baudrate-in-a-openat-program/461>\
**Category:** General\
**Created:** [May 19, 2006, 8:13am UTC](https://forum.sierrawireless.com/t/change-baudrate-in-a-openat-program/461 "2006-05-19T08:13:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Imaka](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@Imaka](https://forum.sierrawireless.com/u/Imaka)\
**Post date:** [May 19, 2006, 8:13am UTC](https://forum.sierrawireless.com/t/change-baudrate-in-a-openat-program/461/1 "2006-05-19T08:13:01Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Imaka](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@Imaka](https://forum.sierrawireless.com/u/Imaka)\
**Post date:** [May 22, 2006, 10:42am UTC](https://forum.sierrawireless.com/t/change-baudrate-in-a-openat-program/461/2 "2006-05-22T10:42:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dezzer](https://avatars.discourse-cdn.com/v4/letter/d/c0e974/32.png) [@dezzer](https://forum.sierrawireless.com/u/dezzer)\
**Post date:** [September 18, 2006, 2:56pm UTC](https://forum.sierrawireless.com/t/change-baudrate-in-a-openat-program/461/3 "2006-09-18T14:56:39Z")

</div>

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?
