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