|
MagAO-X
|
||||
|
Error numbers for the tty utilities. More...

Go to the source code of this file.
Namespaces | |
| MagAOX | |
| MagAOX::tty | |
Macros | |
| #define | TTY_E_NOERROR (0) |
| #define | TTY_E_TCGETATTR (-42001) |
| #define | TTY_E_SETISPEED (-42002) |
| #define | TTY_E_SETOSPEED (-42003) |
| #define | TTY_E_TCSETATTR (-42004) |
| #define | TTY_E_TIMEOUTONWRITEPOLL (-42011) |
| #define | TTY_E_ERRORONWRITEPOLL (-42012) |
| #define | TTY_E_ERRORONWRITE (-42013) |
| #define | TTY_E_TIMEOUTONWRITE (-42014) |
| #define | TTY_E_TIMEOUTONREADPOLL (-42015) |
| #define | TTY_E_ERRORONREADPOLL (-42016) |
| #define | TTY_E_ERRORONREAD (-42017) |
| #define | TTY_E_TIMEOUTONREAD (-42018) |
| #define | TTY_E_NODEVNAMES (-42021) |
| #define | TTY_E_UDEVNEWFAILED (-42022) |
| #define | TTY_E_DEVNOTFOUND (-42023) |
| #define | TTY_E_BADBAUDRATE (-42030) |
| #define | TELNET_E_GETADDR (-42040) |
| #define | TELNET_E_SOCKET (-42041) |
| #define | TELNET_E_BIND (-42042) |
| #define | TELNET_E_CONNECT (-42043) |
| #define | TELNET_E_TELNETINIT (-42044) |
| #define | TELNET_E_EHERROR (-42045) |
Functions | |
| std::string | MagAOX::tty::ttyErrorString (int ec) |
| Get a text explanation of a TTY_E_ error code. More... | |
Error numbers for the tty utilities.
History:
Definition in file ttyErrors.hpp.
| #define TELNET_E_BIND (-42042) |
Definition at line 33 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::connect(), and MagAOX::tty::ttyErrorString().
| #define TELNET_E_CONNECT (-42043) |
Definition at line 34 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::connect(), and MagAOX::tty::ttyErrorString().
| #define TELNET_E_EHERROR (-42045) |
Definition at line 36 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::event_handler(), and MagAOX::tty::ttyErrorString().
| #define TELNET_E_GETADDR (-42040) |
Definition at line 31 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::connect(), and MagAOX::tty::ttyErrorString().
| #define TELNET_E_SOCKET (-42041) |
Definition at line 32 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::connect(), and MagAOX::tty::ttyErrorString().
| #define TELNET_E_TELNETINIT (-42044) |
Definition at line 35 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::connect(), and MagAOX::tty::ttyErrorString().
| #define TTY_E_BADBAUDRATE (-42030) |
Definition at line 29 of file ttyErrors.hpp.
Referenced by MagAOX::tty::usbDevice::loadConfig(), and MagAOX::tty::ttyErrorString().
| #define TTY_E_DEVNOTFOUND (-42023) |
Definition at line 28 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyUSBDevName().
| #define TTY_E_ERRORONREAD (-42017) |
Definition at line 24 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::login(), MagAOX::tty::telnetConn::read(), MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyRead(), MagAOX::tty::ttyWriteRead(), and MagAOX::tty::telnetConn::writeRead().
| #define TTY_E_ERRORONREADPOLL (-42016) |
Definition at line 23 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::read(), MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyRead(), MagAOX::tty::ttyWriteRead(), and MagAOX::tty::telnetConn::writeRead().
| #define TTY_E_ERRORONWRITE (-42013) |
Definition at line 20 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::send(), MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyWrite().
| #define TTY_E_ERRORONWRITEPOLL (-42012) |
Definition at line 19 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyWrite(), and MagAOX::tty::telnetConn::write().
| #define TTY_E_NODEVNAMES (-42021) |
Definition at line 26 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyUSBDevName().
| #define TTY_E_NOERROR (0) |
Definition at line 13 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::connect(), MagAOX::tty::telnetConn::login(), MagAOX::tty::telnetConn::noLogin(), MagAOX::tty::telnetConn::read(), MagAOX::tty::telnetConn::send(), MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyOpenRaw(), MagAOX::tty::ttyRead(), MagAOX::tty::ttyUSBDevName(), MagAOX::tty::ttyWrite(), MagAOX::tty::ttyWriteRead(), MagAOX::tty::telnetConn::write(), and MagAOX::tty::telnetConn::writeRead().
| #define TTY_E_SETISPEED (-42002) |
Definition at line 15 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyOpenRaw().
| #define TTY_E_SETOSPEED (-42003) |
Definition at line 16 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyOpenRaw().
| #define TTY_E_TCGETATTR (-42001) |
Definition at line 14 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyOpenRaw().
| #define TTY_E_TCSETATTR (-42004) |
Definition at line 17 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyOpenRaw().
| #define TTY_E_TIMEOUTONREAD (-42018) |
Definition at line 25 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::read(), MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyRead(), MagAOX::tty::ttyWriteRead(), and MagAOX::tty::telnetConn::writeRead().
| #define TTY_E_TIMEOUTONREADPOLL (-42015) |
Definition at line 22 of file ttyErrors.hpp.
Referenced by MagAOX::tty::telnetConn::read(), MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyRead(), MagAOX::tty::ttyWriteRead(), and MagAOX::tty::telnetConn::writeRead().
| #define TTY_E_TIMEOUTONWRITE (-42014) |
Definition at line 21 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyWrite(), and MagAOX::tty::telnetConn::write().
| #define TTY_E_TIMEOUTONWRITEPOLL (-42011) |
Definition at line 18 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), MagAOX::tty::ttyWrite(), and MagAOX::tty::telnetConn::write().
| #define TTY_E_UDEVNEWFAILED (-42022) |
Definition at line 27 of file ttyErrors.hpp.
Referenced by MagAOX::tty::ttyErrorString(), and MagAOX::tty::ttyUSBDevName().