Enabling And Configuring The Uart - Globalstar ST150M User Manual

Hide thumbs Also See for ST150M:
Table of Contents

Advertisement

9150-0125-01 R-1

7.13 ENABLING AND CONFIGURING THE UART:

Use the following command to configure the UART:
AT+UART2PROP=<is_enabled>,[<tx_gpio_key>,<rx_gpio_key>,<baud_rate_enum>] This is the baud rate enumeration:
typedef enum
{
GHAL_UART2_BAUD_1200 = 0,
GHAL_UART2_BAUD_2400,
GHAL_UART2_BAUD_4800,
GHAL_UART2_BAUD_9600,
GHAL_UART2_BAUD_14400,
GHAL_UART2_BAUD_19200,
GHAL_UART2_BAUD_28800,
GHAL_UART2_BAUD_31250, GHAL_UART2_BAUD_38400, GHAL_UART2_BAUD_56000,
GHAL_UART2_BAUD_57600,
GHAL_UART2_BAUD_76800,
GHAL_UART2_BAUD_115200, GHAL_UART2_BAUD_230400, GHAL_UART2_BAUD_250000, GHAL_UART2_
BAUD_460800,
GHAL_UART2_BAUD_921600,
GHAL_UART2_BAUD_1000000,
} ghal_uart2_baud_t;
Use "AT+UART2PROP?" To query the configuration.
Here is a query showing the factory default configuration for the ST150 Module. Note that the UART is enabled by default.
Default baud rate is 9600 baud.
AT+UART2PROP?
+UART2PROP:1,6,4,3
OK
ST150M User Manual
Confidential & Proprietary Information
42

Advertisement

Table of Contents
loading

Table of Contents