#include "xstypesconfig.h"
#include "pstdint.h"
#include "xsdeviceid.h"
#include "xsbaud.h"
#include "xsstring.h"
#include <stdio.h>
Go to the source code of this file.
Classes | |
class | XsPortInfo |
Contains a descriptor for opening a communication port to an Xsens device. More... | |
Macros | |
#define | FTDI_VENDOR_ID 0x0403 |
#define | XSENS_VENDOR_ID 0x2639 |
Typedefs | |
typedef struct XsPortInfo | XsPortInfo |
typedef enum XsPortLinesOptions | XsPortLinesOptions |
Enumerations | |
enum | XsPortLinesOptions { XPLO_Invalid = 0, XPLO_RTS_Set = 1, XPLO_RTS_Clear = (1 << 1), XPLO_RTS_Ignore = (1 << 2), XPLO_DTR_Set = (1 << 3), XPLO_DTR_Clear = (1 << 4), XPLO_DTR_Ignore = (1 << 5), XPLO_All_Set = XPLO_RTS_Set | XPLO_DTR_Set, XPLO_All_Clear = XPLO_RTS_Clear | XPLO_DTR_Clear, XPLO_All_Ignore = XPLO_RTS_Ignore | XPLO_DTR_Ignore, XPLO_RtsCtsFlowControl = (1 << 6) } |
Functions | |
const XSTYPES_DLL_API char * | XsPortInfo_bluetoothAddress (XsPortInfo const *thisPtr) |
XSTYPES_DLL_API void | XsPortInfo_clear (XsPortInfo *thisPtr) |
XSTYPES_DLL_API int | XsPortInfo_empty (XsPortInfo const *thisPtr) |
XSTYPES_DLL_API int | XsPortInfo_isBluetooth (XsPortInfo const *thisPtr) |
XSTYPES_DLL_API int | XsPortInfo_isNetwork (XsPortInfo const *thisPtr) |
XSTYPES_DLL_API int | XsPortInfo_isUsb (XsPortInfo const *thisPtr) |
const XSTYPES_DLL_API char * | XsPortInfo_networkServiceName (XsPortInfo const *thisPtr) |
XSTYPES_DLL_API int | XsPortInfo_portNumber (XsPortInfo const *thisPtr) |
XSTYPES_DLL_API void | XsPortInfo_swap (XsPortInfo *a, struct XsPortInfo *b) |
Swap the contents of a with those of b. More... | |
XSTYPES_DLL_API int | XsPortInfo_usbAddress (XsPortInfo const *thisPtr) |
XSTYPES_DLL_API int | XsPortInfo_usbBus (XsPortInfo const *thisPtr) |
#define FTDI_VENDOR_ID 0x0403 |
Definition at line 76 of file xsportinfo.h.
#define XSENS_VENDOR_ID 0x2639 |
Definition at line 75 of file xsportinfo.h.
typedef struct XsPortInfo XsPortInfo |
Definition at line 83 of file xsportinfo.h.
typedef enum XsPortLinesOptions XsPortLinesOptions |
enum XsPortLinesOptions |
Enumerator | |
---|---|
XPLO_Invalid | |
XPLO_RTS_Set | |
XPLO_RTS_Clear | |
XPLO_RTS_Ignore | |
XPLO_DTR_Set | |
XPLO_DTR_Clear | |
XPLO_DTR_Ignore | |
XPLO_All_Set | |
XPLO_All_Clear | |
XPLO_All_Ignore | |
XPLO_RtsCtsFlowControl |
Definition at line 109 of file xsportinfo.h.
const XSTYPES_DLL_API char* XsPortInfo_bluetoothAddress | ( | XsPortInfo const * | thisPtr | ) |
|
related |
XSTYPES_DLL_API int XsPortInfo_empty | ( | XsPortInfo const * | thisPtr | ) |
XSTYPES_DLL_API int XsPortInfo_isBluetooth | ( | XsPortInfo const * | thisPtr | ) |
XSTYPES_DLL_API int XsPortInfo_isNetwork | ( | XsPortInfo const * | thisPtr | ) |
XSTYPES_DLL_API int XsPortInfo_isUsb | ( | XsPortInfo const * | thisPtr | ) |
const XSTYPES_DLL_API char* XsPortInfo_networkServiceName | ( | XsPortInfo const * | thisPtr | ) |
XSTYPES_DLL_API int XsPortInfo_portNumber | ( | XsPortInfo const * | thisPtr | ) |
XSTYPES_DLL_API int XsPortInfo_usbAddress | ( | XsPortInfo const * | thisPtr | ) |
XSTYPES_DLL_API int XsPortInfo_usbBus | ( | XsPortInfo const * | thisPtr | ) |