4.2 New Features

Version 1.41 has a new feature that allows you to configure the UART parity check and stop bits of the module. The new feature is included by adding more parameters to the already existing SB commands as shown below.

In all firmware versions prior to V1.41, the SB command takes in only one parameter, which is used to define the baud rate between the module and the host.

Starting with V1.41, the SB command will have three additional parameters to set the UART configuration. The command format is as follows:
SB,<H8>,<H8>,<H8>,<H8>
SB,<Baud rate>,<Parity Check enable/disable>,<Parity mode>,<Stop bits>

The options available for each parameter are shown in the tables below:

Table 4-1. UART Baud Rate Settings
SettingBaud Rate
00921600
01460800
02230400
03115200
0457600
0538400
0628800
0719200
0814400
099600
0A4800
0B2400
Table 4-2. UART Parity Check Settings
SettingParity Check
00Disable
01Enable
Table 4-3. UART Parity Mode Settings
SettingMode
00Odd
01Space
02Even
03Mark
Table 4-4. UART Stop Bits
SettingStop Bits
001
012

Default: 03

Examples:
SB,07 // Set the UART baud rate to 19200
SB,04,01,02,00 // Set the UART baud rate to 57600
               // Enable parity check as Even mode
               // Set stop bits to 1 bit
Response:
AOK  // Success
ERR  // Syntax error or invalid parameter