2020-03-31 11:35 PM
my code to transmite to sim 7000
--> HAL_UART_Transmit(gsm_device.uart, temp, size, 250);
and my code to receive
-->
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
if(huart->Instance == huart1.Instance) {
// receive next character
HAL_UART_Receive_IT(&huart1, &uart_rx_buffer, 1);
}
}