2025-02-01 7:17 AM
Hello,
trying to send array below. The '0x00' part is not received in terminal, see image below.
char binary_data[] = {0x01, 0x02, 0xAB, 0x00, 0xCD};
HAL_UART_Transmit(&huart5, binary_data, sizeof(binary_data), HAL_MAX_DELAY);
How can I get this to work?
Solved! Go to Solution.
2025-02-01 7:32 AM
Change the terminal emulator program. The data is received, then ignored by your terminal.
2025-02-01 7:32 AM
Change the terminal emulator program. The data is received, then ignored by your terminal.
2025-02-13 9:14 PM
Thanks gbm, it was indeed the Terminal program. Did not help that my intital data transfer was wrong so the GPS did not accept the message.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.