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

Go to the source code of this file.

Classes

class  XsDeviceId
 Contains an Xsens device ID and provides operations for determining the type of device. More...
 

Macros

#define XSDEVICEID_INITIALIZER   { 0, XSDEVICEID_PRODUCT_CODE_INIT, 0, 0, 0 }
 
#define XSDEVICEID_PRODUCT_CODE_INIT   "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
 
#define XSDEVICEID_PRODUCT_CODE_LEN   24
 

Typedefs

typedef struct XsDeviceId XsDeviceId
 

Functions

XSTYPES_DLL_API int XsDeviceId_contains (struct XsDeviceId const *a, struct XsDeviceId const *b)
 
XSTYPES_DLL_API void XsDeviceId_deviceType (struct XsDeviceId const *thisPtr, int detailed, struct XsDeviceId *type)
 Returns the device type identified by this id (eg 10, 300 and Awinda2 Master) More...
 
XSTYPES_DLL_API void XsDeviceId_deviceTypeMask (struct XsDeviceId const *thisPtr, int detailed, struct XsDeviceId *type)
 Returns the mask which can be used to get the detailed device type (eg 10, 300 and Awinda2 Master) More...
 
XSTYPES_DLL_API void XsDeviceId_fromDeviceTypeString (struct XsDeviceId *thisPtr, XsString const *str)
 Read a device ID from the supplied string. More...
 
XSTYPES_DLL_API void XsDeviceId_fromString (struct XsDeviceId *thisPtr, XsString const *str)
 Read a device ID from the supplied string. More...
 
XSTYPES_DLL_API int XsDeviceId_hasInternalGnss (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a device with internal GNSS receiver. More...
 
XSTYPES_DLL_API int XsDeviceId_isAhrs (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an AHRS. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwinda2 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda2 device. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwinda2Dongle (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda2 Dongle. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwinda2Oem (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda2 OEM board. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwinda2Station (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda2 Station. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwindaX (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda device. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwindaXDongle (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda Dongle. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwindaXOem (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda OEM board. More...
 
XSTYPES_DLL_API int XsDeviceId_isAwindaXStation (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Awinda Station. More...
 
XSTYPES_DLL_API int XsDeviceId_isBodyPack (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a bodypack (any version) device. More...
 
XSTYPES_DLL_API int XsDeviceId_isBodyPackV1 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a bodypack V1 device. More...
 
XSTYPES_DLL_API int XsDeviceId_isBodyPackV2 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a bodypack V2 device. More...
 
XSTYPES_DLL_API int XsDeviceId_isContainerDevice (struct XsDeviceId const *thisPtr)
 Test if this device ID represents any of the container devices such as Bodypack and Awinda Station. More...
 
XSTYPES_DLL_API int XsDeviceId_isDot (struct XsDeviceId const *thisPtr)
 Test if the device ID represents a Dot series device. More...
 
XSTYPES_DLL_API int XsDeviceId_isGlove (struct XsDeviceId const *thisPtr)
 Test if the device ID represents a Glove series device. More...
 
XSTYPES_DLL_API int XsDeviceId_isGnss (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an GNSS (capable) device. More...
 
XSTYPES_DLL_API int XsDeviceId_isHilDevice (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a Hardware In the Loop test device. More...
 
XSTYPES_DLL_API int XsDeviceId_isImu (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an IMU. More...
 
XSTYPES_DLL_API int XsDeviceId_isLegacyDeviceId (struct XsDeviceId const *thisPtr)
 Test if the device ID represents a legacy device identification. More...
 
XSTYPES_DLL_API int XsDeviceId_isMt (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MT device (any Mti, Mtig, Mtx or Mtw) More...
 
XSTYPES_DLL_API int XsDeviceId_isMti (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTi device (1, 10 or 100 series, 1 includes MTi-7) More...
 
XSTYPES_DLL_API int XsDeviceId_isMti3X0 (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an MTi-3X0 device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMti6X0 (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an MTi-600 series device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMti8X0 (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an MTi-800 series device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtig (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTig device (700 or 710 series) More...
 
XSTYPES_DLL_API int XsDeviceId_isMtigX00 (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an Mtig 700 device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtigX10 (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an Mtig 710 device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtiX (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an Mti 1-series device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtiX0 (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an Mti 10-series device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtiX00 (struct XsDeviceId const *thisPtr)
 Test if the device ID represents an Mti 100-series device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMark4 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Mk4 generation MT device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMark5 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Mk5 generation MT device. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_1 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 1. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_10 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 10. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_100 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 100. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_2 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 2. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_20 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 20. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_200 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 200. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_3 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 3. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_30 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 30. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_300 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 300. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_400 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 400. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_500 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 500. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_600 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 600. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_7 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 7. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_700 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 700. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_710 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents either an MTMk4 710 or Mk5 710. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_800 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 800. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_900 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 900. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_X (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 1 series. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_X0 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 10 series. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk4_X00 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk4 100 series (including 700 and 710) More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_10 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 10. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_100 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 100. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_20 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 20. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_200 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 200. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_30 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 30. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_300 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 300. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_710 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 710. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_X0 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 10 series. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtMk5_X00 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTMk5 100 series. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtw (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTw. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtw2 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTw2. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtx (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTx. More...
 
XSTYPES_DLL_API int XsDeviceId_isMtx2 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an MTx2. More...
 
XSTYPES_DLL_API int XsDeviceId_isRtk (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an RTK (capable) device. More...
 
XSTYPES_DLL_API int XsDeviceId_isRugged (struct XsDeviceId const *thisPtr)
 Test if this device ID represents an Rugged Version. More...
 
XSTYPES_DLL_API int XsDeviceId_isSyncStation2 (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a SyncStation v2. More...
 
XSTYPES_DLL_API int XsDeviceId_isSyncStationX (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a SyncStation. More...
 
XSTYPES_DLL_API int XsDeviceId_isType (struct XsDeviceId const *thisPtr)
 
XSTYPES_DLL_API int XsDeviceId_isValid (struct XsDeviceId const *thisPtr)
 Test if the device ID is a valid id (not 0). More...
 
XSTYPES_DLL_API int XsDeviceId_isVru (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a VRU. More...
 
XSTYPES_DLL_API int XsDeviceId_isWirelessMaster (struct XsDeviceId const *thisPtr)
 Test if this device ID represents a Wireless Master device (Awinda Station, Awinda Dongle, Awinda OEM) More...
 
XSTYPES_DLL_API uint64_t XsDeviceId_legacyBit (struct XsDeviceId const *thisPtr)
 
XSTYPES_DLL_API XsHandId XsDeviceId_side (struct XsDeviceId const *thisPtr)
 Return the side the device should be worn on. More...
 
XSTYPES_DLL_API void XsDeviceId_swap (struct XsDeviceId *a, struct XsDeviceId *b)
 Swap the contents of a with those of b. More...
 
XSTYPES_DLL_API void XsDeviceId_toDeviceTypeString (struct XsDeviceId const *thisPtr, XsString *str, int makeType)
 
XSTYPES_DLL_API void XsDeviceId_toString (struct XsDeviceId const *thisPtr, XsString *str)
 
XSTYPES_DLL_API void XsDeviceId_type (struct XsDeviceId const *thisPtr, struct XsDeviceId *type)
 Returns the type of device identified by this id. More...
 
XSTYPES_DLL_API void XsDeviceId_typeName (struct XsDeviceId const *thisPtr, XsString *str)
 

Macro Definition Documentation

◆ XSDEVICEID_INITIALIZER

#define XSDEVICEID_INITIALIZER   { 0, XSDEVICEID_PRODUCT_CODE_INIT, 0, 0, 0 }

Definition at line 81 of file xsdeviceid.h.

◆ XSDEVICEID_PRODUCT_CODE_INIT

#define XSDEVICEID_PRODUCT_CODE_INIT   "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"

Definition at line 78 of file xsdeviceid.h.

◆ XSDEVICEID_PRODUCT_CODE_LEN

#define XSDEVICEID_PRODUCT_CODE_LEN   24

Definition at line 77 of file xsdeviceid.h.

Typedef Documentation

◆ XsDeviceId

typedef struct XsDeviceId XsDeviceId

Definition at line 912 of file xsdeviceid.h.

Function Documentation

◆ XsDeviceId_contains()

XSTYPES_DLL_API int XsDeviceId_contains ( struct XsDeviceId const *  a,
struct XsDeviceId const *  b 
)

◆ XsDeviceId_isType()

XSTYPES_DLL_API int XsDeviceId_isType ( struct XsDeviceId const *  thisPtr)

◆ XsDeviceId_toDeviceTypeString()

XSTYPES_DLL_API void XsDeviceId_toDeviceTypeString ( struct XsDeviceId const *  thisPtr,
XsString str,
int  makeType 
)

◆ XsDeviceId_toString()

XSTYPES_DLL_API void XsDeviceId_toString ( struct XsDeviceId const *  thisPtr,
XsString str 
)

◆ XsDeviceId_typeName()

XSTYPES_DLL_API void XsDeviceId_typeName ( struct XsDeviceId const *  thisPtr,
XsString str 
)


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