Programming Manual

23 / 139
i480e&i480e-MD2 Programming Manual
4.14
UART
The UART command is used to set serial communication parameters of the
modules UART controller.
Command
AT+B UART [baud],[ stop],[ parity]
Response
Succeeded: AT-B UART 0
Otherwise: AT-B UART 1
Parameters
baud
Supported baud rate: 9600, 19200, 38400, 57600,
115200, 230400, 460800, 921600, and 1382400.
stop
0: 1bit stop bit;
1: 2 bit stop bit.
parity
0: No checksum;
1: Odd checksum;
2: Even checksum.
Note
N/A
4.15
SCOD
This command is used to set class of device of the local device to the supplied
value.
Command
AT+B SCOD [cod]
Response
Succeeded: AT-B SCOD 0
Otherwise: AT-B SCOD 1
Parameter
s
cod
Class of device, ASCII code characters.
Note
Firmware’s default COD is not HID devices. Therefore, if HID profile is
enabled, it needs to set the module’s COD to Peripheral (mouse,
joystick, keyboard, ... ) since some mobile phones may refuse to
the DFU mode.
Barrot Confidential