iCub-main
Classes | Macros
MTComm.h File Reference
#include <string.h>
#include <stdio.h>
#include <time.h>
#include <fcntl.h>
#include <termios.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/stat.h>
+ Include dependency graph for MTComm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMTComm
 

Macros

#define INVALID_SET_FILE_POINTER   ((DWORD)(-1))
 
#define IND_PREAMBLE   0
 
#define IND_BID   1
 
#define IND_MID   2
 
#define IND_LEN   3
 
#define IND_DATA0   4
 
#define IND_LENEXTH   4
 
#define IND_LENEXTL   5
 
#define IND_DATAEXT0   6
 
#define MAXDEVICES   20
 
#define PREAMBLE   (const unsigned char)0xFA
 
#define BID_MASTER   (const unsigned char)0xFF
 
#define BID_MT   (const unsigned char)0x01
 
#define EXTLENCODE   0xFF
 
#define LEN_MSGHEADER   (const unsigned short)4
 
#define LEN_MSGEXTHEADER   (const unsigned short)6
 
#define LEN_MSGHEADERCS   (const unsigned short)5
 
#define LEN_MSGEXTHEADERCS   (const unsigned short)7
 
#define LEN_CHECKSUM   (const unsigned short)1
 
#define LEN_UNSIGSHORT   (const unsigned short)2
 
#define LEN_UNSIGINT   (const unsigned short)4
 
#define LEN_FLOAT   (const unsigned short)4
 
#define MAXDATALEN   (const unsigned short)2048
 
#define MAXSHORTDATALEN   (const unsigned short)254
 
#define MAXMSGLEN   (const unsigned short)(MAXDATALEN+7)
 
#define MAXSHORTMSGLEN   (const unsigned short)(MAXSHORTDATALEN+5)
 
#define DID_TYPEH_MASK   (const unsigned long)0x00F00000
 
#define DID_TYPEH_MT   (const unsigned long)0x00000000
 
#define DID_TYPEH_XM   (const unsigned long)0x00100000
 
#define DID_TYPEH_MTI_MTX   (const unsigned long)0x00300000
 
#define MID_WAKEUP   (const unsigned char)0x3E
 
#define MID_WAKEUPACK   (const unsigned char)0x3F
 
#define MID_REQDID   (const unsigned char)0x00
 
#define MID_DEVICEID   (const unsigned char)0x01
 
#define LEN_DEVICEID   (const unsigned short)4
 
#define MID_INITBUS   (const unsigned char)0x02
 
#define MID_INITBUSRESULTS   (const unsigned char)0x03
 
#define LEN_INITBUSRESULTS   (const unsigned short)4
 
#define MID_REQPERIOD   (const unsigned char)0x04
 
#define MID_REQPERIODACK   (const unsigned char)0x05
 
#define LEN_PERIOD   (const unsigned short)2
 
#define MID_SETPERIOD   (const unsigned char)0x04
 
#define MID_SETPERIODACK   (const unsigned char)0x05
 
#define MID_SETBID   (const unsigned char)0x06
 
#define MID_SETBIDACK   (const unsigned char)0x07
 
#define MID_AUTOSTART   (const unsigned char)0x06
 
#define MID_AUTOSTARTACK   (const unsigned char)0x07
 
#define MID_BUSPWROFF   (const unsigned char)0x08
 
#define MID_BUSPWROFFACK   (const unsigned char)0x09
 
#define MID_REQDATALENGTH   (const unsigned char)0x0A
 
#define MID_DATALENGTH   (const unsigned char)0x0B
 
#define LEN_DATALENGTH   (const unsigned short)2
 
#define MID_REQCONFIGURATION   (const unsigned char)0x0C
 
#define MID_CONFIGURATION   (const unsigned char)0x0D
 
#define LEN_CONFIGURATION   (const unsigned short)118
 
#define MID_RESTOREFACTORYDEF   (const unsigned char)0x0E
 
#define MID_RESTOREFACTORYDEFACK   (const unsigned char)0x0F
 
#define MID_GOTOMEASUREMENT   (const unsigned char)0x10
 
#define MID_GOTOMEASUREMENTACK   (const unsigned char)0x11
 
#define MID_REQFWREV   (const unsigned char)0x12
 
#define MID_FIRMWAREREV   (const unsigned char)0x13
 
#define LEN_FIRMWAREREV   (const unsigned short)3
 
#define MID_REQBTDISABLE   (const unsigned char)0x14
 
#define MID_REQBTDISABLEACK   (const unsigned char)0x15
 
#define MID_DISABLEBT   (const unsigned char)0x14
 
#define MID_DISABLEBTACK   (const unsigned char)0x15
 
#define MID_REQOPMODE   (const unsigned char)0x16
 
#define MID_REQOPMODEACK   (const unsigned char)0x17
 
#define MID_SETOPMODE   (const unsigned char)0x16
 
#define MID_SETOPMODEACK   (const unsigned char)0x17
 
#define MID_REQBAUDRATE   (const unsigned char)0x18
 
#define MID_REQBAUDRATEACK   (const unsigned char)0x19
 
#define LEN_BAUDRATE   (const unsigned short)1
 
#define MID_SETBAUDRATE   (const unsigned char)0x18
 
#define MID_SETBAUDRATEACK   (const unsigned char)0x19
 
#define MID_REQSYNCMODE   (const unsigned char)0x1A
 
#define MID_REQSYNCMODEACK   (const unsigned char)0x1B
 
#define MID_SETSYNCMODE   (const unsigned char)0x1A
 
#define MID_SETSYNCMODEACK   (const unsigned char)0x1B
 
#define MID_REQPRODUCTCODE   (const unsigned char)0x1C
 
#define MID_PRODUCTCODE   (const unsigned char)0x1D
 
#define MID_REQOUTPUTMODE   (const unsigned char)0xD0
 
#define MID_REQOUTPUTMODEACK   (const unsigned char)0xD1
 
#define LEN_OUTPUTMODE   (const unsigned short)2
 
#define MID_SETOUTPUTMODE   (const unsigned char)0xD0
 
#define MID_SETOUTPUTMODEACK   (const unsigned char)0xD1
 
#define MID_REQOUTPUTSETTINGS   (const unsigned char)0xD2
 
#define MID_REQOUTPUTSETTINGSACK   (const unsigned char)0xD3
 
#define LEN_OUTPUTSETTINGS   (const unsigned short)4
 
#define MID_SETOUTPUTSETTINGS   (const unsigned char)0xD2
 
#define MID_SETOUTPUTSETTINGSACK   (const unsigned char)0xD3
 
#define MID_REQOUTPUTSKIPFACTOR   (const unsigned char)0xD4
 
#define MID_REQOUTPUTSKIPFACTORACK   (const unsigned char)0xD5
 
#define LEN_OUTPUTSKIPFACTOR   (const unsigned short)2
 
#define MID_SETOUTPUTSKIPFACTOR   (const unsigned char)0xD4
 
#define MID_SETOUTPUTSKIPFACTORACK   (const unsigned char)0xD5
 
#define MID_REQSYNCINSETTINGS   (const unsigned char)0xD6
 
#define MID_REQSYNCINSETTINGSACK   (const unsigned char)0xD7
 
#define LEN_SYNCINMODE   (const unsigned short)2
 
#define LEN_SYNCINSKIPFACTOR   (const unsigned short)2
 
#define LEN_SYNCINOFFSET   (const unsigned short)4
 
#define MID_SETSYNCINSETTINGS   (const unsigned char)0xD6
 
#define MID_SETSYNCINSETTINGSACK   (const unsigned char)0xD7
 
#define MID_REQSYNCOUTSETTINGS   (const unsigned char)0xD8
 
#define MID_REQSYNCOUTSETTINGSACK   (const unsigned char)0xD9
 
#define LEN_SYNCOUTMODE   (const unsigned short)2
 
#define LEN_SYNCOUTSKIPFACTOR   (const unsigned short)2
 
#define LEN_SYNCOUTOFFSET   (const unsigned short)4
 
#define LEN_SYNCOUTPULSEWIDTH   (const unsigned short)4
 
#define MID_SETSYNCOUTSETTINGS   (const unsigned char)0xD8
 
#define MID_SETSYNCOUTSETTINGSACK   (const unsigned char)0xD9
 
#define MID_REQERRORMODE   (const unsigned char)0xDA
 
#define MID_REQERRORMODEACK   (const unsigned char)0xDB
 
#define LEN_ERRORMODE   (const unsigned short)2
 
#define MID_SETERRORMODE   (const unsigned char)0xDA
 
#define MID_SETERRORMODEACK   (const unsigned char)0xDB
 
#define MID_REQTRANSMITDELAY   (const unsigned char)0xDC
 
#define MID_REQTRANSMITDELAYACK   (const unsigned char)0xDD
 
#define LEN_TRANSMITDELAY   (const unsigned short)2
 
#define MID_SETTRANSMITDELAY   (const unsigned char)0xDC
 
#define MID_SETTRANSMITDELAYACK   (const unsigned char)0xDD
 
#define MID_REQXMERRORMODE   (const unsigned char)0x82
 
#define MID_REQXMERRORMODEACK   (const unsigned char)0x83
 
#define LEN_XMERRORMODE   (const unsigned short)2
 
#define MID_SETXMERRORMODE   (const unsigned char)0x82
 
#define MID_SETXMERRORMODEACK   (const unsigned char)0x83
 
#define MID_REQBUFFERSIZE   (const unsigned char)0x84
 
#define MID_REQBUFFERSIZEACK   (const unsigned char)0x85
 
#define LEN_BUFFERSIZE   (const unsigned short)2
 
#define MID_SETBUFFERSIZE   (const unsigned char)0x84
 
#define MID_SETBUFFERSIZEACK   (const unsigned char)0x85
 
#define MID_REQHEADING   (const unsigned char)0x82
 
#define MID_REQHEADINGACK   (const unsigned char)0x83
 
#define LEN_HEADING   (const unsigned short)4
 
#define MID_SETHEADING   (const unsigned char)0x82
 
#define MID_SETHEADINGACK   (const unsigned char)0x83
 
#define MID_REQLOCATIONID   (const unsigned char)0x84
 
#define MID_REQLOCATIONIDACK   (const unsigned char)0x85
 
#define LEN_LOCATIONID   (const unsigned short)2
 
#define MID_SETLOCATIONID   (const unsigned char)0x84
 
#define MID_SETLOCATIONIDACK   (const unsigned char)0x85
 
#define MID_REQEXTOUTPUTMODE   (const unsigned char)0x86
 
#define MID_REQEXTOUTPUTMODEACK   (const unsigned char)0x87
 
#define LEN_EXTOUTPUTMODE   (const unsigned short)2
 
#define MID_SETEXTOUTPUTMODE   (const unsigned char)0x86
 
#define MID_SETEXTOUTPUTMODEACK   (const unsigned char)0x87
 
#define MID_REQBATLEVEL   (const unsigned char)0x88
 
#define MID_BATLEVEL   (const unsigned char)0x89
 
#define MID_REQINITTRACKMODE   (const unsigned char)0x88
 
#define MID_REQINITTRACKMODEACK   (const unsigned char)0x89
 
#define LEN_INITTRACKMODE   (const unsigned short)2
 
#define MID_SETINITTRACKMODE   (const unsigned char)0x88
 
#define MID_SETINITTRACKMODEACK   (const unsigned char)0x89
 
#define MID_STOREFILTERSTATE   (const unsigned char)0x8A
 
#define MID_STOREFILTERSTATEACK   (const unsigned char)0x8B
 
#define MID_GOTOCONFIG   (const unsigned char)0x30
 
#define MID_GOTOCONFIGACK   (const unsigned char)0x31
 
#define MID_BUSDATA   (const unsigned char)0x32
 
#define MID_MTDATA   (const unsigned char)0x32
 
#define MID_PREPAREDATA   (const unsigned char)0x32
 
#define MID_REQDATA   (const unsigned char)0x34
 
#define MID_REQDATAACK   (const unsigned char)0x35
 
#define LEN_RAWDATA   (const unsigned short)20
 
#define LEN_CALIBDATA   (const unsigned short)36
 
#define LEN_CALIB_ACCDATA   (const unsigned short)12
 
#define LEN_CALIB_GYRDATA   (const unsigned short)12
 
#define LEN_CALIB_MAGDATA   (const unsigned short)12
 
#define LEN_ORIENT_QUATDATA   (const unsigned short)16
 
#define LEN_ORIENT_EULERDATA   (const unsigned short)12
 
#define LEN_ORIENT_MATRIXDATA   (const unsigned short)36
 
#define LEN_SAMPLECNT   (const unsigned short)2
 
#define LEN_TEMPDATA   (const unsigned short)4
 
#define LEN_CALIBDATA_FLT   (const unsigned short)9
 
#define LEN_ORIENT_QUATDATA_FLT   (const unsigned short)4
 
#define LEN_ORIENT_EULERDATA_FLT   (const unsigned short)3
 
#define LEN_ORIENT_MATRIXDATA_FLT   (const unsigned short)9
 
#define IND_RAW_ACCX   0
 
#define IND_RAW_ACCY   2
 
#define IND_RAW_ACCZ   4
 
#define IND_RAW_GYRX   6
 
#define IND_RAW_GYRY   8
 
#define IND_RAW_GYRZ   10
 
#define IND_RAW_MAGX   12
 
#define IND_RAW_MAGY   14
 
#define IND_RAW_MAGZ   16
 
#define IND_RAW_TEMP   18
 
#define IND_CALIB_ACCX   0
 
#define IND_CALIB_ACCY   4
 
#define IND_CALIB_ACCZ   8
 
#define IND_CALIB_GYRX   12
 
#define IND_CALIB_GYRY   16
 
#define IND_CALIB_GYRZ   20
 
#define IND_CALIB_MAGX   24
 
#define IND_CALIB_MAGY   28
 
#define IND_CALIB_MAGZ   32
 
#define IND_ORIENT_Q0   0
 
#define IND_ORIENT_Q1   4
 
#define IND_ORIENT_Q2   8
 
#define IND_ORIENT_Q3   12
 
#define IND_ORIENT_ROLL   0
 
#define IND_ORIENT_PITCH   4
 
#define IND_ORIENT_YAW   8
 
#define IND_ORIENT_A   0
 
#define IND_ORIENT_B   4
 
#define IND_ORIENT_C   8
 
#define IND_ORIENT_D   12
 
#define IND_ORIENT_E   16
 
#define IND_ORIENT_F   20
 
#define IND_ORIENT_G   24
 
#define IND_ORIENT_H   28
 
#define IND_ORIENT_I   32
 
#define IND_SAMPLECNTH   0
 
#define IND_SAMPLECNTL   1
 
#define FLDNUM_RAW_ACCX   0
 
#define FLDNUM_RAW_ACCY   1
 
#define FLDNUM_RAW_ACCZ   2
 
#define FLDNUM_RAW_GYRX   3
 
#define FLDNUM_RAW_GYRY   4
 
#define FLDNUM_RAW_GYRZ   5
 
#define FLDNUM_RAW_MAGX   6
 
#define FLDNUM_RAW_MAGY   7
 
#define FLDNUM_RAW_MAGZ   8
 
#define FLDNUM_RAW_TEMP   9
 
#define FLDNUM_CALIB_ACCX   0
 
#define FLDNUM_CALIB_ACCY   1
 
#define FLDNUM_CALIB_ACCZ   2
 
#define FLDNUM_CALIB_GYRX   3
 
#define FLDNUM_CALIB_GYRY   4
 
#define FLDNUM_CALIB_GYRZ   5
 
#define FLDNUM_CALIB_MAGX   6
 
#define FLDNUM_CALIB_MAGY   7
 
#define FLDNUM_CALIB_MAGZ   8
 
#define FLDNUM_ORIENT_Q0   0
 
#define FLDNUM_ORIENT_Q1   1
 
#define FLDNUM_ORIENT_Q2   2
 
#define FLDNUM_ORIENT_Q3   3
 
#define FLDNUM_ORIENT_ROLL   0
 
#define FLDNUM_ORIENT_PITCH   1
 
#define FLDNUM_ORIENT_YAW   2
 
#define FLDNUM_ORIENT_A   0
 
#define FLDNUM_ORIENT_B   1
 
#define FLDNUM_ORIENT_C   2
 
#define FLDNUM_ORIENT_D   3
 
#define FLDNUM_ORIENT_E   4
 
#define FLDNUM_ORIENT_F   5
 
#define FLDNUM_ORIENT_G   6
 
#define FLDNUM_ORIENT_H   7
 
#define FLDNUM_ORIENT_I   8
 
#define LEN_RAW_ACCX   2
 
#define LEN_RAW_ACCY   2
 
#define LEN_RAW_ACCZ   2
 
#define LEN_RAW_GYRX   2
 
#define LEN_RAW_GYRY   2
 
#define LEN_RAW_GYRZ   2
 
#define LEN_RAW_MAGX   2
 
#define LEN_RAW_MAGY   2
 
#define LEN_RAW_MAGZ   2
 
#define LEN_RAW_TEMP   2
 
#define LEN_CALIB_ACCX   4
 
#define LEN_CALIB_ACCY   4
 
#define LEN_CALIB_ACCZ   4
 
#define LEN_CALIB_GYRX   4
 
#define LEN_CALIB_GYRY   4
 
#define LEN_CALIB_GYRZ   4
 
#define LEN_CALIB_MAGX   4
 
#define LEN_CALIB_MAGY   4
 
#define LEN_CALIB_MAGZ   4
 
#define LEN_ORIENT_Q0   4
 
#define LEN_ORIENT_Q1   4
 
#define LEN_ORIENT_Q2   4
 
#define LEN_ORIENT_Q3   4
 
#define LEN_ORIENT_ROLL   4
 
#define LEN_ORIENT_PITCH   4
 
#define LEN_ORIENT_YAW   4
 
#define LEN_ORIENT_A   4
 
#define LEN_ORIENT_B   4
 
#define LEN_ORIENT_C   4
 
#define LEN_ORIENT_D   4
 
#define LEN_ORIENT_E   4
 
#define LEN_ORIENT_F   4
 
#define LEN_ORIENT_G   4
 
#define LEN_ORIENT_H   4
 
#define LEN_ORIENT_I   4
 
#define VALUE_RAW_ACC   0
 
#define VALUE_RAW_GYR   1
 
#define VALUE_RAW_MAG   2
 
#define VALUE_RAW_TEMP   3
 
#define VALUE_CALIB_ACC   4
 
#define VALUE_CALIB_GYR   5
 
#define VALUE_CALIB_MAG   6
 
#define VALUE_ORIENT_QUAT   7
 
#define VALUE_ORIENT_EULER   8
 
#define VALUE_ORIENT_MATRIX   9
 
#define VALUE_SAMPLECNT   10
 
#define VALUE_TEMP   11
 
#define INVALIDSETTINGVALUE   0xFFFFFFFF
 
#define MID_RESET   (const unsigned char)0x40
 
#define MID_RESETACK   (const unsigned char)0x41
 
#define MID_ERROR   (const unsigned char)0x42
 
#define LEN_ERROR   (const unsigned short)1
 
#define MID_XMPWROFF   (const unsigned char)0x44
 
#define MID_REQFILTERSETTINGS   (const unsigned char)0xA0
 
#define MID_REQFILTERSETTINGSACK   (const unsigned char)0xA1
 
#define LEN_FILTERSETTINGS   (const unsigned short)4
 
#define MID_SETFILTERSETTINGS   (const unsigned char)0xA0
 
#define MID_SETFILTERSETTINGSACK   (const unsigned char)0xA1
 
#define MID_REQAMD   (const unsigned char)0xA2
 
#define MID_REQAMDACK   (const unsigned char)0xA3
 
#define LEN_AMD   (const unsigned short)2
 
#define MID_SETAMD   (const unsigned char)0xA2
 
#define MID_SETAMDACK   (const unsigned char)0xA3
 
#define MID_RESETORIENTATION   (const unsigned char)0xA4
 
#define MID_RESETORIENTATIONACK   (const unsigned char)0xA5
 
#define LEN_RESETORIENTATION   (const unsigned short)2
 
#define MSG_WAKEUPLEN   5
 
#define MSG_WAKEUPACK   (const unsigned char *)"\xFA\xFF\x3F\x00"
 
#define MSG_WAKEUPACKLEN   4
 
#define MSG_REQDID   (const unsigned char *)"\xFA\xFF\x00\x00"
 
#define MSG_REQDIDLEN   4
 
#define MSG_DEVICEIDLEN   9
 
#define MSG_INITBUS   (const unsigned char *)"\xFA\xFF\x02\x00"
 
#define MSG_INITBUSLEN   4
 
#define MSG_INITBUSRESMAXLEN   (5 + 4 * MAXSENSORS)
 
#define MSG_REQPERIOD   (const unsigned char *)"\xFA\xFF\x04\x00"
 
#define MSG_REQPERIODLEN   4
 
#define MSG_REQPERIODACKLEN   7
 
#define MSG_SETPERIOD   (const unsigned char *)"\xFA\xFF\x04\x02"
 
#define MSG_SETPERIODLEN   6
 
#define MSG_SETPERIODACKLEN   5
 
#define MSG_SETBID   (const unsigned char *)"\xFA\xFF\x06\x05"
 
#define MSG_SETBIDLEN   9
 
#define MSG_SETBIDACKLEN   5
 
#define MSG_AUTOSTART   (const unsigned char *)"\xFA\xFF\x06\x00"
 
#define MSG_AUTOSTARTLEN   4
 
#define MSG_AUTOSTARTACKLEN   5
 
#define MSG_BUSPWROFF   (const unsigned char *)"\xFA\xFF\x08\x00"
 
#define MSG_BUSPWROFFLEN   4
 
#define MSG_BUSPWROFFACKLEN   5
 
#define MSG_RESTOREFACTORYDEF   (const unsigned char *)"\xFA\xFF\x0E\x00"
 
#define MSG_RESTOREFACTORYDEFLEN   4
 
#define MSG_RESTOREFACTORYDEFACKLEN   5
 
#define MSG_REQDATALENGTH   (const unsigned char *)"\xFA\xFF\x0A\x00"
 
#define MSG_REQDATALENGTHLEN   4
 
#define MSG_DATALENGTHLEN   7
 
#define MSG_REQCONFIGURATION   (const unsigned char *)"\xFA\xFF\x0C\x00"
 
#define MSG_REQCONFIGURATIONLEN   4
 
#define MSG_GOTOMEASUREMENT   (const unsigned char *)"\xFA\xFF\x10\x00"
 
#define MSG_GOTOMEASUREMENTLEN   4
 
#define MSG_GOTOMEASMAN   (const unsigned char *)"\xFA\x01\x10\x00"
 
#define MSG_GOTOMEASMANLEN   4
 
#define MSG_GOTOMEASACKLEN   5
 
#define MSG_REQFWREV   (const unsigned char *)"\xFA\xFF\x12\x00"
 
#define MSG_REQFWREVLEN   4
 
#define MSG_FIRMWAREREVLEN   8
 
#define MSG_REQBTDISABLED   (const unsigned char *)"\xFA\xFF\x14\x00"
 
#define MSG_REQBTDISABLEDLEN   4
 
#define MSG_REQBTDISABLEDACKLEN   6
 
#define MSG_DISABLEBT   (const unsigned char *)"\xFA\xFF\x14\x01"
 
#define MSG_DISABLEBTLEN   5
 
#define MSG_DISABLEBTACKLEN   5
 
#define MSG_REQOPMODE   (const unsigned char *)"\xFA\xFF\x16\x00"
 
#define MSG_REQOPMODELEN   4
 
#define MSG_REQOPMODEACKLEN   6
 
#define MSG_SETOPMODE   (const unsigned char *)"\xFA\xFF\x16\x01"
 
#define MSG_SETOPMODELEN   5
 
#define MSG_SETOPMODEACKLEN   5
 
#define MSG_REQBAUDRATE   (const unsigned char *)"\xFA\xFF\x18\x00"
 
#define MSG_REQBAUDRATELEN   4
 
#define MSG_REQBAUDRATEACKLEN   6
 
#define MSG_SETBAUDRATE   (const unsigned char *)"\xFA\xFF\x18\x01"
 
#define MSG_SETBAUDRATELEN   5
 
#define MSG_SETBAUDRATEACKLEN   5
 
#define MSG_REQSYNCMODE   (const unsigned char *)"\xFA\xFF\x1A\x00"
 
#define MSG_REQSYNCMODELEN   4
 
#define MSG_REQSYNCMODEACKLEN   6
 
#define MSG_SETSYNCMODE   (const unsigned char *)"\xFA\xFF\x1A\x01"
 
#define MSG_SETSYNCMODELEN   5
 
#define MSG_SETSYNCMODEACKLEN   6
 
#define MSG_REQMTS   (const unsigned char *)"\xFA\xFF\x90\x01"
 
#define MSG_REQMTSLEN   5
 
#define MSG_MTSDATA   61
 
#define MSG_STORECUSMTS   (const unsigned char *)"\xFA\xFF\x92\x58"
 
#define MSG_STORECUSMTSLEN   92
 
#define MSG_STORECUSMTSACKLEN   5
 
#define MSG_REVTOORGMTS   (const unsigned char *)"\xFA\xFF\x94\x00"
 
#define MSG_REVTOORGMTSLEN   4
 
#define MSG_REVTOORGMTSACKLEN   5
 
#define MSG_STOREMTS   (const unsigned char *)"\xFA\xFF\x96\x41"
 
#define MSG_STOREMTSLEN   69
 
#define MSG_STOREMTSACKLEN   5
 
#define MSG_REQSYNCOUTMODE   (const unsigned char *)"\xFA\xFF\xD8\x01\x00"
 
#define MSG_REQSYNCOUTMODELEN   5
 
#define MSG_REQSYNCOUTSKIPFACTOR   (const unsigned char *)"\xFA\xFF\xD8\x01\x01"
 
#define MSG_REQSYNCOUTSKIPFACTORLEN   5
 
#define MSG_REQSYNCOUTOFFSET   (const unsigned char *)"\xFA\xFF\xD8\x01\x02"
 
#define MSG_REQSYNCOUTOFFSETLEN   5
 
#define MSG_REQSYNCOUTPULSEWIDTH   (const unsigned char *)"\xFA\xFF\xD8\x01\x03"
 
#define MSG_REQSYNCOUTPULSEWIDTHLEN   5
 
#define MSG_REQERRORMODE   (const unsigned char *)"\xFA\xFF\xDA\x00"
 
#define MSG_REQERRORMODELEN   4
 
#define MSG_REQERRORMODEACKLEN   7
 
#define MSG_GOTOCONFIG   (const unsigned char *)"\xFA\xFF\x30\x00"
 
#define MSG_GOTOCONFIGLEN   4
 
#define MSG_GOTOCONFIGACKLEN   5
 
#define MSG_GOTOCONFIGM   (const unsigned char *)"\xFA\x01\x30\x00"
 
#define MSG_GOTOCONFIGMLEN   4
 
#define MSG_GOTOCONFIGMACKLEN   5
 
#define MSG_PREPAREDATA   (const unsigned char *)"\xFA\x01\x32\x00"
 
#define MSG_PREPAREDATALEN   4
 
#define MSG_REQDATA   (const unsigned char *)"\xFA\x01\x34\x00"
 
#define MSG_REQDATALEN   4
 
#define MSG_RESET   (const unsigned char *)"\xFA\xFF\x40\x00"
 
#define MSG_RESETLEN   4
 
#define MSG_RESETACKLEN   5
 
#define MSG_XMPWROFF   (const unsigned char *)"\xFA\xFF\x44\x00"
 
#define MSG_XMPWROFFLEN   4
 
#define MSG_XMPWROFFACKLEN   5
 
#define BAUDRATE_9K6   0x09
 
#define BAUDRATE_14K4   0x08
 
#define BAUDRATE_19K2   0x07
 
#define BAUDRATE_28K8   0x06
 
#define BAUDRATE_38K4   0x05
 
#define BAUDRATE_57K6   0x04
 
#define BAUDRATE_76K8   0x03
 
#define BAUDRATE_115K2   0x02
 
#define BAUDRATE_230K4   0x01
 
#define BAUDRATE_460K8   0x00
 
#define BAUDRATE_921K6   0x80
 
#define ERROR_NOBUSCOMM   0x01
 
#define ERROR_BUSNOTREADY   0x02
 
#define ERROR_PERIODINVALID   0x03
 
#define ERROR_MESSAGEINVALID   0x04
 
#define ERROR_INITOFBUSFAILED1   0x10
 
#define ERROR_INITOFBUSFAILED2   0x11
 
#define ERROR_INITOFBUSFAILED3   0x12
 
#define ERROR_SETBIDPROCFAILED1   0x14
 
#define ERROR_SETBIDPROCFAILED2   0x15
 
#define ERROR_MEASUREMENTFAILED1   0x18
 
#define ERROR_MEASUREMENTFAILED2   0x19
 
#define ERROR_MEASUREMENTFAILED3   0x1A
 
#define ERROR_MEASUREMENTFAILED4   0x1B
 
#define ERROR_MEASUREMENTFAILED5   0x1C
 
#define ERROR_MEASUREMENTFAILED6   0x1D
 
#define ERROR_TIMEROVERFLOW   0x1E
 
#define ERROR_BAUDRATEINVALID   0x20
 
#define ERROR_PARAMETERINVALID   0x21
 
#define ERROR_MEASUREMENTFAILED7   0x23
 
#define ERRORMODE_IGNORE   0x0000
 
#define ERRORMODE_INCSAMPLECNT   0x0001
 
#define ERRORMODE_INCSAMPLECNT_SENDERROR   0x0002
 
#define ERRORMODE_SENDERROR_GOTOCONFIG   0x0003
 
#define CONF_MASTERDID   0
 
#define CONF_PERIOD   4
 
#define CONF_OUTPUTSKIPFACTOR   6
 
#define CONF_SYNCIN_MODE   8
 
#define CONF_SYNCIN_SKIPFACTOR   10
 
#define CONF_SYNCIN_OFFSET   12
 
#define CONF_DATE   16
 
#define CONF_TIME   24
 
#define CONF_NUMDEVICES   96
 
#define CONF_DID   98
 
#define CONF_DATALENGTH   102
 
#define CONF_OUTPUTMODE   104
 
#define CONF_OUTPUTSETTINGS   106
 
#define CONF_BLOCKLEN   20
 
#define CONF_MASTERDIDLEN   4
 
#define CONF_PERIODLEN   2
 
#define CONF_OUTPUTSKIPFACTORLEN   2
 
#define CONF_SYNCIN_MODELEN   2
 
#define CONF_SYNCIN_SKIPFACTORLEN   2
 
#define CONF_SYNCIN_OFFSETLEN   4
 
#define CONF_DATELEN   8
 
#define CONF_TIMELEN   8
 
#define CONF_RESERVED_CLIENTLEN   32
 
#define CONF_RESERVED_HOSTLEN   32
 
#define CONF_NUMDEVICESLEN   2
 
#define CONF_DIDLEN   4
 
#define CONF_DATALENGTHLEN   2
 
#define CONF_OUTPUTMODELEN   2
 
#define CONF_OUTPUTSETTINGSLEN   4
 
#define SYNC_CLOCKFREQ   29.4912e6
 
#define PARAM_SYNCIN_MODE   (const unsigned char)0x00
 
#define PARAM_SYNCIN_SKIPFACTOR   (const unsigned char)0x01
 
#define PARAM_SYNCIN_OFFSET   (const unsigned char)0x02
 
#define SYNCIN_DISABLED   0x0000
 
#define SYNCIN_EDGE_RISING   0x0001
 
#define SYNCIN_EDGE_FALLING   0x0002
 
#define SYNCIN_EDGE_BOTH   0x0003
 
#define SYNCIN_TYPE_SENDLASTDATA   0x0004
 
#define SYNCIN_TYPE_DOSAMPLING   0x0000
 
#define SYNCIN_EDGE_MASK   0x0003
 
#define SYNCIN_TYPE_MASK   0x000C
 
#define PARAM_SYNCOUT_MODE   (const unsigned char)0x00
 
#define PARAM_SYNCOUT_SKIPFACTOR   (const unsigned char)0x01
 
#define PARAM_SYNCOUT_OFFSET   (const unsigned char)0x02
 
#define PARAM_SYNCOUT_PULSEWIDTH   (const unsigned char)0x03
 
#define SYNCOUT_DISABLED   0x0000
 
#define SYNCOUT_TYPE_TOGGLE   0x0001
 
#define SYNCOUT_TYPE_PULSE   0x0002
 
#define SYNCOUT_POL_NEG   0x0000
 
#define SYNCOUT_POL_POS   0x0010
 
#define SYNCOUT_TYPE_MASK   0x000F
 
#define SYNCOUT_POL_MASK   0x0010
 
#define PERIOD_10HZ   0x2D00
 
#define PERIOD_12HZ   0x2580
 
#define PERIOD_15HZ   0x1E00
 
#define PERIOD_16HZ   0x1C20
 
#define PERIOD_18HZ   0x1900
 
#define PERIOD_20HZ   0x1680
 
#define PERIOD_24HZ   0x12C0
 
#define PERIOD_25HZ   0x1200
 
#define PERIOD_30HZ   0x0F00
 
#define PERIOD_32HZ   0x0E10
 
#define PERIOD_36HZ   0x0C80
 
#define PERIOD_40HZ   0x0B40
 
#define PERIOD_45HZ   0x0A00
 
#define PERIOD_48HZ   0x0960
 
#define PERIOD_50HZ   0x0900
 
#define PERIOD_60HZ   0x0780
 
#define PERIOD_64HZ   0x0708
 
#define PERIOD_72HZ   0x0640
 
#define PERIOD_75HZ   0x0600
 
#define PERIOD_80HZ   0x05A0
 
#define PERIOD_90HZ   0x0500
 
#define PERIOD_96HZ   0x04B0
 
#define PERIOD_100HZ   0x0480
 
#define PERIOD_120HZ   0x03C0
 
#define PERIOD_128HZ   0x0384
 
#define PERIOD_144HZ   0x0320
 
#define PERIOD_150HZ   0x0300
 
#define PERIOD_160HZ   0x02D0
 
#define PERIOD_180HZ   0x0280
 
#define PERIOD_192HZ   0x0258
 
#define PERIOD_200HZ   0x0240
 
#define PERIOD_225HZ   0x0200
 
#define PERIOD_240HZ   0x01E0
 
#define PERIOD_256HZ   0x01C2
 
#define PERIOD_288HZ   0x0190
 
#define PERIOD_300HZ   0x0180
 
#define PERIOD_320HZ   0x0168
 
#define PERIOD_360HZ   0x0140
 
#define PERIOD_384HZ   0x012C
 
#define PERIOD_400HZ   0x0120
 
#define PERIOD_450HZ   0x0100
 
#define PERIOD_480HZ   0x00F0
 
#define PERIOD_512HZ   0x00E1
 
#define OUTPUTMODE_MT9   0x8000
 
#define OUTPUTMODE_XM   0x0000
 
#define OUTPUTMODE_RAW   0x4000
 
#define OUTPUTMODE_TEMP   0x0001
 
#define OUTPUTMODE_CALIB   0x0002
 
#define OUTPUTMODE_ORIENT   0x0004
 
#define OUTPUTSETTINGS_XM   0x00000001
 
#define OUTPUTSETTINGS_TIMESTAMP_NONE   0x00000000
 
#define OUTPUTSETTINGS_TIMESTAMP_SAMPLECNT   0x00000001
 
#define OUTPUTSETTINGS_ORIENTMODE_QUATERNION   0x00000000
 
#define OUTPUTSETTINGS_ORIENTMODE_EULER   0x00000004
 
#define OUTPUTSETTINGS_ORIENTMODE_MATRIX   0x00000008
 
#define OUTPUTSETTINGS_CALIBMODE_ACCGYRMAG   0x00000000
 
#define OUTPUTSETTINGS_CALIBMODE_ACC   0x00000060
 
#define OUTPUTSETTINGS_CALIBMODE_ACCGYR   0x00000040
 
#define OUTPUTSETTINGS_CALIBMODE_ACCMAG   0x00000020
 
#define OUTPUTSETTINGS_CALIBMODE_GYR   0x00000050
 
#define OUTPUTSETTINGS_CALIBMODE_GYRMAG   0x00000010
 
#define OUTPUTSETTINGS_CALIBMODE_MAG   0x00000030
 
#define OUTPUTSETTINGS_DATAFORMAT_FLOAT   0x00000000
 
#define OUTPUTSETTINGS_DATAFORMAT_F1220   0x00000100
 
#define OUTPUTSETTINGS_TIMESTAMP_MASK   0x00000003
 
#define OUTPUTSETTINGS_ORIENTMODE_MASK   0x0000000C
 
#define OUTPUTSETTINGS_CALIBMODE_ACC_MASK   0x00000010
 
#define OUTPUTSETTINGS_CALIBMODE_GYR_MASK   0x00000020
 
#define OUTPUTSETTINGS_CALIBMODE_MAG_MASK   0x00000040
 
#define OUTPUTSETTINGS_CALIBMODE_MASK   0x00000070
 
#define OUTPUTSETTINGS_DATAFORMAT_MASK   0x00000300
 
#define EXTOUTPUTMODE_DISABLED   0x0000
 
#define EXTOUTPUTMODE_EULER   0x0001
 
#define FACTORYOUTPUTMODE_DISABLE   0x0000
 
#define FACTORYOUTPUTMODE_DEFAULT   0x0001
 
#define FACTORYOUTPUTMODE_CUSTOM   0x0002
 
#define INITTRACKMODE_DISABLED   0x0000
 
#define INITTRACKMODE_ENABLED   0x0001
 
#define PARAM_FILTER_GAIN   (const unsigned char)0x00
 
#define PARAM_FILTER_RHO   (const unsigned char)0x01
 
#define DONOTSTORE   0x00
 
#define STORE   0x01
 
#define AMDSETTING_DISABLED   0x0000
 
#define AMDSETTING_ENABLED   0x0001
 
#define RESETORIENTATION_STORE   0
 
#define RESETORIENTATION_HEADING   1
 
#define RESETORIENTATION_GLOBAL   2
 
#define RESETORIENTATION_OBJECT   3
 
#define RESETORIENTATION_ALIGN   4
 
#define SENDRAWSTRING_INIT   0
 
#define SENDRAWSTRING_DEFAULT   1
 
#define SENDRAWSTRING_SEND   2
 
#define TO_DEFAULT   500
 
#define TO_INIT   250
 
#define TO_RETRY   50
 
#define PBR_9600   B9600
 
#define PBR_14K4   B14400
 
#define PBR_19K2   B19200
 
#define PBR_28K8   B28800
 
#define PBR_38K4   B38400
 
#define PBR_57K6   B57600
 
#define PBR_76K8   B76800
 
#define PBR_115K2   B115200
 
#define PBR_230K4   B230400
 
#define PBR_460K8   B460800
 
#define PBR_921K6   B921600
 
#define FILEPOS_BEGIN   SEEK_SET
 
#define FILEPOS_CURRENT   SEEK_CUR
 
#define FILEPOS_END   SEEK_END
 
#define MTRV_OK   0
 
#define MTRV_NOTSUCCESSFUL   1
 
#define MTRV_TIMEOUT   2
 
#define MTRV_TIMEOUTNODATA   3
 
#define MTRV_CHECKSUMFAULT   4
 
#define MTRV_NODATA   5
 
#define MTRV_RECVERRORMSG   6
 
#define MTRV_OUTOFMEMORY   7
 
#define MTRV_UNKNOWDATA   8
 
#define MTRV_INVALIDTIMEOUT   9
 
#define MTRV_UNEXPECTEDMSG   10
 
#define MTRV_INPUTCANNOTBEOPENED   11
 
#define MTRV_ANINPUTALREADYOPEN   12
 
#define MTRV_ENDOFFILE   13
 
#define MTRV_NOINPUTINITIALIZED   14
 
#define MTRV_NOVALIDMODESPECIFIED   15
 
#define MTRV_INVALIDVALUESPEC   16
 
#define MTRV_INVALIDFORFILEINPUT   17
 

Macro Definition Documentation

◆ AMDSETTING_DISABLED

#define AMDSETTING_DISABLED   0x0000

Definition at line 819 of file MTComm.h.

◆ AMDSETTING_ENABLED

#define AMDSETTING_ENABLED   0x0001

Definition at line 820 of file MTComm.h.

◆ BAUDRATE_115K2

#define BAUDRATE_115K2   0x02

Definition at line 622 of file MTComm.h.

◆ BAUDRATE_14K4

#define BAUDRATE_14K4   0x08

Definition at line 616 of file MTComm.h.

◆ BAUDRATE_19K2

#define BAUDRATE_19K2   0x07

Definition at line 617 of file MTComm.h.

◆ BAUDRATE_230K4

#define BAUDRATE_230K4   0x01

Definition at line 623 of file MTComm.h.

◆ BAUDRATE_28K8

#define BAUDRATE_28K8   0x06

Definition at line 618 of file MTComm.h.

◆ BAUDRATE_38K4

#define BAUDRATE_38K4   0x05

Definition at line 619 of file MTComm.h.

◆ BAUDRATE_460K8

#define BAUDRATE_460K8   0x00

Definition at line 624 of file MTComm.h.

◆ BAUDRATE_57K6

#define BAUDRATE_57K6   0x04

Definition at line 620 of file MTComm.h.

◆ BAUDRATE_76K8

#define BAUDRATE_76K8   0x03

Definition at line 621 of file MTComm.h.

◆ BAUDRATE_921K6

#define BAUDRATE_921K6   0x80

Definition at line 625 of file MTComm.h.

◆ BAUDRATE_9K6

#define BAUDRATE_9K6   0x09

Definition at line 615 of file MTComm.h.

◆ BID_MASTER

#define BID_MASTER   (const unsigned char)0xFF

Definition at line 123 of file MTComm.h.

◆ BID_MT

#define BID_MT   (const unsigned char)0x01

Definition at line 124 of file MTComm.h.

◆ CONF_BLOCKLEN

#define CONF_BLOCKLEN   20

Definition at line 669 of file MTComm.h.

◆ CONF_DATALENGTH

#define CONF_DATALENGTH   102

Definition at line 666 of file MTComm.h.

◆ CONF_DATALENGTHLEN

#define CONF_DATALENGTHLEN   2

Definition at line 685 of file MTComm.h.

◆ CONF_DATE

#define CONF_DATE   16

Definition at line 661 of file MTComm.h.

◆ CONF_DATELEN

#define CONF_DATELEN   8

Definition at line 678 of file MTComm.h.

◆ CONF_DID

#define CONF_DID   98

Definition at line 665 of file MTComm.h.

◆ CONF_DIDLEN

#define CONF_DIDLEN   4

Definition at line 684 of file MTComm.h.

◆ CONF_MASTERDID

#define CONF_MASTERDID   0

Definition at line 655 of file MTComm.h.

◆ CONF_MASTERDIDLEN

#define CONF_MASTERDIDLEN   4

Definition at line 672 of file MTComm.h.

◆ CONF_NUMDEVICES

#define CONF_NUMDEVICES   96

Definition at line 663 of file MTComm.h.

◆ CONF_NUMDEVICESLEN

#define CONF_NUMDEVICESLEN   2

Definition at line 682 of file MTComm.h.

◆ CONF_OUTPUTMODE

#define CONF_OUTPUTMODE   104

Definition at line 667 of file MTComm.h.

◆ CONF_OUTPUTMODELEN

#define CONF_OUTPUTMODELEN   2

Definition at line 686 of file MTComm.h.

◆ CONF_OUTPUTSETTINGS

#define CONF_OUTPUTSETTINGS   106

Definition at line 668 of file MTComm.h.

◆ CONF_OUTPUTSETTINGSLEN

#define CONF_OUTPUTSETTINGSLEN   4

Definition at line 687 of file MTComm.h.

◆ CONF_OUTPUTSKIPFACTOR

#define CONF_OUTPUTSKIPFACTOR   6

Definition at line 657 of file MTComm.h.

◆ CONF_OUTPUTSKIPFACTORLEN

#define CONF_OUTPUTSKIPFACTORLEN   2

Definition at line 674 of file MTComm.h.

◆ CONF_PERIOD

#define CONF_PERIOD   4

Definition at line 656 of file MTComm.h.

◆ CONF_PERIODLEN

#define CONF_PERIODLEN   2

Definition at line 673 of file MTComm.h.

◆ CONF_RESERVED_CLIENTLEN

#define CONF_RESERVED_CLIENTLEN   32

Definition at line 680 of file MTComm.h.

◆ CONF_RESERVED_HOSTLEN

#define CONF_RESERVED_HOSTLEN   32

Definition at line 681 of file MTComm.h.

◆ CONF_SYNCIN_MODE

#define CONF_SYNCIN_MODE   8

Definition at line 658 of file MTComm.h.

◆ CONF_SYNCIN_MODELEN

#define CONF_SYNCIN_MODELEN   2

Definition at line 675 of file MTComm.h.

◆ CONF_SYNCIN_OFFSET

#define CONF_SYNCIN_OFFSET   12

Definition at line 660 of file MTComm.h.

◆ CONF_SYNCIN_OFFSETLEN

#define CONF_SYNCIN_OFFSETLEN   4

Definition at line 677 of file MTComm.h.

◆ CONF_SYNCIN_SKIPFACTOR

#define CONF_SYNCIN_SKIPFACTOR   10

Definition at line 659 of file MTComm.h.

◆ CONF_SYNCIN_SKIPFACTORLEN

#define CONF_SYNCIN_SKIPFACTORLEN   2

Definition at line 676 of file MTComm.h.

◆ CONF_TIME

#define CONF_TIME   24

Definition at line 662 of file MTComm.h.

◆ CONF_TIMELEN

#define CONF_TIMELEN   8

Definition at line 679 of file MTComm.h.

◆ DID_TYPEH_MASK

#define DID_TYPEH_MASK   (const unsigned long)0x00F00000

Definition at line 144 of file MTComm.h.

◆ DID_TYPEH_MT

#define DID_TYPEH_MT   (const unsigned long)0x00000000

Definition at line 145 of file MTComm.h.

◆ DID_TYPEH_MTI_MTX

#define DID_TYPEH_MTI_MTX   (const unsigned long)0x00300000

Definition at line 147 of file MTComm.h.

◆ DID_TYPEH_XM

#define DID_TYPEH_XM   (const unsigned long)0x00100000

Definition at line 146 of file MTComm.h.

◆ DONOTSTORE

#define DONOTSTORE   0x00

Definition at line 815 of file MTComm.h.

◆ ERROR_BAUDRATEINVALID

#define ERROR_BAUDRATEINVALID   0x20

Definition at line 644 of file MTComm.h.

◆ ERROR_BUSNOTREADY

#define ERROR_BUSNOTREADY   0x02

Definition at line 629 of file MTComm.h.

◆ ERROR_INITOFBUSFAILED1

#define ERROR_INITOFBUSFAILED1   0x10

Definition at line 632 of file MTComm.h.

◆ ERROR_INITOFBUSFAILED2

#define ERROR_INITOFBUSFAILED2   0x11

Definition at line 633 of file MTComm.h.

◆ ERROR_INITOFBUSFAILED3

#define ERROR_INITOFBUSFAILED3   0x12

Definition at line 634 of file MTComm.h.

◆ ERROR_MEASUREMENTFAILED1

#define ERROR_MEASUREMENTFAILED1   0x18

Definition at line 637 of file MTComm.h.

◆ ERROR_MEASUREMENTFAILED2

#define ERROR_MEASUREMENTFAILED2   0x19

Definition at line 638 of file MTComm.h.

◆ ERROR_MEASUREMENTFAILED3

#define ERROR_MEASUREMENTFAILED3   0x1A

Definition at line 639 of file MTComm.h.

◆ ERROR_MEASUREMENTFAILED4

#define ERROR_MEASUREMENTFAILED4   0x1B

Definition at line 640 of file MTComm.h.

◆ ERROR_MEASUREMENTFAILED5

#define ERROR_MEASUREMENTFAILED5   0x1C

Definition at line 641 of file MTComm.h.

◆ ERROR_MEASUREMENTFAILED6

#define ERROR_MEASUREMENTFAILED6   0x1D

Definition at line 642 of file MTComm.h.

◆ ERROR_MEASUREMENTFAILED7

#define ERROR_MEASUREMENTFAILED7   0x23

Definition at line 646 of file MTComm.h.

◆ ERROR_MESSAGEINVALID

#define ERROR_MESSAGEINVALID   0x04

Definition at line 631 of file MTComm.h.

◆ ERROR_NOBUSCOMM

#define ERROR_NOBUSCOMM   0x01

Definition at line 628 of file MTComm.h.

◆ ERROR_PARAMETERINVALID

#define ERROR_PARAMETERINVALID   0x21

Definition at line 645 of file MTComm.h.

◆ ERROR_PERIODINVALID

#define ERROR_PERIODINVALID   0x03

Definition at line 630 of file MTComm.h.

◆ ERROR_SETBIDPROCFAILED1

#define ERROR_SETBIDPROCFAILED1   0x14

Definition at line 635 of file MTComm.h.

◆ ERROR_SETBIDPROCFAILED2

#define ERROR_SETBIDPROCFAILED2   0x15

Definition at line 636 of file MTComm.h.

◆ ERROR_TIMEROVERFLOW

#define ERROR_TIMEROVERFLOW   0x1E

Definition at line 643 of file MTComm.h.

◆ ERRORMODE_IGNORE

#define ERRORMODE_IGNORE   0x0000

Definition at line 649 of file MTComm.h.

◆ ERRORMODE_INCSAMPLECNT

#define ERRORMODE_INCSAMPLECNT   0x0001

Definition at line 650 of file MTComm.h.

◆ ERRORMODE_INCSAMPLECNT_SENDERROR

#define ERRORMODE_INCSAMPLECNT_SENDERROR   0x0002

Definition at line 651 of file MTComm.h.

◆ ERRORMODE_SENDERROR_GOTOCONFIG

#define ERRORMODE_SENDERROR_GOTOCONFIG   0x0003

Definition at line 652 of file MTComm.h.

◆ EXTLENCODE

#define EXTLENCODE   0xFF

Definition at line 125 of file MTComm.h.

◆ EXTOUTPUTMODE_DISABLED

#define EXTOUTPUTMODE_DISABLED   0x0000

Definition at line 800 of file MTComm.h.

◆ EXTOUTPUTMODE_EULER

#define EXTOUTPUTMODE_EULER   0x0001

Definition at line 801 of file MTComm.h.

◆ FACTORYOUTPUTMODE_CUSTOM

#define FACTORYOUTPUTMODE_CUSTOM   0x0002

Definition at line 806 of file MTComm.h.

◆ FACTORYOUTPUTMODE_DEFAULT

#define FACTORYOUTPUTMODE_DEFAULT   0x0001

Definition at line 805 of file MTComm.h.

◆ FACTORYOUTPUTMODE_DISABLE

#define FACTORYOUTPUTMODE_DISABLE   0x0000

Definition at line 804 of file MTComm.h.

◆ FILEPOS_BEGIN

#define FILEPOS_BEGIN   SEEK_SET

Definition at line 872 of file MTComm.h.

◆ FILEPOS_CURRENT

#define FILEPOS_CURRENT   SEEK_CUR

Definition at line 873 of file MTComm.h.

◆ FILEPOS_END

#define FILEPOS_END   SEEK_END

Definition at line 874 of file MTComm.h.

◆ FLDNUM_CALIB_ACCX

#define FLDNUM_CALIB_ACCX   0

Definition at line 394 of file MTComm.h.

◆ FLDNUM_CALIB_ACCY

#define FLDNUM_CALIB_ACCY   1

Definition at line 395 of file MTComm.h.

◆ FLDNUM_CALIB_ACCZ

#define FLDNUM_CALIB_ACCZ   2

Definition at line 396 of file MTComm.h.

◆ FLDNUM_CALIB_GYRX

#define FLDNUM_CALIB_GYRX   3

Definition at line 397 of file MTComm.h.

◆ FLDNUM_CALIB_GYRY

#define FLDNUM_CALIB_GYRY   4

Definition at line 398 of file MTComm.h.

◆ FLDNUM_CALIB_GYRZ

#define FLDNUM_CALIB_GYRZ   5

Definition at line 399 of file MTComm.h.

◆ FLDNUM_CALIB_MAGX

#define FLDNUM_CALIB_MAGX   6

Definition at line 400 of file MTComm.h.

◆ FLDNUM_CALIB_MAGY

#define FLDNUM_CALIB_MAGY   7

Definition at line 401 of file MTComm.h.

◆ FLDNUM_CALIB_MAGZ

#define FLDNUM_CALIB_MAGZ   8

Definition at line 402 of file MTComm.h.

◆ FLDNUM_ORIENT_A

#define FLDNUM_ORIENT_A   0

Definition at line 413 of file MTComm.h.

◆ FLDNUM_ORIENT_B

#define FLDNUM_ORIENT_B   1

Definition at line 414 of file MTComm.h.

◆ FLDNUM_ORIENT_C

#define FLDNUM_ORIENT_C   2

Definition at line 415 of file MTComm.h.

◆ FLDNUM_ORIENT_D

#define FLDNUM_ORIENT_D   3

Definition at line 416 of file MTComm.h.

◆ FLDNUM_ORIENT_E

#define FLDNUM_ORIENT_E   4

Definition at line 417 of file MTComm.h.

◆ FLDNUM_ORIENT_F

#define FLDNUM_ORIENT_F   5

Definition at line 418 of file MTComm.h.

◆ FLDNUM_ORIENT_G

#define FLDNUM_ORIENT_G   6

Definition at line 419 of file MTComm.h.

◆ FLDNUM_ORIENT_H

#define FLDNUM_ORIENT_H   7

Definition at line 420 of file MTComm.h.

◆ FLDNUM_ORIENT_I

#define FLDNUM_ORIENT_I   8

Definition at line 421 of file MTComm.h.

◆ FLDNUM_ORIENT_PITCH

#define FLDNUM_ORIENT_PITCH   1

Definition at line 410 of file MTComm.h.

◆ FLDNUM_ORIENT_Q0

#define FLDNUM_ORIENT_Q0   0

Definition at line 404 of file MTComm.h.

◆ FLDNUM_ORIENT_Q1

#define FLDNUM_ORIENT_Q1   1

Definition at line 405 of file MTComm.h.

◆ FLDNUM_ORIENT_Q2

#define FLDNUM_ORIENT_Q2   2

Definition at line 406 of file MTComm.h.

◆ FLDNUM_ORIENT_Q3

#define FLDNUM_ORIENT_Q3   3

Definition at line 407 of file MTComm.h.

◆ FLDNUM_ORIENT_ROLL

#define FLDNUM_ORIENT_ROLL   0

Definition at line 409 of file MTComm.h.

◆ FLDNUM_ORIENT_YAW

#define FLDNUM_ORIENT_YAW   2

Definition at line 411 of file MTComm.h.

◆ FLDNUM_RAW_ACCX

#define FLDNUM_RAW_ACCX   0

Definition at line 383 of file MTComm.h.

◆ FLDNUM_RAW_ACCY

#define FLDNUM_RAW_ACCY   1

Definition at line 384 of file MTComm.h.

◆ FLDNUM_RAW_ACCZ

#define FLDNUM_RAW_ACCZ   2

Definition at line 385 of file MTComm.h.

◆ FLDNUM_RAW_GYRX

#define FLDNUM_RAW_GYRX   3

Definition at line 386 of file MTComm.h.

◆ FLDNUM_RAW_GYRY

#define FLDNUM_RAW_GYRY   4

Definition at line 387 of file MTComm.h.

◆ FLDNUM_RAW_GYRZ

#define FLDNUM_RAW_GYRZ   5

Definition at line 388 of file MTComm.h.

◆ FLDNUM_RAW_MAGX

#define FLDNUM_RAW_MAGX   6

Definition at line 389 of file MTComm.h.

◆ FLDNUM_RAW_MAGY

#define FLDNUM_RAW_MAGY   7

Definition at line 390 of file MTComm.h.

◆ FLDNUM_RAW_MAGZ

#define FLDNUM_RAW_MAGZ   8

Definition at line 391 of file MTComm.h.

◆ FLDNUM_RAW_TEMP

#define FLDNUM_RAW_TEMP   9

Definition at line 392 of file MTComm.h.

◆ IND_BID

#define IND_BID   1

Definition at line 111 of file MTComm.h.

◆ IND_CALIB_ACCX

#define IND_CALIB_ACCX   0

Definition at line 349 of file MTComm.h.

◆ IND_CALIB_ACCY

#define IND_CALIB_ACCY   4

Definition at line 350 of file MTComm.h.

◆ IND_CALIB_ACCZ

#define IND_CALIB_ACCZ   8

Definition at line 351 of file MTComm.h.

◆ IND_CALIB_GYRX

#define IND_CALIB_GYRX   12

Definition at line 352 of file MTComm.h.

◆ IND_CALIB_GYRY

#define IND_CALIB_GYRY   16

Definition at line 353 of file MTComm.h.

◆ IND_CALIB_GYRZ

#define IND_CALIB_GYRZ   20

Definition at line 354 of file MTComm.h.

◆ IND_CALIB_MAGX

#define IND_CALIB_MAGX   24

Definition at line 355 of file MTComm.h.

◆ IND_CALIB_MAGY

#define IND_CALIB_MAGY   28

Definition at line 356 of file MTComm.h.

◆ IND_CALIB_MAGZ

#define IND_CALIB_MAGZ   32

Definition at line 357 of file MTComm.h.

◆ IND_DATA0

#define IND_DATA0   4

Definition at line 114 of file MTComm.h.

◆ IND_DATAEXT0

#define IND_DATAEXT0   6

Definition at line 117 of file MTComm.h.

◆ IND_LEN

#define IND_LEN   3

Definition at line 113 of file MTComm.h.

◆ IND_LENEXTH

#define IND_LENEXTH   4

Definition at line 115 of file MTComm.h.

◆ IND_LENEXTL

#define IND_LENEXTL   5

Definition at line 116 of file MTComm.h.

◆ IND_MID

#define IND_MID   2

Definition at line 112 of file MTComm.h.

◆ IND_ORIENT_A

#define IND_ORIENT_A   0

Definition at line 368 of file MTComm.h.

◆ IND_ORIENT_B

#define IND_ORIENT_B   4

Definition at line 369 of file MTComm.h.

◆ IND_ORIENT_C

#define IND_ORIENT_C   8

Definition at line 370 of file MTComm.h.

◆ IND_ORIENT_D

#define IND_ORIENT_D   12

Definition at line 371 of file MTComm.h.

◆ IND_ORIENT_E

#define IND_ORIENT_E   16

Definition at line 372 of file MTComm.h.

◆ IND_ORIENT_F

#define IND_ORIENT_F   20

Definition at line 373 of file MTComm.h.

◆ IND_ORIENT_G

#define IND_ORIENT_G   24

Definition at line 374 of file MTComm.h.

◆ IND_ORIENT_H

#define IND_ORIENT_H   28

Definition at line 375 of file MTComm.h.

◆ IND_ORIENT_I

#define IND_ORIENT_I   32

Definition at line 376 of file MTComm.h.

◆ IND_ORIENT_PITCH

#define IND_ORIENT_PITCH   4

Definition at line 365 of file MTComm.h.

◆ IND_ORIENT_Q0

#define IND_ORIENT_Q0   0

Definition at line 359 of file MTComm.h.

◆ IND_ORIENT_Q1

#define IND_ORIENT_Q1   4

Definition at line 360 of file MTComm.h.

◆ IND_ORIENT_Q2

#define IND_ORIENT_Q2   8

Definition at line 361 of file MTComm.h.

◆ IND_ORIENT_Q3

#define IND_ORIENT_Q3   12

Definition at line 362 of file MTComm.h.

◆ IND_ORIENT_ROLL

#define IND_ORIENT_ROLL   0

Definition at line 364 of file MTComm.h.

◆ IND_ORIENT_YAW

#define IND_ORIENT_YAW   8

Definition at line 366 of file MTComm.h.

◆ IND_PREAMBLE

#define IND_PREAMBLE   0

Definition at line 110 of file MTComm.h.

◆ IND_RAW_ACCX

#define IND_RAW_ACCX   0

Definition at line 338 of file MTComm.h.

◆ IND_RAW_ACCY

#define IND_RAW_ACCY   2

Definition at line 339 of file MTComm.h.

◆ IND_RAW_ACCZ

#define IND_RAW_ACCZ   4

Definition at line 340 of file MTComm.h.

◆ IND_RAW_GYRX

#define IND_RAW_GYRX   6

Definition at line 341 of file MTComm.h.

◆ IND_RAW_GYRY

#define IND_RAW_GYRY   8

Definition at line 342 of file MTComm.h.

◆ IND_RAW_GYRZ

#define IND_RAW_GYRZ   10

Definition at line 343 of file MTComm.h.

◆ IND_RAW_MAGX

#define IND_RAW_MAGX   12

Definition at line 344 of file MTComm.h.

◆ IND_RAW_MAGY

#define IND_RAW_MAGY   14

Definition at line 345 of file MTComm.h.

◆ IND_RAW_MAGZ

#define IND_RAW_MAGZ   16

Definition at line 346 of file MTComm.h.

◆ IND_RAW_TEMP

#define IND_RAW_TEMP   18

Definition at line 347 of file MTComm.h.

◆ IND_SAMPLECNTH

#define IND_SAMPLECNTH   0

Definition at line 378 of file MTComm.h.

◆ IND_SAMPLECNTL

#define IND_SAMPLECNTL   1

Definition at line 379 of file MTComm.h.

◆ INITTRACKMODE_DISABLED

#define INITTRACKMODE_DISABLED   0x0000

Definition at line 809 of file MTComm.h.

◆ INITTRACKMODE_ENABLED

#define INITTRACKMODE_ENABLED   0x0001

Definition at line 810 of file MTComm.h.

◆ INVALID_SET_FILE_POINTER

#define INVALID_SET_FILE_POINTER   ((DWORD)(-1))

Definition at line 106 of file MTComm.h.

◆ INVALIDSETTINGVALUE

#define INVALIDSETTINGVALUE   0xFFFFFFFF

Definition at line 478 of file MTComm.h.

◆ LEN_AMD

#define LEN_AMD   (const unsigned short)2

Definition at line 497 of file MTComm.h.

◆ LEN_BAUDRATE

#define LEN_BAUDRATE   (const unsigned short)1

Definition at line 200 of file MTComm.h.

◆ LEN_BUFFERSIZE

#define LEN_BUFFERSIZE   (const unsigned short)2

Definition at line 268 of file MTComm.h.

◆ LEN_CALIB_ACCDATA

#define LEN_CALIB_ACCDATA   (const unsigned short)12

Definition at line 320 of file MTComm.h.

◆ LEN_CALIB_ACCX

#define LEN_CALIB_ACCX   4

Definition at line 435 of file MTComm.h.

◆ LEN_CALIB_ACCY

#define LEN_CALIB_ACCY   4

Definition at line 436 of file MTComm.h.

◆ LEN_CALIB_ACCZ

#define LEN_CALIB_ACCZ   4

Definition at line 437 of file MTComm.h.

◆ LEN_CALIB_GYRDATA

#define LEN_CALIB_GYRDATA   (const unsigned short)12

Definition at line 321 of file MTComm.h.

◆ LEN_CALIB_GYRX

#define LEN_CALIB_GYRX   4

Definition at line 438 of file MTComm.h.

◆ LEN_CALIB_GYRY

#define LEN_CALIB_GYRY   4

Definition at line 439 of file MTComm.h.

◆ LEN_CALIB_GYRZ

#define LEN_CALIB_GYRZ   4

Definition at line 440 of file MTComm.h.

◆ LEN_CALIB_MAGDATA

#define LEN_CALIB_MAGDATA   (const unsigned short)12

Definition at line 322 of file MTComm.h.

◆ LEN_CALIB_MAGX

#define LEN_CALIB_MAGX   4

Definition at line 441 of file MTComm.h.

◆ LEN_CALIB_MAGY

#define LEN_CALIB_MAGY   4

Definition at line 442 of file MTComm.h.

◆ LEN_CALIB_MAGZ

#define LEN_CALIB_MAGZ   4

Definition at line 443 of file MTComm.h.

◆ LEN_CALIBDATA

#define LEN_CALIBDATA   (const unsigned short)36

Definition at line 319 of file MTComm.h.

◆ LEN_CALIBDATA_FLT

#define LEN_CALIBDATA_FLT   (const unsigned short)9

Definition at line 330 of file MTComm.h.

◆ LEN_CHECKSUM

#define LEN_CHECKSUM   (const unsigned short)1

Definition at line 131 of file MTComm.h.

◆ LEN_CONFIGURATION

#define LEN_CONFIGURATION   (const unsigned short)118

Definition at line 179 of file MTComm.h.

◆ LEN_DATALENGTH

#define LEN_DATALENGTH   (const unsigned short)2

Definition at line 176 of file MTComm.h.

◆ LEN_DEVICEID

#define LEN_DEVICEID   (const unsigned short)4

Definition at line 157 of file MTComm.h.

◆ LEN_ERROR

#define LEN_ERROR   (const unsigned short)1

Definition at line 485 of file MTComm.h.

◆ LEN_ERRORMODE

#define LEN_ERRORMODE   (const unsigned short)2

Definition at line 249 of file MTComm.h.

◆ LEN_EXTOUTPUTMODE

#define LEN_EXTOUTPUTMODE   (const unsigned short)2

Definition at line 287 of file MTComm.h.

◆ LEN_FILTERSETTINGS

#define LEN_FILTERSETTINGS   (const unsigned short)4

Definition at line 492 of file MTComm.h.

◆ LEN_FIRMWAREREV

#define LEN_FIRMWAREREV   (const unsigned short)3

Definition at line 187 of file MTComm.h.

◆ LEN_FLOAT

#define LEN_FLOAT   (const unsigned short)4

Definition at line 134 of file MTComm.h.

◆ LEN_HEADING

#define LEN_HEADING   (const unsigned short)4

Definition at line 275 of file MTComm.h.

◆ LEN_INITBUSRESULTS

#define LEN_INITBUSRESULTS   (const unsigned short)4

Definition at line 160 of file MTComm.h.

◆ LEN_INITTRACKMODE

#define LEN_INITTRACKMODE   (const unsigned short)2

Definition at line 298 of file MTComm.h.

◆ LEN_LOCATIONID

#define LEN_LOCATIONID   (const unsigned short)2

Definition at line 281 of file MTComm.h.

◆ LEN_MSGEXTHEADER

#define LEN_MSGEXTHEADER   (const unsigned short)6

Definition at line 128 of file MTComm.h.

◆ LEN_MSGEXTHEADERCS

#define LEN_MSGEXTHEADERCS   (const unsigned short)7

Definition at line 130 of file MTComm.h.

◆ LEN_MSGHEADER

#define LEN_MSGHEADER   (const unsigned short)4

Definition at line 127 of file MTComm.h.

◆ LEN_MSGHEADERCS

#define LEN_MSGHEADERCS   (const unsigned short)5

Definition at line 129 of file MTComm.h.

◆ LEN_ORIENT_A

#define LEN_ORIENT_A   4

Definition at line 454 of file MTComm.h.

◆ LEN_ORIENT_B

#define LEN_ORIENT_B   4

Definition at line 455 of file MTComm.h.

◆ LEN_ORIENT_C

#define LEN_ORIENT_C   4

Definition at line 456 of file MTComm.h.

◆ LEN_ORIENT_D

#define LEN_ORIENT_D   4

Definition at line 457 of file MTComm.h.

◆ LEN_ORIENT_E

#define LEN_ORIENT_E   4

Definition at line 458 of file MTComm.h.

◆ LEN_ORIENT_EULERDATA

#define LEN_ORIENT_EULERDATA   (const unsigned short)12

Definition at line 324 of file MTComm.h.

◆ LEN_ORIENT_EULERDATA_FLT

#define LEN_ORIENT_EULERDATA_FLT   (const unsigned short)3

Definition at line 332 of file MTComm.h.

◆ LEN_ORIENT_F

#define LEN_ORIENT_F   4

Definition at line 459 of file MTComm.h.

◆ LEN_ORIENT_G

#define LEN_ORIENT_G   4

Definition at line 460 of file MTComm.h.

◆ LEN_ORIENT_H

#define LEN_ORIENT_H   4

Definition at line 461 of file MTComm.h.

◆ LEN_ORIENT_I

#define LEN_ORIENT_I   4

Definition at line 462 of file MTComm.h.

◆ LEN_ORIENT_MATRIXDATA

#define LEN_ORIENT_MATRIXDATA   (const unsigned short)36

Definition at line 325 of file MTComm.h.

◆ LEN_ORIENT_MATRIXDATA_FLT

#define LEN_ORIENT_MATRIXDATA_FLT   (const unsigned short)9

Definition at line 333 of file MTComm.h.

◆ LEN_ORIENT_PITCH

#define LEN_ORIENT_PITCH   4

Definition at line 451 of file MTComm.h.

◆ LEN_ORIENT_Q0

#define LEN_ORIENT_Q0   4

Definition at line 445 of file MTComm.h.

◆ LEN_ORIENT_Q1

#define LEN_ORIENT_Q1   4

Definition at line 446 of file MTComm.h.

◆ LEN_ORIENT_Q2

#define LEN_ORIENT_Q2   4

Definition at line 447 of file MTComm.h.

◆ LEN_ORIENT_Q3

#define LEN_ORIENT_Q3   4

Definition at line 448 of file MTComm.h.

◆ LEN_ORIENT_QUATDATA

#define LEN_ORIENT_QUATDATA   (const unsigned short)16

Definition at line 323 of file MTComm.h.

◆ LEN_ORIENT_QUATDATA_FLT

#define LEN_ORIENT_QUATDATA_FLT   (const unsigned short)4

Definition at line 331 of file MTComm.h.

◆ LEN_ORIENT_ROLL

#define LEN_ORIENT_ROLL   4

Definition at line 450 of file MTComm.h.

◆ LEN_ORIENT_YAW

#define LEN_ORIENT_YAW   4

Definition at line 452 of file MTComm.h.

◆ LEN_OUTPUTMODE

#define LEN_OUTPUTMODE   (const unsigned short)2

Definition at line 214 of file MTComm.h.

◆ LEN_OUTPUTSETTINGS

#define LEN_OUTPUTSETTINGS   (const unsigned short)4

Definition at line 220 of file MTComm.h.

◆ LEN_OUTPUTSKIPFACTOR

#define LEN_OUTPUTSKIPFACTOR   (const unsigned short)2

Definition at line 226 of file MTComm.h.

◆ LEN_PERIOD

#define LEN_PERIOD   (const unsigned short)2

Definition at line 163 of file MTComm.h.

◆ LEN_RAW_ACCX

#define LEN_RAW_ACCX   2

Definition at line 424 of file MTComm.h.

◆ LEN_RAW_ACCY

#define LEN_RAW_ACCY   2

Definition at line 425 of file MTComm.h.

◆ LEN_RAW_ACCZ

#define LEN_RAW_ACCZ   2

Definition at line 426 of file MTComm.h.

◆ LEN_RAW_GYRX

#define LEN_RAW_GYRX   2

Definition at line 427 of file MTComm.h.

◆ LEN_RAW_GYRY

#define LEN_RAW_GYRY   2

Definition at line 428 of file MTComm.h.

◆ LEN_RAW_GYRZ

#define LEN_RAW_GYRZ   2

Definition at line 429 of file MTComm.h.

◆ LEN_RAW_MAGX

#define LEN_RAW_MAGX   2

Definition at line 430 of file MTComm.h.

◆ LEN_RAW_MAGY

#define LEN_RAW_MAGY   2

Definition at line 431 of file MTComm.h.

◆ LEN_RAW_MAGZ

#define LEN_RAW_MAGZ   2

Definition at line 432 of file MTComm.h.

◆ LEN_RAW_TEMP

#define LEN_RAW_TEMP   2

Definition at line 433 of file MTComm.h.

◆ LEN_RAWDATA

#define LEN_RAWDATA   (const unsigned short)20

Definition at line 318 of file MTComm.h.

◆ LEN_RESETORIENTATION

#define LEN_RESETORIENTATION   (const unsigned short)2

Definition at line 502 of file MTComm.h.

◆ LEN_SAMPLECNT

#define LEN_SAMPLECNT   (const unsigned short)2

Definition at line 326 of file MTComm.h.

◆ LEN_SYNCINMODE

#define LEN_SYNCINMODE   (const unsigned short)2

Definition at line 232 of file MTComm.h.

◆ LEN_SYNCINOFFSET

#define LEN_SYNCINOFFSET   (const unsigned short)4

Definition at line 234 of file MTComm.h.

◆ LEN_SYNCINSKIPFACTOR

#define LEN_SYNCINSKIPFACTOR   (const unsigned short)2

Definition at line 233 of file MTComm.h.

◆ LEN_SYNCOUTMODE

#define LEN_SYNCOUTMODE   (const unsigned short)2

Definition at line 240 of file MTComm.h.

◆ LEN_SYNCOUTOFFSET

#define LEN_SYNCOUTOFFSET   (const unsigned short)4

Definition at line 242 of file MTComm.h.

◆ LEN_SYNCOUTPULSEWIDTH

#define LEN_SYNCOUTPULSEWIDTH   (const unsigned short)4

Definition at line 243 of file MTComm.h.

◆ LEN_SYNCOUTSKIPFACTOR

#define LEN_SYNCOUTSKIPFACTOR   (const unsigned short)2

Definition at line 241 of file MTComm.h.

◆ LEN_TEMPDATA

#define LEN_TEMPDATA   (const unsigned short)4

Definition at line 327 of file MTComm.h.

◆ LEN_TRANSMITDELAY

#define LEN_TRANSMITDELAY   (const unsigned short)2

Definition at line 255 of file MTComm.h.

◆ LEN_UNSIGINT

#define LEN_UNSIGINT   (const unsigned short)4

Definition at line 133 of file MTComm.h.

◆ LEN_UNSIGSHORT

#define LEN_UNSIGSHORT   (const unsigned short)2

Definition at line 132 of file MTComm.h.

◆ LEN_XMERRORMODE

#define LEN_XMERRORMODE   (const unsigned short)2

Definition at line 262 of file MTComm.h.

◆ MAXDATALEN

#define MAXDATALEN   (const unsigned short)2048

Definition at line 137 of file MTComm.h.

◆ MAXDEVICES

#define MAXDEVICES   20

Definition at line 120 of file MTComm.h.

◆ MAXMSGLEN

#define MAXMSGLEN   (const unsigned short)(MAXDATALEN+7)

Definition at line 139 of file MTComm.h.

◆ MAXSHORTDATALEN

#define MAXSHORTDATALEN   (const unsigned short)254

Definition at line 138 of file MTComm.h.

◆ MAXSHORTMSGLEN

#define MAXSHORTMSGLEN   (const unsigned short)(MAXSHORTDATALEN+5)

Definition at line 140 of file MTComm.h.

◆ MID_AUTOSTART

#define MID_AUTOSTART   (const unsigned char)0x06

Definition at line 169 of file MTComm.h.

◆ MID_AUTOSTARTACK

#define MID_AUTOSTARTACK   (const unsigned char)0x07

Definition at line 170 of file MTComm.h.

◆ MID_BATLEVEL

#define MID_BATLEVEL   (const unsigned char)0x89

Definition at line 293 of file MTComm.h.

◆ MID_BUSDATA

#define MID_BUSDATA   (const unsigned char)0x32

Definition at line 308 of file MTComm.h.

◆ MID_BUSPWROFF

#define MID_BUSPWROFF   (const unsigned char)0x08

Definition at line 171 of file MTComm.h.

◆ MID_BUSPWROFFACK

#define MID_BUSPWROFFACK   (const unsigned char)0x09

Definition at line 172 of file MTComm.h.

◆ MID_CONFIGURATION

#define MID_CONFIGURATION   (const unsigned char)0x0D

Definition at line 178 of file MTComm.h.

◆ MID_DATALENGTH

#define MID_DATALENGTH   (const unsigned char)0x0B

Definition at line 175 of file MTComm.h.

◆ MID_DEVICEID

#define MID_DEVICEID   (const unsigned char)0x01

Definition at line 156 of file MTComm.h.

◆ MID_DISABLEBT

#define MID_DISABLEBT   (const unsigned char)0x14

Definition at line 191 of file MTComm.h.

◆ MID_DISABLEBTACK

#define MID_DISABLEBTACK   (const unsigned char)0x15

Definition at line 192 of file MTComm.h.

◆ MID_ERROR

#define MID_ERROR   (const unsigned char)0x42

Definition at line 484 of file MTComm.h.

◆ MID_FIRMWAREREV

#define MID_FIRMWAREREV   (const unsigned char)0x13

Definition at line 186 of file MTComm.h.

◆ MID_GOTOCONFIG

#define MID_GOTOCONFIG   (const unsigned char)0x30

Definition at line 306 of file MTComm.h.

◆ MID_GOTOCONFIGACK

#define MID_GOTOCONFIGACK   (const unsigned char)0x31

Definition at line 307 of file MTComm.h.

◆ MID_GOTOMEASUREMENT

#define MID_GOTOMEASUREMENT   (const unsigned char)0x10

Definition at line 183 of file MTComm.h.

◆ MID_GOTOMEASUREMENTACK

#define MID_GOTOMEASUREMENTACK   (const unsigned char)0x11

Definition at line 184 of file MTComm.h.

◆ MID_INITBUS

#define MID_INITBUS   (const unsigned char)0x02

Definition at line 158 of file MTComm.h.

◆ MID_INITBUSRESULTS

#define MID_INITBUSRESULTS   (const unsigned char)0x03

Definition at line 159 of file MTComm.h.

◆ MID_MTDATA

#define MID_MTDATA   (const unsigned char)0x32

Definition at line 309 of file MTComm.h.

◆ MID_PREPAREDATA

#define MID_PREPAREDATA   (const unsigned char)0x32

Definition at line 312 of file MTComm.h.

◆ MID_PRODUCTCODE

#define MID_PRODUCTCODE   (const unsigned char)0x1D

Definition at line 210 of file MTComm.h.

◆ MID_REQAMD

#define MID_REQAMD   (const unsigned char)0xA2

Definition at line 495 of file MTComm.h.

◆ MID_REQAMDACK

#define MID_REQAMDACK   (const unsigned char)0xA3

Definition at line 496 of file MTComm.h.

◆ MID_REQBATLEVEL

#define MID_REQBATLEVEL   (const unsigned char)0x88

Definition at line 292 of file MTComm.h.

◆ MID_REQBAUDRATE

#define MID_REQBAUDRATE   (const unsigned char)0x18

Definition at line 198 of file MTComm.h.

◆ MID_REQBAUDRATEACK

#define MID_REQBAUDRATEACK   (const unsigned char)0x19

Definition at line 199 of file MTComm.h.

◆ MID_REQBTDISABLE

#define MID_REQBTDISABLE   (const unsigned char)0x14

Definition at line 189 of file MTComm.h.

◆ MID_REQBTDISABLEACK

#define MID_REQBTDISABLEACK   (const unsigned char)0x15

Definition at line 190 of file MTComm.h.

◆ MID_REQBUFFERSIZE

#define MID_REQBUFFERSIZE   (const unsigned char)0x84

Definition at line 266 of file MTComm.h.

◆ MID_REQBUFFERSIZEACK

#define MID_REQBUFFERSIZEACK   (const unsigned char)0x85

Definition at line 267 of file MTComm.h.

◆ MID_REQCONFIGURATION

#define MID_REQCONFIGURATION   (const unsigned char)0x0C

Definition at line 177 of file MTComm.h.

◆ MID_REQDATA

#define MID_REQDATA   (const unsigned char)0x34

Definition at line 313 of file MTComm.h.

◆ MID_REQDATAACK

#define MID_REQDATAACK   (const unsigned char)0x35

Definition at line 314 of file MTComm.h.

◆ MID_REQDATALENGTH

#define MID_REQDATALENGTH   (const unsigned char)0x0A

Definition at line 174 of file MTComm.h.

◆ MID_REQDID

#define MID_REQDID   (const unsigned char)0x00

Definition at line 155 of file MTComm.h.

◆ MID_REQERRORMODE

#define MID_REQERRORMODE   (const unsigned char)0xDA

Definition at line 247 of file MTComm.h.

◆ MID_REQERRORMODEACK

#define MID_REQERRORMODEACK   (const unsigned char)0xDB

Definition at line 248 of file MTComm.h.

◆ MID_REQEXTOUTPUTMODE

#define MID_REQEXTOUTPUTMODE   (const unsigned char)0x86

Definition at line 285 of file MTComm.h.

◆ MID_REQEXTOUTPUTMODEACK

#define MID_REQEXTOUTPUTMODEACK   (const unsigned char)0x87

Definition at line 286 of file MTComm.h.

◆ MID_REQFILTERSETTINGS

#define MID_REQFILTERSETTINGS   (const unsigned char)0xA0

Definition at line 490 of file MTComm.h.

◆ MID_REQFILTERSETTINGSACK

#define MID_REQFILTERSETTINGSACK   (const unsigned char)0xA1

Definition at line 491 of file MTComm.h.

◆ MID_REQFWREV

#define MID_REQFWREV   (const unsigned char)0x12

Definition at line 185 of file MTComm.h.

◆ MID_REQHEADING

#define MID_REQHEADING   (const unsigned char)0x82

Definition at line 273 of file MTComm.h.

◆ MID_REQHEADINGACK

#define MID_REQHEADINGACK   (const unsigned char)0x83

Definition at line 274 of file MTComm.h.

◆ MID_REQINITTRACKMODE

#define MID_REQINITTRACKMODE   (const unsigned char)0x88

Definition at line 296 of file MTComm.h.

◆ MID_REQINITTRACKMODEACK

#define MID_REQINITTRACKMODEACK   (const unsigned char)0x89

Definition at line 297 of file MTComm.h.

◆ MID_REQLOCATIONID

#define MID_REQLOCATIONID   (const unsigned char)0x84

Definition at line 279 of file MTComm.h.

◆ MID_REQLOCATIONIDACK

#define MID_REQLOCATIONIDACK   (const unsigned char)0x85

Definition at line 280 of file MTComm.h.

◆ MID_REQOPMODE

#define MID_REQOPMODE   (const unsigned char)0x16

Definition at line 193 of file MTComm.h.

◆ MID_REQOPMODEACK

#define MID_REQOPMODEACK   (const unsigned char)0x17

Definition at line 194 of file MTComm.h.

◆ MID_REQOUTPUTMODE

#define MID_REQOUTPUTMODE   (const unsigned char)0xD0

Definition at line 212 of file MTComm.h.

◆ MID_REQOUTPUTMODEACK

#define MID_REQOUTPUTMODEACK   (const unsigned char)0xD1

Definition at line 213 of file MTComm.h.

◆ MID_REQOUTPUTSETTINGS

#define MID_REQOUTPUTSETTINGS   (const unsigned char)0xD2

Definition at line 218 of file MTComm.h.

◆ MID_REQOUTPUTSETTINGSACK

#define MID_REQOUTPUTSETTINGSACK   (const unsigned char)0xD3

Definition at line 219 of file MTComm.h.

◆ MID_REQOUTPUTSKIPFACTOR

#define MID_REQOUTPUTSKIPFACTOR   (const unsigned char)0xD4

Definition at line 224 of file MTComm.h.

◆ MID_REQOUTPUTSKIPFACTORACK

#define MID_REQOUTPUTSKIPFACTORACK   (const unsigned char)0xD5

Definition at line 225 of file MTComm.h.

◆ MID_REQPERIOD

#define MID_REQPERIOD   (const unsigned char)0x04

Definition at line 161 of file MTComm.h.

◆ MID_REQPERIODACK

#define MID_REQPERIODACK   (const unsigned char)0x05

Definition at line 162 of file MTComm.h.

◆ MID_REQPRODUCTCODE

#define MID_REQPRODUCTCODE   (const unsigned char)0x1C

Definition at line 209 of file MTComm.h.

◆ MID_REQSYNCINSETTINGS

#define MID_REQSYNCINSETTINGS   (const unsigned char)0xD6

Definition at line 230 of file MTComm.h.

◆ MID_REQSYNCINSETTINGSACK

#define MID_REQSYNCINSETTINGSACK   (const unsigned char)0xD7

Definition at line 231 of file MTComm.h.

◆ MID_REQSYNCMODE

#define MID_REQSYNCMODE   (const unsigned char)0x1A

Definition at line 204 of file MTComm.h.

◆ MID_REQSYNCMODEACK

#define MID_REQSYNCMODEACK   (const unsigned char)0x1B

Definition at line 205 of file MTComm.h.

◆ MID_REQSYNCOUTSETTINGS

#define MID_REQSYNCOUTSETTINGS   (const unsigned char)0xD8

Definition at line 238 of file MTComm.h.

◆ MID_REQSYNCOUTSETTINGSACK

#define MID_REQSYNCOUTSETTINGSACK   (const unsigned char)0xD9

Definition at line 239 of file MTComm.h.

◆ MID_REQTRANSMITDELAY

#define MID_REQTRANSMITDELAY   (const unsigned char)0xDC

Definition at line 253 of file MTComm.h.

◆ MID_REQTRANSMITDELAYACK

#define MID_REQTRANSMITDELAYACK   (const unsigned char)0xDD

Definition at line 254 of file MTComm.h.

◆ MID_REQXMERRORMODE

#define MID_REQXMERRORMODE   (const unsigned char)0x82

Definition at line 260 of file MTComm.h.

◆ MID_REQXMERRORMODEACK

#define MID_REQXMERRORMODEACK   (const unsigned char)0x83

Definition at line 261 of file MTComm.h.

◆ MID_RESET

#define MID_RESET   (const unsigned char)0x40

Definition at line 482 of file MTComm.h.

◆ MID_RESETACK

#define MID_RESETACK   (const unsigned char)0x41

Definition at line 483 of file MTComm.h.

◆ MID_RESETORIENTATION

#define MID_RESETORIENTATION   (const unsigned char)0xA4

Definition at line 500 of file MTComm.h.

◆ MID_RESETORIENTATIONACK

#define MID_RESETORIENTATIONACK   (const unsigned char)0xA5

Definition at line 501 of file MTComm.h.

◆ MID_RESTOREFACTORYDEF

#define MID_RESTOREFACTORYDEF   (const unsigned char)0x0E

Definition at line 180 of file MTComm.h.

◆ MID_RESTOREFACTORYDEFACK

#define MID_RESTOREFACTORYDEFACK   (const unsigned char)0x0F

Definition at line 181 of file MTComm.h.

◆ MID_SETAMD

#define MID_SETAMD   (const unsigned char)0xA2

Definition at line 498 of file MTComm.h.

◆ MID_SETAMDACK

#define MID_SETAMDACK   (const unsigned char)0xA3

Definition at line 499 of file MTComm.h.

◆ MID_SETBAUDRATE

#define MID_SETBAUDRATE   (const unsigned char)0x18

Definition at line 201 of file MTComm.h.

◆ MID_SETBAUDRATEACK

#define MID_SETBAUDRATEACK   (const unsigned char)0x19

Definition at line 202 of file MTComm.h.

◆ MID_SETBID

#define MID_SETBID   (const unsigned char)0x06

Definition at line 167 of file MTComm.h.

◆ MID_SETBIDACK

#define MID_SETBIDACK   (const unsigned char)0x07

Definition at line 168 of file MTComm.h.

◆ MID_SETBUFFERSIZE

#define MID_SETBUFFERSIZE   (const unsigned char)0x84

Definition at line 269 of file MTComm.h.

◆ MID_SETBUFFERSIZEACK

#define MID_SETBUFFERSIZEACK   (const unsigned char)0x85

Definition at line 270 of file MTComm.h.

◆ MID_SETERRORMODE

#define MID_SETERRORMODE   (const unsigned char)0xDA

Definition at line 250 of file MTComm.h.

◆ MID_SETERRORMODEACK

#define MID_SETERRORMODEACK   (const unsigned char)0xDB

Definition at line 251 of file MTComm.h.

◆ MID_SETEXTOUTPUTMODE

#define MID_SETEXTOUTPUTMODE   (const unsigned char)0x86

Definition at line 288 of file MTComm.h.

◆ MID_SETEXTOUTPUTMODEACK

#define MID_SETEXTOUTPUTMODEACK   (const unsigned char)0x87

Definition at line 289 of file MTComm.h.

◆ MID_SETFILTERSETTINGS

#define MID_SETFILTERSETTINGS   (const unsigned char)0xA0

Definition at line 493 of file MTComm.h.

◆ MID_SETFILTERSETTINGSACK

#define MID_SETFILTERSETTINGSACK   (const unsigned char)0xA1

Definition at line 494 of file MTComm.h.

◆ MID_SETHEADING

#define MID_SETHEADING   (const unsigned char)0x82

Definition at line 276 of file MTComm.h.

◆ MID_SETHEADINGACK

#define MID_SETHEADINGACK   (const unsigned char)0x83

Definition at line 277 of file MTComm.h.

◆ MID_SETINITTRACKMODE

#define MID_SETINITTRACKMODE   (const unsigned char)0x88

Definition at line 299 of file MTComm.h.

◆ MID_SETINITTRACKMODEACK

#define MID_SETINITTRACKMODEACK   (const unsigned char)0x89

Definition at line 300 of file MTComm.h.

◆ MID_SETLOCATIONID

#define MID_SETLOCATIONID   (const unsigned char)0x84

Definition at line 282 of file MTComm.h.

◆ MID_SETLOCATIONIDACK

#define MID_SETLOCATIONIDACK   (const unsigned char)0x85

Definition at line 283 of file MTComm.h.

◆ MID_SETOPMODE

#define MID_SETOPMODE   (const unsigned char)0x16

Definition at line 195 of file MTComm.h.

◆ MID_SETOPMODEACK

#define MID_SETOPMODEACK   (const unsigned char)0x17

Definition at line 196 of file MTComm.h.

◆ MID_SETOUTPUTMODE

#define MID_SETOUTPUTMODE   (const unsigned char)0xD0

Definition at line 215 of file MTComm.h.

◆ MID_SETOUTPUTMODEACK

#define MID_SETOUTPUTMODEACK   (const unsigned char)0xD1

Definition at line 216 of file MTComm.h.

◆ MID_SETOUTPUTSETTINGS

#define MID_SETOUTPUTSETTINGS   (const unsigned char)0xD2

Definition at line 221 of file MTComm.h.

◆ MID_SETOUTPUTSETTINGSACK

#define MID_SETOUTPUTSETTINGSACK   (const unsigned char)0xD3

Definition at line 222 of file MTComm.h.

◆ MID_SETOUTPUTSKIPFACTOR

#define MID_SETOUTPUTSKIPFACTOR   (const unsigned char)0xD4

Definition at line 227 of file MTComm.h.

◆ MID_SETOUTPUTSKIPFACTORACK

#define MID_SETOUTPUTSKIPFACTORACK   (const unsigned char)0xD5

Definition at line 228 of file MTComm.h.

◆ MID_SETPERIOD

#define MID_SETPERIOD   (const unsigned char)0x04

Definition at line 164 of file MTComm.h.

◆ MID_SETPERIODACK

#define MID_SETPERIODACK   (const unsigned char)0x05

Definition at line 165 of file MTComm.h.

◆ MID_SETSYNCINSETTINGS

#define MID_SETSYNCINSETTINGS   (const unsigned char)0xD6

Definition at line 235 of file MTComm.h.

◆ MID_SETSYNCINSETTINGSACK

#define MID_SETSYNCINSETTINGSACK   (const unsigned char)0xD7

Definition at line 236 of file MTComm.h.

◆ MID_SETSYNCMODE

#define MID_SETSYNCMODE   (const unsigned char)0x1A

Definition at line 206 of file MTComm.h.

◆ MID_SETSYNCMODEACK

#define MID_SETSYNCMODEACK   (const unsigned char)0x1B

Definition at line 207 of file MTComm.h.

◆ MID_SETSYNCOUTSETTINGS

#define MID_SETSYNCOUTSETTINGS   (const unsigned char)0xD8

Definition at line 244 of file MTComm.h.

◆ MID_SETSYNCOUTSETTINGSACK

#define MID_SETSYNCOUTSETTINGSACK   (const unsigned char)0xD9

Definition at line 245 of file MTComm.h.

◆ MID_SETTRANSMITDELAY

#define MID_SETTRANSMITDELAY   (const unsigned char)0xDC

Definition at line 256 of file MTComm.h.

◆ MID_SETTRANSMITDELAYACK

#define MID_SETTRANSMITDELAYACK   (const unsigned char)0xDD

Definition at line 257 of file MTComm.h.

◆ MID_SETXMERRORMODE

#define MID_SETXMERRORMODE   (const unsigned char)0x82

Definition at line 263 of file MTComm.h.

◆ MID_SETXMERRORMODEACK

#define MID_SETXMERRORMODEACK   (const unsigned char)0x83

Definition at line 264 of file MTComm.h.

◆ MID_STOREFILTERSTATE

#define MID_STOREFILTERSTATE   (const unsigned char)0x8A

Definition at line 302 of file MTComm.h.

◆ MID_STOREFILTERSTATEACK

#define MID_STOREFILTERSTATEACK   (const unsigned char)0x8B

Definition at line 303 of file MTComm.h.

◆ MID_WAKEUP

#define MID_WAKEUP   (const unsigned char)0x3E

Definition at line 151 of file MTComm.h.

◆ MID_WAKEUPACK

#define MID_WAKEUPACK   (const unsigned char)0x3F

Definition at line 152 of file MTComm.h.

◆ MID_XMPWROFF

#define MID_XMPWROFF   (const unsigned char)0x44

Definition at line 487 of file MTComm.h.

◆ MSG_AUTOSTART

#define MSG_AUTOSTART   (const unsigned char *)"\xFA\xFF\x06\x00"

Definition at line 525 of file MTComm.h.

◆ MSG_AUTOSTARTACKLEN

#define MSG_AUTOSTARTACKLEN   5

Definition at line 527 of file MTComm.h.

◆ MSG_AUTOSTARTLEN

#define MSG_AUTOSTARTLEN   4

Definition at line 526 of file MTComm.h.

◆ MSG_BUSPWROFF

#define MSG_BUSPWROFF   (const unsigned char *)"\xFA\xFF\x08\x00"

Definition at line 528 of file MTComm.h.

◆ MSG_BUSPWROFFACKLEN

#define MSG_BUSPWROFFACKLEN   5

Definition at line 530 of file MTComm.h.

◆ MSG_BUSPWROFFLEN

#define MSG_BUSPWROFFLEN   4

Definition at line 529 of file MTComm.h.

◆ MSG_DATALENGTHLEN

#define MSG_DATALENGTHLEN   7

Definition at line 536 of file MTComm.h.

◆ MSG_DEVICEIDLEN

#define MSG_DEVICEIDLEN   9

Definition at line 512 of file MTComm.h.

◆ MSG_DISABLEBT

#define MSG_DISABLEBT   (const unsigned char *)"\xFA\xFF\x14\x01"

Definition at line 550 of file MTComm.h.

◆ MSG_DISABLEBTACKLEN

#define MSG_DISABLEBTACKLEN   5

Definition at line 552 of file MTComm.h.

◆ MSG_DISABLEBTLEN

#define MSG_DISABLEBTLEN   5

Definition at line 551 of file MTComm.h.

◆ MSG_FIRMWAREREVLEN

#define MSG_FIRMWAREREVLEN   8

Definition at line 546 of file MTComm.h.

◆ MSG_GOTOCONFIG

#define MSG_GOTOCONFIG   (const unsigned char *)"\xFA\xFF\x30\x00"

Definition at line 595 of file MTComm.h.

◆ MSG_GOTOCONFIGACKLEN

#define MSG_GOTOCONFIGACKLEN   5

Definition at line 597 of file MTComm.h.

◆ MSG_GOTOCONFIGLEN

#define MSG_GOTOCONFIGLEN   4

Definition at line 596 of file MTComm.h.

◆ MSG_GOTOCONFIGM

#define MSG_GOTOCONFIGM   (const unsigned char *)"\xFA\x01\x30\x00"

Definition at line 599 of file MTComm.h.

◆ MSG_GOTOCONFIGMACKLEN

#define MSG_GOTOCONFIGMACKLEN   5

Definition at line 601 of file MTComm.h.

◆ MSG_GOTOCONFIGMLEN

#define MSG_GOTOCONFIGMLEN   4

Definition at line 600 of file MTComm.h.

◆ MSG_GOTOMEASACKLEN

#define MSG_GOTOMEASACKLEN   5

Definition at line 543 of file MTComm.h.

◆ MSG_GOTOMEASMAN

#define MSG_GOTOMEASMAN   (const unsigned char *)"\xFA\x01\x10\x00"

Definition at line 541 of file MTComm.h.

◆ MSG_GOTOMEASMANLEN

#define MSG_GOTOMEASMANLEN   4

Definition at line 542 of file MTComm.h.

◆ MSG_GOTOMEASUREMENT

#define MSG_GOTOMEASUREMENT   (const unsigned char *)"\xFA\xFF\x10\x00"

Definition at line 539 of file MTComm.h.

◆ MSG_GOTOMEASUREMENTLEN

#define MSG_GOTOMEASUREMENTLEN   4

Definition at line 540 of file MTComm.h.

◆ MSG_INITBUS

#define MSG_INITBUS   (const unsigned char *)"\xFA\xFF\x02\x00"

Definition at line 513 of file MTComm.h.

◆ MSG_INITBUSLEN

#define MSG_INITBUSLEN   4

Definition at line 514 of file MTComm.h.

◆ MSG_INITBUSRESMAXLEN

#define MSG_INITBUSRESMAXLEN   (5 + 4 * MAXSENSORS)

Definition at line 515 of file MTComm.h.

◆ MSG_MTSDATA

#define MSG_MTSDATA   61

Definition at line 573 of file MTComm.h.

◆ MSG_PREPAREDATA

#define MSG_PREPAREDATA   (const unsigned char *)"\xFA\x01\x32\x00"

Definition at line 602 of file MTComm.h.

◆ MSG_PREPAREDATALEN

#define MSG_PREPAREDATALEN   4

Definition at line 603 of file MTComm.h.

◆ MSG_REQBAUDRATE

#define MSG_REQBAUDRATE   (const unsigned char *)"\xFA\xFF\x18\x00"

Definition at line 559 of file MTComm.h.

◆ MSG_REQBAUDRATEACKLEN

#define MSG_REQBAUDRATEACKLEN   6

Definition at line 561 of file MTComm.h.

◆ MSG_REQBAUDRATELEN

#define MSG_REQBAUDRATELEN   4

Definition at line 560 of file MTComm.h.

◆ MSG_REQBTDISABLED

#define MSG_REQBTDISABLED   (const unsigned char *)"\xFA\xFF\x14\x00"

Definition at line 547 of file MTComm.h.

◆ MSG_REQBTDISABLEDACKLEN

#define MSG_REQBTDISABLEDACKLEN   6

Definition at line 549 of file MTComm.h.

◆ MSG_REQBTDISABLEDLEN

#define MSG_REQBTDISABLEDLEN   4

Definition at line 548 of file MTComm.h.

◆ MSG_REQCONFIGURATION

#define MSG_REQCONFIGURATION   (const unsigned char *)"\xFA\xFF\x0C\x00"

Definition at line 537 of file MTComm.h.

◆ MSG_REQCONFIGURATIONLEN

#define MSG_REQCONFIGURATIONLEN   4

Definition at line 538 of file MTComm.h.

◆ MSG_REQDATA

#define MSG_REQDATA   (const unsigned char *)"\xFA\x01\x34\x00"

Definition at line 604 of file MTComm.h.

◆ MSG_REQDATALEN

#define MSG_REQDATALEN   4

Definition at line 605 of file MTComm.h.

◆ MSG_REQDATALENGTH

#define MSG_REQDATALENGTH   (const unsigned char *)"\xFA\xFF\x0A\x00"

Definition at line 534 of file MTComm.h.

◆ MSG_REQDATALENGTHLEN

#define MSG_REQDATALENGTHLEN   4

Definition at line 535 of file MTComm.h.

◆ MSG_REQDID

#define MSG_REQDID   (const unsigned char *)"\xFA\xFF\x00\x00"

Definition at line 510 of file MTComm.h.

◆ MSG_REQDIDLEN

#define MSG_REQDIDLEN   4

Definition at line 511 of file MTComm.h.

◆ MSG_REQERRORMODE

#define MSG_REQERRORMODE   (const unsigned char *)"\xFA\xFF\xDA\x00"

Definition at line 591 of file MTComm.h.

◆ MSG_REQERRORMODEACKLEN

#define MSG_REQERRORMODEACKLEN   7

Definition at line 593 of file MTComm.h.

◆ MSG_REQERRORMODELEN

#define MSG_REQERRORMODELEN   4

Definition at line 592 of file MTComm.h.

◆ MSG_REQFWREV

#define MSG_REQFWREV   (const unsigned char *)"\xFA\xFF\x12\x00"

Definition at line 544 of file MTComm.h.

◆ MSG_REQFWREVLEN

#define MSG_REQFWREVLEN   4

Definition at line 545 of file MTComm.h.

◆ MSG_REQMTS

#define MSG_REQMTS   (const unsigned char *)"\xFA\xFF\x90\x01"

Definition at line 571 of file MTComm.h.

◆ MSG_REQMTSLEN

#define MSG_REQMTSLEN   5

Definition at line 572 of file MTComm.h.

◆ MSG_REQOPMODE

#define MSG_REQOPMODE   (const unsigned char *)"\xFA\xFF\x16\x00"

Definition at line 553 of file MTComm.h.

◆ MSG_REQOPMODEACKLEN

#define MSG_REQOPMODEACKLEN   6

Definition at line 555 of file MTComm.h.

◆ MSG_REQOPMODELEN

#define MSG_REQOPMODELEN   4

Definition at line 554 of file MTComm.h.

◆ MSG_REQPERIOD

#define MSG_REQPERIOD   (const unsigned char *)"\xFA\xFF\x04\x00"

Definition at line 516 of file MTComm.h.

◆ MSG_REQPERIODACKLEN

#define MSG_REQPERIODACKLEN   7

Definition at line 518 of file MTComm.h.

◆ MSG_REQPERIODLEN

#define MSG_REQPERIODLEN   4

Definition at line 517 of file MTComm.h.

◆ MSG_REQSYNCMODE

#define MSG_REQSYNCMODE   (const unsigned char *)"\xFA\xFF\x1A\x00"

Definition at line 565 of file MTComm.h.

◆ MSG_REQSYNCMODEACKLEN

#define MSG_REQSYNCMODEACKLEN   6

Definition at line 567 of file MTComm.h.

◆ MSG_REQSYNCMODELEN

#define MSG_REQSYNCMODELEN   4

Definition at line 566 of file MTComm.h.

◆ MSG_REQSYNCOUTMODE

#define MSG_REQSYNCOUTMODE   (const unsigned char *)"\xFA\xFF\xD8\x01\x00"

Definition at line 583 of file MTComm.h.

◆ MSG_REQSYNCOUTMODELEN

#define MSG_REQSYNCOUTMODELEN   5

Definition at line 584 of file MTComm.h.

◆ MSG_REQSYNCOUTOFFSET

#define MSG_REQSYNCOUTOFFSET   (const unsigned char *)"\xFA\xFF\xD8\x01\x02"

Definition at line 587 of file MTComm.h.

◆ MSG_REQSYNCOUTOFFSETLEN

#define MSG_REQSYNCOUTOFFSETLEN   5

Definition at line 588 of file MTComm.h.

◆ MSG_REQSYNCOUTPULSEWIDTH

#define MSG_REQSYNCOUTPULSEWIDTH   (const unsigned char *)"\xFA\xFF\xD8\x01\x03"

Definition at line 589 of file MTComm.h.

◆ MSG_REQSYNCOUTPULSEWIDTHLEN

#define MSG_REQSYNCOUTPULSEWIDTHLEN   5

Definition at line 590 of file MTComm.h.

◆ MSG_REQSYNCOUTSKIPFACTOR

#define MSG_REQSYNCOUTSKIPFACTOR   (const unsigned char *)"\xFA\xFF\xD8\x01\x01"

Definition at line 585 of file MTComm.h.

◆ MSG_REQSYNCOUTSKIPFACTORLEN

#define MSG_REQSYNCOUTSKIPFACTORLEN   5

Definition at line 586 of file MTComm.h.

◆ MSG_RESET

#define MSG_RESET   (const unsigned char *)"\xFA\xFF\x40\x00"

Definition at line 607 of file MTComm.h.

◆ MSG_RESETACKLEN

#define MSG_RESETACKLEN   5

Definition at line 609 of file MTComm.h.

◆ MSG_RESETLEN

#define MSG_RESETLEN   4

Definition at line 608 of file MTComm.h.

◆ MSG_RESTOREFACTORYDEF

#define MSG_RESTOREFACTORYDEF   (const unsigned char *)"\xFA\xFF\x0E\x00"

Definition at line 531 of file MTComm.h.

◆ MSG_RESTOREFACTORYDEFACKLEN

#define MSG_RESTOREFACTORYDEFACKLEN   5

Definition at line 533 of file MTComm.h.

◆ MSG_RESTOREFACTORYDEFLEN

#define MSG_RESTOREFACTORYDEFLEN   4

Definition at line 532 of file MTComm.h.

◆ MSG_REVTOORGMTS

#define MSG_REVTOORGMTS   (const unsigned char *)"\xFA\xFF\x94\x00"

Definition at line 577 of file MTComm.h.

◆ MSG_REVTOORGMTSACKLEN

#define MSG_REVTOORGMTSACKLEN   5

Definition at line 579 of file MTComm.h.

◆ MSG_REVTOORGMTSLEN

#define MSG_REVTOORGMTSLEN   4

Definition at line 578 of file MTComm.h.

◆ MSG_SETBAUDRATE

#define MSG_SETBAUDRATE   (const unsigned char *)"\xFA\xFF\x18\x01"

Definition at line 562 of file MTComm.h.

◆ MSG_SETBAUDRATEACKLEN

#define MSG_SETBAUDRATEACKLEN   5

Definition at line 564 of file MTComm.h.

◆ MSG_SETBAUDRATELEN

#define MSG_SETBAUDRATELEN   5

Definition at line 563 of file MTComm.h.

◆ MSG_SETBID

#define MSG_SETBID   (const unsigned char *)"\xFA\xFF\x06\x05"

Definition at line 522 of file MTComm.h.

◆ MSG_SETBIDACKLEN

#define MSG_SETBIDACKLEN   5

Definition at line 524 of file MTComm.h.

◆ MSG_SETBIDLEN

#define MSG_SETBIDLEN   9

Definition at line 523 of file MTComm.h.

◆ MSG_SETOPMODE

#define MSG_SETOPMODE   (const unsigned char *)"\xFA\xFF\x16\x01"

Definition at line 556 of file MTComm.h.

◆ MSG_SETOPMODEACKLEN

#define MSG_SETOPMODEACKLEN   5

Definition at line 558 of file MTComm.h.

◆ MSG_SETOPMODELEN

#define MSG_SETOPMODELEN   5

Definition at line 557 of file MTComm.h.

◆ MSG_SETPERIOD

#define MSG_SETPERIOD   (const unsigned char *)"\xFA\xFF\x04\x02"

Definition at line 519 of file MTComm.h.

◆ MSG_SETPERIODACKLEN

#define MSG_SETPERIODACKLEN   5

Definition at line 521 of file MTComm.h.

◆ MSG_SETPERIODLEN

#define MSG_SETPERIODLEN   6

Definition at line 520 of file MTComm.h.

◆ MSG_SETSYNCMODE

#define MSG_SETSYNCMODE   (const unsigned char *)"\xFA\xFF\x1A\x01"

Definition at line 568 of file MTComm.h.

◆ MSG_SETSYNCMODEACKLEN

#define MSG_SETSYNCMODEACKLEN   6

Definition at line 570 of file MTComm.h.

◆ MSG_SETSYNCMODELEN

#define MSG_SETSYNCMODELEN   5

Definition at line 569 of file MTComm.h.

◆ MSG_STORECUSMTS

#define MSG_STORECUSMTS   (const unsigned char *)"\xFA\xFF\x92\x58"

Definition at line 574 of file MTComm.h.

◆ MSG_STORECUSMTSACKLEN

#define MSG_STORECUSMTSACKLEN   5

Definition at line 576 of file MTComm.h.

◆ MSG_STORECUSMTSLEN

#define MSG_STORECUSMTSLEN   92

Definition at line 575 of file MTComm.h.

◆ MSG_STOREMTS

#define MSG_STOREMTS   (const unsigned char *)"\xFA\xFF\x96\x41"

Definition at line 580 of file MTComm.h.

◆ MSG_STOREMTSACKLEN

#define MSG_STOREMTSACKLEN   5

Definition at line 582 of file MTComm.h.

◆ MSG_STOREMTSLEN

#define MSG_STOREMTSLEN   69

Definition at line 581 of file MTComm.h.

◆ MSG_WAKEUPACK

#define MSG_WAKEUPACK   (const unsigned char *)"\xFA\xFF\x3F\x00"

Definition at line 507 of file MTComm.h.

◆ MSG_WAKEUPACKLEN

#define MSG_WAKEUPACKLEN   4

Definition at line 508 of file MTComm.h.

◆ MSG_WAKEUPLEN

#define MSG_WAKEUPLEN   5

Definition at line 506 of file MTComm.h.

◆ MSG_XMPWROFF

#define MSG_XMPWROFF   (const unsigned char *)"\xFA\xFF\x44\x00"

Definition at line 610 of file MTComm.h.

◆ MSG_XMPWROFFACKLEN

#define MSG_XMPWROFFACKLEN   5

Definition at line 612 of file MTComm.h.

◆ MSG_XMPWROFFLEN

#define MSG_XMPWROFFLEN   4

Definition at line 611 of file MTComm.h.

◆ MTRV_ANINPUTALREADYOPEN

#define MTRV_ANINPUTALREADYOPEN   12

Definition at line 890 of file MTComm.h.

◆ MTRV_CHECKSUMFAULT

#define MTRV_CHECKSUMFAULT   4

Definition at line 882 of file MTComm.h.

◆ MTRV_ENDOFFILE

#define MTRV_ENDOFFILE   13

Definition at line 891 of file MTComm.h.

◆ MTRV_INPUTCANNOTBEOPENED

#define MTRV_INPUTCANNOTBEOPENED   11

Definition at line 889 of file MTComm.h.

◆ MTRV_INVALIDFORFILEINPUT

#define MTRV_INVALIDFORFILEINPUT   17

Definition at line 896 of file MTComm.h.

◆ MTRV_INVALIDTIMEOUT

#define MTRV_INVALIDTIMEOUT   9

Definition at line 887 of file MTComm.h.

◆ MTRV_INVALIDVALUESPEC

#define MTRV_INVALIDVALUESPEC   16

Definition at line 895 of file MTComm.h.

◆ MTRV_NODATA

#define MTRV_NODATA   5

Definition at line 883 of file MTComm.h.

◆ MTRV_NOINPUTINITIALIZED

#define MTRV_NOINPUTINITIALIZED   14

Definition at line 892 of file MTComm.h.

◆ MTRV_NOTSUCCESSFUL

#define MTRV_NOTSUCCESSFUL   1

Definition at line 879 of file MTComm.h.

◆ MTRV_NOVALIDMODESPECIFIED

#define MTRV_NOVALIDMODESPECIFIED   15

Definition at line 893 of file MTComm.h.

◆ MTRV_OK

#define MTRV_OK   0

Definition at line 878 of file MTComm.h.

◆ MTRV_OUTOFMEMORY

#define MTRV_OUTOFMEMORY   7

Definition at line 885 of file MTComm.h.

◆ MTRV_RECVERRORMSG

#define MTRV_RECVERRORMSG   6

Definition at line 884 of file MTComm.h.

◆ MTRV_TIMEOUT

#define MTRV_TIMEOUT   2

Definition at line 880 of file MTComm.h.

◆ MTRV_TIMEOUTNODATA

#define MTRV_TIMEOUTNODATA   3

Definition at line 881 of file MTComm.h.

◆ MTRV_UNEXPECTEDMSG

#define MTRV_UNEXPECTEDMSG   10

Definition at line 888 of file MTComm.h.

◆ MTRV_UNKNOWDATA

#define MTRV_UNKNOWDATA   8

Definition at line 886 of file MTComm.h.

◆ OUTPUTMODE_CALIB

#define OUTPUTMODE_CALIB   0x0002

Definition at line 772 of file MTComm.h.

◆ OUTPUTMODE_MT9

#define OUTPUTMODE_MT9   0x8000

Definition at line 768 of file MTComm.h.

◆ OUTPUTMODE_ORIENT

#define OUTPUTMODE_ORIENT   0x0004

Definition at line 773 of file MTComm.h.

◆ OUTPUTMODE_RAW

#define OUTPUTMODE_RAW   0x4000

Definition at line 770 of file MTComm.h.

◆ OUTPUTMODE_TEMP

#define OUTPUTMODE_TEMP   0x0001

Definition at line 771 of file MTComm.h.

◆ OUTPUTMODE_XM

#define OUTPUTMODE_XM   0x0000

Definition at line 769 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_ACC

#define OUTPUTSETTINGS_CALIBMODE_ACC   0x00000060

Definition at line 783 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_ACC_MASK

#define OUTPUTSETTINGS_CALIBMODE_ACC_MASK   0x00000010

Definition at line 793 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_ACCGYR

#define OUTPUTSETTINGS_CALIBMODE_ACCGYR   0x00000040

Definition at line 784 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_ACCGYRMAG

#define OUTPUTSETTINGS_CALIBMODE_ACCGYRMAG   0x00000000

Definition at line 782 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_ACCMAG

#define OUTPUTSETTINGS_CALIBMODE_ACCMAG   0x00000020

Definition at line 785 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_GYR

#define OUTPUTSETTINGS_CALIBMODE_GYR   0x00000050

Definition at line 786 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_GYR_MASK

#define OUTPUTSETTINGS_CALIBMODE_GYR_MASK   0x00000020

Definition at line 794 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_GYRMAG

#define OUTPUTSETTINGS_CALIBMODE_GYRMAG   0x00000010

Definition at line 787 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_MAG

#define OUTPUTSETTINGS_CALIBMODE_MAG   0x00000030

Definition at line 788 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_MAG_MASK

#define OUTPUTSETTINGS_CALIBMODE_MAG_MASK   0x00000040

Definition at line 795 of file MTComm.h.

◆ OUTPUTSETTINGS_CALIBMODE_MASK

#define OUTPUTSETTINGS_CALIBMODE_MASK   0x00000070

Definition at line 796 of file MTComm.h.

◆ OUTPUTSETTINGS_DATAFORMAT_F1220

#define OUTPUTSETTINGS_DATAFORMAT_F1220   0x00000100

Definition at line 790 of file MTComm.h.

◆ OUTPUTSETTINGS_DATAFORMAT_FLOAT

#define OUTPUTSETTINGS_DATAFORMAT_FLOAT   0x00000000

Definition at line 789 of file MTComm.h.

◆ OUTPUTSETTINGS_DATAFORMAT_MASK

#define OUTPUTSETTINGS_DATAFORMAT_MASK   0x00000300

Definition at line 797 of file MTComm.h.

◆ OUTPUTSETTINGS_ORIENTMODE_EULER

#define OUTPUTSETTINGS_ORIENTMODE_EULER   0x00000004

Definition at line 780 of file MTComm.h.

◆ OUTPUTSETTINGS_ORIENTMODE_MASK

#define OUTPUTSETTINGS_ORIENTMODE_MASK   0x0000000C

Definition at line 792 of file MTComm.h.

◆ OUTPUTSETTINGS_ORIENTMODE_MATRIX

#define OUTPUTSETTINGS_ORIENTMODE_MATRIX   0x00000008

Definition at line 781 of file MTComm.h.

◆ OUTPUTSETTINGS_ORIENTMODE_QUATERNION

#define OUTPUTSETTINGS_ORIENTMODE_QUATERNION   0x00000000

Definition at line 779 of file MTComm.h.

◆ OUTPUTSETTINGS_TIMESTAMP_MASK

#define OUTPUTSETTINGS_TIMESTAMP_MASK   0x00000003

Definition at line 791 of file MTComm.h.

◆ OUTPUTSETTINGS_TIMESTAMP_NONE

#define OUTPUTSETTINGS_TIMESTAMP_NONE   0x00000000

Definition at line 777 of file MTComm.h.

◆ OUTPUTSETTINGS_TIMESTAMP_SAMPLECNT

#define OUTPUTSETTINGS_TIMESTAMP_SAMPLECNT   0x00000001

Definition at line 778 of file MTComm.h.

◆ OUTPUTSETTINGS_XM

#define OUTPUTSETTINGS_XM   0x00000001

Definition at line 776 of file MTComm.h.

◆ PARAM_FILTER_GAIN

#define PARAM_FILTER_GAIN   (const unsigned char)0x00

Definition at line 813 of file MTComm.h.

◆ PARAM_FILTER_RHO

#define PARAM_FILTER_RHO   (const unsigned char)0x01

Definition at line 814 of file MTComm.h.

◆ PARAM_SYNCIN_MODE

#define PARAM_SYNCIN_MODE   (const unsigned char)0x00

Definition at line 693 of file MTComm.h.

◆ PARAM_SYNCIN_OFFSET

#define PARAM_SYNCIN_OFFSET   (const unsigned char)0x02

Definition at line 695 of file MTComm.h.

◆ PARAM_SYNCIN_SKIPFACTOR

#define PARAM_SYNCIN_SKIPFACTOR   (const unsigned char)0x01

Definition at line 694 of file MTComm.h.

◆ PARAM_SYNCOUT_MODE

#define PARAM_SYNCOUT_MODE   (const unsigned char)0x00

Definition at line 708 of file MTComm.h.

◆ PARAM_SYNCOUT_OFFSET

#define PARAM_SYNCOUT_OFFSET   (const unsigned char)0x02

Definition at line 710 of file MTComm.h.

◆ PARAM_SYNCOUT_PULSEWIDTH

#define PARAM_SYNCOUT_PULSEWIDTH   (const unsigned char)0x03

Definition at line 711 of file MTComm.h.

◆ PARAM_SYNCOUT_SKIPFACTOR

#define PARAM_SYNCOUT_SKIPFACTOR   (const unsigned char)0x01

Definition at line 709 of file MTComm.h.

◆ PBR_115K2

#define PBR_115K2   B115200

Definition at line 860 of file MTComm.h.

◆ PBR_14K4

#define PBR_14K4   B14400

Definition at line 854 of file MTComm.h.

◆ PBR_19K2

#define PBR_19K2   B19200

Definition at line 855 of file MTComm.h.

◆ PBR_230K4

#define PBR_230K4   B230400

Definition at line 861 of file MTComm.h.

◆ PBR_28K8

#define PBR_28K8   B28800

Definition at line 856 of file MTComm.h.

◆ PBR_38K4

#define PBR_38K4   B38400

Definition at line 857 of file MTComm.h.

◆ PBR_460K8

#define PBR_460K8   B460800

Definition at line 862 of file MTComm.h.

◆ PBR_57K6

#define PBR_57K6   B57600

Definition at line 858 of file MTComm.h.

◆ PBR_76K8

#define PBR_76K8   B76800

Definition at line 859 of file MTComm.h.

◆ PBR_921K6

#define PBR_921K6   B921600

Definition at line 863 of file MTComm.h.

◆ PBR_9600

#define PBR_9600   B9600

Definition at line 853 of file MTComm.h.

◆ PERIOD_100HZ

#define PERIOD_100HZ   0x0480

Definition at line 745 of file MTComm.h.

◆ PERIOD_10HZ

#define PERIOD_10HZ   0x2D00

Definition at line 723 of file MTComm.h.

◆ PERIOD_120HZ

#define PERIOD_120HZ   0x03C0

Definition at line 746 of file MTComm.h.

◆ PERIOD_128HZ

#define PERIOD_128HZ   0x0384

Definition at line 747 of file MTComm.h.

◆ PERIOD_12HZ

#define PERIOD_12HZ   0x2580

Definition at line 724 of file MTComm.h.

◆ PERIOD_144HZ

#define PERIOD_144HZ   0x0320

Definition at line 748 of file MTComm.h.

◆ PERIOD_150HZ

#define PERIOD_150HZ   0x0300

Definition at line 749 of file MTComm.h.

◆ PERIOD_15HZ

#define PERIOD_15HZ   0x1E00

Definition at line 725 of file MTComm.h.

◆ PERIOD_160HZ

#define PERIOD_160HZ   0x02D0

Definition at line 750 of file MTComm.h.

◆ PERIOD_16HZ

#define PERIOD_16HZ   0x1C20

Definition at line 726 of file MTComm.h.

◆ PERIOD_180HZ

#define PERIOD_180HZ   0x0280

Definition at line 751 of file MTComm.h.

◆ PERIOD_18HZ

#define PERIOD_18HZ   0x1900

Definition at line 727 of file MTComm.h.

◆ PERIOD_192HZ

#define PERIOD_192HZ   0x0258

Definition at line 752 of file MTComm.h.

◆ PERIOD_200HZ

#define PERIOD_200HZ   0x0240

Definition at line 753 of file MTComm.h.

◆ PERIOD_20HZ

#define PERIOD_20HZ   0x1680

Definition at line 728 of file MTComm.h.

◆ PERIOD_225HZ

#define PERIOD_225HZ   0x0200

Definition at line 754 of file MTComm.h.

◆ PERIOD_240HZ

#define PERIOD_240HZ   0x01E0

Definition at line 755 of file MTComm.h.

◆ PERIOD_24HZ

#define PERIOD_24HZ   0x12C0

Definition at line 729 of file MTComm.h.

◆ PERIOD_256HZ

#define PERIOD_256HZ   0x01C2

Definition at line 756 of file MTComm.h.

◆ PERIOD_25HZ

#define PERIOD_25HZ   0x1200

Definition at line 730 of file MTComm.h.

◆ PERIOD_288HZ

#define PERIOD_288HZ   0x0190

Definition at line 757 of file MTComm.h.

◆ PERIOD_300HZ

#define PERIOD_300HZ   0x0180

Definition at line 758 of file MTComm.h.

◆ PERIOD_30HZ

#define PERIOD_30HZ   0x0F00

Definition at line 731 of file MTComm.h.

◆ PERIOD_320HZ

#define PERIOD_320HZ   0x0168

Definition at line 759 of file MTComm.h.

◆ PERIOD_32HZ

#define PERIOD_32HZ   0x0E10

Definition at line 732 of file MTComm.h.

◆ PERIOD_360HZ

#define PERIOD_360HZ   0x0140

Definition at line 760 of file MTComm.h.

◆ PERIOD_36HZ

#define PERIOD_36HZ   0x0C80

Definition at line 733 of file MTComm.h.

◆ PERIOD_384HZ

#define PERIOD_384HZ   0x012C

Definition at line 761 of file MTComm.h.

◆ PERIOD_400HZ

#define PERIOD_400HZ   0x0120

Definition at line 762 of file MTComm.h.

◆ PERIOD_40HZ

#define PERIOD_40HZ   0x0B40

Definition at line 734 of file MTComm.h.

◆ PERIOD_450HZ

#define PERIOD_450HZ   0x0100

Definition at line 763 of file MTComm.h.

◆ PERIOD_45HZ

#define PERIOD_45HZ   0x0A00

Definition at line 735 of file MTComm.h.

◆ PERIOD_480HZ

#define PERIOD_480HZ   0x00F0

Definition at line 764 of file MTComm.h.

◆ PERIOD_48HZ

#define PERIOD_48HZ   0x0960

Definition at line 736 of file MTComm.h.

◆ PERIOD_50HZ

#define PERIOD_50HZ   0x0900

Definition at line 737 of file MTComm.h.

◆ PERIOD_512HZ

#define PERIOD_512HZ   0x00E1

Definition at line 765 of file MTComm.h.

◆ PERIOD_60HZ

#define PERIOD_60HZ   0x0780

Definition at line 738 of file MTComm.h.

◆ PERIOD_64HZ

#define PERIOD_64HZ   0x0708

Definition at line 739 of file MTComm.h.

◆ PERIOD_72HZ

#define PERIOD_72HZ   0x0640

Definition at line 740 of file MTComm.h.

◆ PERIOD_75HZ

#define PERIOD_75HZ   0x0600

Definition at line 741 of file MTComm.h.

◆ PERIOD_80HZ

#define PERIOD_80HZ   0x05A0

Definition at line 742 of file MTComm.h.

◆ PERIOD_90HZ

#define PERIOD_90HZ   0x0500

Definition at line 743 of file MTComm.h.

◆ PERIOD_96HZ

#define PERIOD_96HZ   0x04B0

Definition at line 744 of file MTComm.h.

◆ PREAMBLE

#define PREAMBLE   (const unsigned char)0xFA

Definition at line 122 of file MTComm.h.

◆ RESETORIENTATION_ALIGN

#define RESETORIENTATION_ALIGN   4

Definition at line 827 of file MTComm.h.

◆ RESETORIENTATION_GLOBAL

#define RESETORIENTATION_GLOBAL   2

Definition at line 825 of file MTComm.h.

◆ RESETORIENTATION_HEADING

#define RESETORIENTATION_HEADING   1

Definition at line 824 of file MTComm.h.

◆ RESETORIENTATION_OBJECT

#define RESETORIENTATION_OBJECT   3

Definition at line 826 of file MTComm.h.

◆ RESETORIENTATION_STORE

#define RESETORIENTATION_STORE   0

Definition at line 823 of file MTComm.h.

◆ SENDRAWSTRING_DEFAULT

#define SENDRAWSTRING_DEFAULT   1

Definition at line 831 of file MTComm.h.

◆ SENDRAWSTRING_INIT

#define SENDRAWSTRING_INIT   0

Definition at line 830 of file MTComm.h.

◆ SENDRAWSTRING_SEND

#define SENDRAWSTRING_SEND   2

Definition at line 832 of file MTComm.h.

◆ STORE

#define STORE   0x01

Definition at line 816 of file MTComm.h.

◆ SYNC_CLOCKFREQ

#define SYNC_CLOCKFREQ   29.4912e6

Definition at line 690 of file MTComm.h.

◆ SYNCIN_DISABLED

#define SYNCIN_DISABLED   0x0000

Definition at line 698 of file MTComm.h.

◆ SYNCIN_EDGE_BOTH

#define SYNCIN_EDGE_BOTH   0x0003

Definition at line 701 of file MTComm.h.

◆ SYNCIN_EDGE_FALLING

#define SYNCIN_EDGE_FALLING   0x0002

Definition at line 700 of file MTComm.h.

◆ SYNCIN_EDGE_MASK

#define SYNCIN_EDGE_MASK   0x0003

Definition at line 704 of file MTComm.h.

◆ SYNCIN_EDGE_RISING

#define SYNCIN_EDGE_RISING   0x0001

Definition at line 699 of file MTComm.h.

◆ SYNCIN_TYPE_DOSAMPLING

#define SYNCIN_TYPE_DOSAMPLING   0x0000

Definition at line 703 of file MTComm.h.

◆ SYNCIN_TYPE_MASK

#define SYNCIN_TYPE_MASK   0x000C

Definition at line 705 of file MTComm.h.

◆ SYNCIN_TYPE_SENDLASTDATA

#define SYNCIN_TYPE_SENDLASTDATA   0x0004

Definition at line 702 of file MTComm.h.

◆ SYNCOUT_DISABLED

#define SYNCOUT_DISABLED   0x0000

Definition at line 714 of file MTComm.h.

◆ SYNCOUT_POL_MASK

#define SYNCOUT_POL_MASK   0x0010

Definition at line 720 of file MTComm.h.

◆ SYNCOUT_POL_NEG

#define SYNCOUT_POL_NEG   0x0000

Definition at line 717 of file MTComm.h.

◆ SYNCOUT_POL_POS

#define SYNCOUT_POL_POS   0x0010

Definition at line 718 of file MTComm.h.

◆ SYNCOUT_TYPE_MASK

#define SYNCOUT_TYPE_MASK   0x000F

Definition at line 719 of file MTComm.h.

◆ SYNCOUT_TYPE_PULSE

#define SYNCOUT_TYPE_PULSE   0x0002

Definition at line 716 of file MTComm.h.

◆ SYNCOUT_TYPE_TOGGLE

#define SYNCOUT_TYPE_TOGGLE   0x0001

Definition at line 715 of file MTComm.h.

◆ TO_DEFAULT

#define TO_DEFAULT   500

Definition at line 835 of file MTComm.h.

◆ TO_INIT

#define TO_INIT   250

Definition at line 836 of file MTComm.h.

◆ TO_RETRY

#define TO_RETRY   50

Definition at line 837 of file MTComm.h.

◆ VALUE_CALIB_ACC

#define VALUE_CALIB_ACC   4

Definition at line 469 of file MTComm.h.

◆ VALUE_CALIB_GYR

#define VALUE_CALIB_GYR   5

Definition at line 470 of file MTComm.h.

◆ VALUE_CALIB_MAG

#define VALUE_CALIB_MAG   6

Definition at line 471 of file MTComm.h.

◆ VALUE_ORIENT_EULER

#define VALUE_ORIENT_EULER   8

Definition at line 473 of file MTComm.h.

◆ VALUE_ORIENT_MATRIX

#define VALUE_ORIENT_MATRIX   9

Definition at line 474 of file MTComm.h.

◆ VALUE_ORIENT_QUAT

#define VALUE_ORIENT_QUAT   7

Definition at line 472 of file MTComm.h.

◆ VALUE_RAW_ACC

#define VALUE_RAW_ACC   0

Definition at line 465 of file MTComm.h.

◆ VALUE_RAW_GYR

#define VALUE_RAW_GYR   1

Definition at line 466 of file MTComm.h.

◆ VALUE_RAW_MAG

#define VALUE_RAW_MAG   2

Definition at line 467 of file MTComm.h.

◆ VALUE_RAW_TEMP

#define VALUE_RAW_TEMP   3

Definition at line 468 of file MTComm.h.

◆ VALUE_SAMPLECNT

#define VALUE_SAMPLECNT   10

Definition at line 475 of file MTComm.h.

◆ VALUE_TEMP

#define VALUE_TEMP   11

Definition at line 476 of file MTComm.h.