Classes | Macros | Typedefs | Enumerations | Functions
xsportinfo.h File Reference
#include "xstypesconfig.h"
#include "pstdint.h"
#include "xsdeviceid.h"
#include "xsbaud.h"
#include "xsstring.h"
#include <stdio.h>
Include dependency graph for xsportinfo.h:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ FTDI_VENDOR_ID

#define FTDI_VENDOR_ID   0x0403

Definition at line 76 of file xsportinfo.h.

◆ XSENS_VENDOR_ID

#define XSENS_VENDOR_ID   0x2639

Definition at line 75 of file xsportinfo.h.

Typedef Documentation

◆ XsPortInfo

typedef struct XsPortInfo XsPortInfo

Definition at line 83 of file xsportinfo.h.

◆ XsPortLinesOptions

Enumeration Type Documentation

◆ 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.

Function Documentation

◆ XsPortInfo_bluetoothAddress()

const XSTYPES_DLL_API char* XsPortInfo_bluetoothAddress ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_clear()

XSTYPES_DLL_API void XsPortInfo_clear ( XsPortInfo thisPtr)
related

◆ XsPortInfo_empty()

XSTYPES_DLL_API int XsPortInfo_empty ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_isBluetooth()

XSTYPES_DLL_API int XsPortInfo_isBluetooth ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_isNetwork()

XSTYPES_DLL_API int XsPortInfo_isNetwork ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_isUsb()

XSTYPES_DLL_API int XsPortInfo_isUsb ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_networkServiceName()

const XSTYPES_DLL_API char* XsPortInfo_networkServiceName ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_portNumber()

XSTYPES_DLL_API int XsPortInfo_portNumber ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_usbAddress()

XSTYPES_DLL_API int XsPortInfo_usbAddress ( XsPortInfo const *  thisPtr)

◆ XsPortInfo_usbBus()

XSTYPES_DLL_API int XsPortInfo_usbBus ( XsPortInfo const *  thisPtr)


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21