new connection interface
This commit is contained in:
@@ -1,4 +1,24 @@
|
||||
#ifndef CANCONCONST_H
|
||||
#define CANCONCONST_H
|
||||
|
||||
namespace CANCon {
|
||||
|
||||
/**
|
||||
* @brief The status enum
|
||||
*/
|
||||
enum status
|
||||
{
|
||||
NOT_CONNECTED, /*!< device is not connected */
|
||||
CONNECTED /*!< device is connected */
|
||||
};
|
||||
|
||||
enum type
|
||||
{
|
||||
GVRET_SERIAL,
|
||||
KVASER,
|
||||
SOCKETCAN,
|
||||
NONE
|
||||
};
|
||||
}
|
||||
|
||||
#endif // CANCONCONST_H
|
||||
|
||||
Reference in New Issue
Block a user