Question
How to stop receive data in this code? or How to stop a get char? I used Interrupt to scan WiFi Information. I need only SSID. To input a buffer (Ring or FIFO) but it keeps bringing inform.
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
if(huart->Instance == USART2)
{
RX_Data[Rx_Index] = RXD;
Rx_Index++;
HAL_UART_Receive_IT(&UART2_WIFI,&RXD,1);
}
}