I created now two things:
I send a AT Command to UART via: LPUART_WriteBlocking(DEMO_LPUART, "AT\r\n", sizeof("AT\r\n")-1);
when I do the same with a function like this:
void uart_esp12_send_command (char* esp_command)
{
LPUART_WriteBlocking(DEMO_LPUART, esp_command, sizeof(esp_command)-1);
}
and then
uart_esp12_send_command ("AT-Command");
I only get with the function three letters displayed on the Serial Consol, but the normal Command ( LPUART_WriteBlocking(DEMO_LPUART, "AT\r\n", sizeof("AT\r\n")-1)) gives back the full entered string.
How can I change this? I need to change the data type.
How could I receive data strings with: LPUART_ReadBlocking(LPUART_Type *base, uint8_t *data, size_t length);??