Hi,
I'm working with simpleCentral with some changes and I would like to implement a UART to communicate from time to time with a SIM module (SIM808) to send a SMS, for that I need to send "AT" commands and verify the answer. Do you know if can implement that with normal UART?
static UART_Handle uart1;
static UART_Params uartParams;
.
.
.
/* Create a UART with data processing off. */
UART_Params_init(&uartParams);
uartParams.stopBits = UART_STOP_ONE;
uartParams.writeDataMode = UART_DATA_BINARY;
uartParams.readDataMode = UART_DATA_BINARY;
uartParams.readReturnMode = UART_RETURN_FULL;
uartParams.readEcho = UART_ECHO_OFF;
uartParams.baudRate = 9600; //Baudrate mais adequado
uart1 = UART_open(Board_UART0, &uartParams);
if (uart1 == NULL) {
System_printf("Error opening UART\n");
}
If can be possible, what I need to do?
Thank you,
Miguel Vieira