How do I configure the modem to automatically detect the DTE rate (serial speed)?

AT+IPR=0 sets automatic detection and the character format is also forced to autodetect, +IFC=0.