source/serial_driver.cpp
bool SerialPort::transmitBuffer(const char *pBuf)
{
	unsigned long result = 0;
    if(pgUart->writeable())
    {
    	printf("--> %s \r\n", pBuf);
    	result = pgUart->printf("%s\r\n",pBuf);
    	if (!result)
        {
            printf ("Transmit failed !!! \r\n");
        }
    }
    return (bool) result;
}
// (3) Send lenBuf bytes from pBuf over the serial port, returning true, in the case of success.
// Transmit lenBuf characters from pBuf over the serial port.
// Returns TRUE on success, otherwise FALSE.
(3) Send lenBuf bytes from pBuf over the serial port, returning true, in the case of success.
Transmit lenBuf characters from pBuf over the serial port.
Returns TRUE on success, otherwise FALSE.
( 3 ) Send lenBuf bytes from pBuf over the serial port returning true in the case of success . Transmit lenBuf characters from pBuf over the serial port . Returns TRUE on success otherwise FALSE .
bool SerialPort::transmitBuffer(const char *pBuf)
{
	unsigned long result = 0;
    if(pgUart->writeable())
    {
    	printf("--> %s \r\n", pBuf);
    	result = pgUart->printf("%s\r\n",pBuf);
    	if (!result)
        {
            printf ("Transmit failed !!! \r\n");
        }
    }
    return (bool) result;
}
bool SerialPort :: transmitBuffer ( const char * pBuf ) { unsigned long result = 0 ; if ( pgUart -> writeable ( ) ) { printf ( " \r \n " , pBuf ) ; result = pgUart -> printf ( " \r \n " , pBuf ) ; if ( ! result ) { printf ( " \r \n " ) ; } } return ( bool ) result ; }
(3) Send lenBuf bytes from pBuf over the serial port, returning true, in the case of success.
( 3 ) Send lenBuf bytes from pBuf over the serial port returning true in the case of success .