Chapter 4 - Command Mode
Serial Port Baud Rate $SB
The $SB command presets the speed of the modem’s serial
In order for this command to be effective, the modem’s Speed Conversion feature must first be turned off with the $BA command. When Baud Adjust is on, the modem automatically adjusts its serial port baud rate to match the speed of the computer or terminal it is connected to, as soon as it receives its first AT command. However, in many applications, such as automatic answer, the modem may not receive AT commands, in which case it is very useful to be able to preset the serial port baud rate with this $SB command.
In addition to setting the modem’s serial port speed, this command also sets the speed at which the modem issues Command mode responses.
The modem will accept AT commands at any speed, regardless of the speed preset by the $SB command. If the modem receives such a command at a speed that is different than the preset speed, the modem switches its serial port baud rate to match the new AT command speed, although the baud rate value stored by the $SB command remains the same. This provides you with a convenient way to switch the serial port speed, and still make it easy to go back to the original speed automatically the next time the modem is powered up or reset with an ATZ command.
The command to set the Serial Port Baud Rate is AT$SBn, where n can be:
AT$SB300
AT$SB1200 AT$SB2400 AT$SB4800 AT$SB9600 AT$SB19200 AT$SB38400 AT$SB57600 AT$SB115200
=300 bps
=1200 bps
=2400 bps
=4800 bps
=9600 bps
=19,200 bps
=38,400 bps
=57,600 bps
=115,200 bps
The factory default is for 2834 is 57,600 bps.
Note: Some serial ports, particularly those in older
45