/* Wait end of transfer and check if received Data are well.  */
void WaitAndCheckEndOfTransfer(void)
/* Wait end of transfer and check if received Data are well.  */
void WaitAndCheckEndOfTransfer(void)
{
  while (ubTransmissionComplete != 1)
  {
  }
  LL_DMA_DisableStream(DMA1, LL_DMA_STREAM_6);
  while (ubReceptionComplete != 1)
  {
  }
  LL_DMA_DisableStream(DMA1, LL_DMA_STREAM_7);
  if(Buffercmp8((uint8_t*)aStringToReceive, (uint8_t*)aRxBuffer, ubNbDataToReceive))
  {
    LED_Blinking(LED_BLINK_ERROR);    
  }
  else
  {
    LED_On();
  }
}