Added get modem type methods.
git-svn-id: http://voip.null.ro/svn/yate@1562 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
01fb3a6c3d
commit
89975ef051
|
@ -167,6 +167,13 @@ public:
|
|||
inline bool terminated() const
|
||||
{ return m_terminated; }
|
||||
|
||||
/**
|
||||
* Get the type of this modem
|
||||
* @return The modem type
|
||||
*/
|
||||
inline int type() const
|
||||
{ return m_type; }
|
||||
|
||||
/**
|
||||
* Reset modem to its initial state
|
||||
*/
|
||||
|
@ -276,6 +283,13 @@ public:
|
|||
inline Error error() const
|
||||
{ return m_error; }
|
||||
|
||||
/**
|
||||
* Get the type of this UART's modem
|
||||
* @return The type of this UART's modem
|
||||
*/
|
||||
inline int modemType() const
|
||||
{ return m_modem.type(); }
|
||||
|
||||
/**
|
||||
* Get the data bit accumulator used by this UART
|
||||
* @return The data bit accumulator used by this UART
|
||||
|
|
Loading…
Reference in New Issue