base/serial.c
UCHAR* Serial_Get_Rx_Buffer()
{
   if(sqRxMessages.ucMessageCount < SERIAL_QUEUE_RX_SIZE)
   {
      return(sqRxMessages.aucMessages[sqRxMessages.ucHead].aucBuffer);
   }
   return(NULL);

}
////////////////////////////////////////////////////////////////////////////
// Serial_Get_Rx_Buffer
//
// Try to get a free buffer from the transmit buffer.
//
// Return pointer to buffer if successful, NULL otherwise.
// 
////////////////////////////////////////////////////////////////////////////
Serial_Get_Rx_Buffer
Try to get a free buffer from the transmit buffer.

Return pointer to buffer if successful, NULL otherwise.
Serial_Get_Rx_Buffer Try to get a free buffer from the transmit buffer . Return pointer to buffer if successful NULL otherwise .
UCHAR* Serial_Get_Rx_Buffer()
{
   if(sqRxMessages.ucMessageCount < SERIAL_QUEUE_RX_SIZE)
   {
      return(sqRxMessages.aucMessages[sqRxMessages.ucHead].aucBuffer);
   }
   return(NULL);
}
UCHAR * Serial_Get_Rx_Buffer ( ) { if ( sqRxMessages . ucMessageCount < SERIAL_QUEUE_RX_SIZE ) { return ( sqRxMessages . aucMessages [ sqRxMessages . ucHead ] . aucBuffer ) ; } return ( NULL ) ; }
Serial_Get_Rx_Buffer
Try to get a free buffer from the transmit buffer.
Serial_Get_Rx_Buffer Try to get a free buffer from the transmit buffer .