Fork of the MODSERIAL library by Erik Olieman.
Fork of MODSERIAL by
Diff: MODSERIAL.h
- Revision:
- 29:a469aa702bab
- Parent:
- 27:5f402fed53e2
--- a/MODSERIAL.h Wed Dec 12 07:27:21 2012 +0000 +++ b/MODSERIAL.h Tue Jan 08 13:08:20 2013 +0000 @@ -284,7 +284,7 @@ * @param rx PinName of the TX pin. * @param name An option name for RPC usage. */ - MODSERIAL(PinName tx, PinName rx); + MODSERIAL(PinName tx, PinName rx, const char *name = NULL); /** * The MODSERIAL constructor is used to initialise the serial object. @@ -294,7 +294,7 @@ * @param bufferSize Integer of the TX and RX buffer sizes. * @param name An option name for RPC usage. */ - MODSERIAL(PinName tx, PinName rx, int bufferSize); + MODSERIAL(PinName tx, PinName rx, int bufferSize, const char *name = NULL); /** * The MODSERIAL constructor is used to initialise the serial object. @@ -305,7 +305,7 @@ * @param rxBufferSize Integer of the RX buffer sizes. * @param name An option name for RPC usage. */ - MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize); + MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize, const char *name = NULL); virtual ~MODSERIAL();