Debian Codegraph @

3rdparty/xspublic/xstypes/xsxbusmessageid.h

raw
1
2 // Copyright (c) 2003-2019 Xsens Technologies B.V. or subsidiaries worldwide.
3 // All rights reserved.
4 //
5 // Redistribution and use in source and binary forms, with or without modification,
6 // are permitted provided that the following conditions are met:
7 //
8 // 1. Redistributions of source code must retain the above copyright notice,
9 // this list of conditions, and the following disclaimer.
10 //
11 // 2. Redistributions in binary form must reproduce the above copyright notice,
12 // this list of conditions, and the following disclaimer in the documentation
13 // and/or other materials provided with the distribution.
14 //
15 // 3. Neither the names of the copyright holders nor the names of their contributors
16 // may be used to endorse or promote products derived from this software without
17 // specific prior written permission.
18 //
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
20 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
22 // THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 // SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
24 // OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR
26 // TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.THE LAWS OF THE NETHERLANDS
28 // SHALL BE EXCLUSIVELY APPLICABLE AND ANY DISPUTES SHALL BE FINALLY SETTLED UNDER THE RULES
29 // OF ARBITRATION OF THE INTERNATIONAL CHAMBER OF COMMERCE IN THE HAGUE BY ONE OR MORE
30 // ARBITRATORS APPOINTED IN ACCORDANCE WITH SAID RULES.
31 //
32
33 #ifndef XSXBUSMESSAGEID_H
34 #define XSXBUSMESSAGEID_H
35
36 /*! \addtogroup enums Global enumerations
37 @{
38 */
39 /*! \brief Xsens Xbus Message Identifiers
40 */
41 enum XsXbusMessageId {
42 XMID_InvalidMessage = 0x00,
43
44 // Config state messages
45 XMID_ReqDid = 0x00,
46 XMID_DeviceId = 0x01,
47 XMID_Initbus = 0x02,
48 XMID_InitBusResults = 0x03,
49 XMID_ReqPeriod = 0x04,
50 XMID_ReqPeriodAck = 0x05,
51 XMID_SetPeriod = 0x04,
52 XMID_SetPeriodAck = 0x05,
53
54 XMID_SetBid = 0x06,
55 XMID_SetBidAck = 0x07,
56 XMID_AutoStart = 0x06,
57 XMID_AutoStartAck = 0x07,
58 XMID_BusPower = 0x08,
59 XMID_BusPowerAck = 0x09,
60
61 XMID_ReqDataLength = 0x0A,
62 XMID_DataLength = 0x0B,
63 XMID_ReqConfiguration = 0x0C,
64 XMID_Configuration = 0x0D,
65 XMID_RestoreFactoryDef = 0x0E,
66 XMID_RestoreFactoryDefAck = 0x0F,
67
68 XMID_GotoMeasurement = 0x10,
69 XMID_GotoMeasurementAck = 0x11,
70 XMID_ReqFirmwareRevision = 0x12,
71 XMID_FirmwareRevision = 0x13,
72 XMID_ReqUniqueId = 0x14,
73 XMID_UniqueId = 0x15,
74 XMID_ReqBodypackMode = 0x16,
75 XMID_ReqBodypackAck = 0x17,
76 XMID_SetBodypackMode = 0x16,
77 XMID_SetBodypackModeAck = 0x17,
78
79 XMID_ReqBaudrate = 0x18,
80 XMID_ReqBaudrateAck = 0x19,
81 XMID_SetBaudrate = 0x18,
82 XMID_SetBaudrateAck = 0x19,
83 XMID_ReqProductVariant = 0x1A,
84 XMID_ProductVariant = 0x1B,
85 XMID_ReqProductCode = 0x1C,
86 XMID_ProductCode = 0x1D,
87
88 XMID_ReqHardwareVersion = 0x1E,
89 XMID_HardwareVersion = 0x1F,
90
91 XMID_ReqProcessingFlags = 0x20,
92 XMID_ReqProcessingFlagsAck = 0x21,
93 XMID_SetProcessingFlags = 0x20,
94 XMID_SetProcessingFlagsAck = 0x21,
95
96 XMID_SetNoRotation = 0x22,
97 XMID_SetNoRotationAck = 0x23,
98
99 XMID_RunSelfTest = 0x24,
100 XMID_SelfTestResults = 0x25,
101
102 XMID_ReqInputTrigger = 0x26,
103 XMID_ReqInputTriggerAck = 0x27,
104 XMID_SetInputTrigger = 0x26,
105 XMID_SetInputTriggerAck = 0x27,
106
107 XMID_ReqOutputTrigger = 0x28,
108 XMID_ReqOutputTriggerAck = 0x29,
109 XMID_SetOutputTrigger = 0x28,
110 XMID_SetOutputTriggerAck = 0x29,
111
112 XMID_SetSyncStationMode = 0x2A, //!< Request the current sync station mode
113 XMID_SetSyncStationModeAck = 0x2B, //!< Message contains the current sync station mode
114 XMID_ReqSyncStationMode = 0x2A, //!< Set the current sync station mode
115 XMID_ReqSyncStationModeAck = 0x2B, //!< Acknowledge of setting the current sync station mode
116
117 XMID_SetSyncConfiguration = 0x2C,
118 XMID_SetSyncConfigurationAck = 0x2D,
119 XMID_ReqSyncConfiguration = 0x2C,
120 XMID_SyncConfiguration = 0x2D,
121
122 XMID_DriverDisconnect = 0x2E,
123 XMID_DriverDisconnectAck = 0x2F,
124
125 XMID_GotoConfig = 0x30,
126 XMID_GotoConfigAck = 0x31,
127 XMID_MtData = 0x32,
128 XMID_BusData = 0x32,
129
130 // Manual
131 XMID_PrepareData = 0x32,
132 XMID_ReqData = 0x34,
133 XMID_ReqDataAck = 0x35,
134
135 XMID_MtData2 = 0x36,
136 XMID_MtData2Ack = 0x37,
137
138 XMID_RequestControl = 0x38,
139 XMID_RequestControlAck = 0x39,
140
141 XMID_SetDataPort = 0x3A,
142 XMID_SetDataPortAck = 0x3B,
143
144 XMID_ReqRetransmission = 0x3C,
145 XMID_ReqRetransmissionAck = 0x3D,
146
147 // Wakeup state messages
148 XMID_Wakeup = 0x3E,
149 XMID_WakeupAck = 0x3F,
150
151 // Valid in all states
152 XMID_Reset = 0x40,
153 XMID_ResetAck = 0x41,
154 XMID_Error = 0x42,
155 XMID_Warning = 0x43,
156 // end Valid in all states
157
158 XMID_XmPowerOff = 0x44,
159
160 // Wireless
161 XMID_MasterIndication = 0x46,
162
163 XMID_ReqOptionFlags = 0x48,
164 XMID_ReqOptionFlagsAck = 0x49,
165 XMID_SetOptionFlags = 0x48,
166 XMID_SetOptionFlagsAck = 0x49,
167 XMID_ReqStealthMode = 0x4A,
168 XMID_StealthMode = 0x4B,
169 XMID_SetStealthMode = 0x4A,
170 XMID_SetStealthModeAck = 0x4B,
171
172 XMID_UserInterface = 0x4C,
173 XMID_UserInterfaceAck = 0x4D,
174
175 XMID_EndOfRecording = 0x4E,
176 XMID_EndOfRecordingAck = 0x4F,
177
178 XMID_GotoTransparentMode = 0x50,
179 XMID_GotoTransparentModeAck = 0x51,
180
181 XMID_ReqDeviceCapabilities = 0x52,
182 XMID_DeviceCapabilities = 0x53,
183
184 XMID_DiscardRetransmissions = 0x54,
185 XMID_DiscardRetransmissionsAck = 0x55,
186
187 XMID_RunFactoryTest = 0x56,
188 XMID_FactoryTestResults = 0x57,
189 XMID_FactoryTestConnect = 0x58,
190 XMID_FactoryTestConnectAck = 0x59,
191
192 XMID_SetDataOutputDelay = 0x5A,
193 XMID_SetDataOutputDelayAck = 0x5B,
194
195 XMID_SetBodypackConfigFile = 0x5C,
196 XMID_SetBodypackConfigFileAck = 0x5D,
197
198 XMID_ReqObrStatus = 0x5E,
199 XMID_ObrStatus = 0x5F,
200
201 XMID_SetUtcTime = 0x60,
202 XMID_ReqUtcTime = 0x60,
203 XMID_SetUtcTimeAck = 0x61,
204 XMID_UtcTime = 0x61,
205
206 XMID_FactoryTestSensorTiming = 0x60,
207 XMID_FactoryTestSensorTimingResults = 0x61,
208
209 XMID_ReqAvailableFilterProfiles = 0x62, //!< Request the available filter profiles
210 XMID_AvailableFilterProfiles = 0x63, //!< Message contains the available filter profiles
211
212 XMID_ReqFilterProfile = 0x64, //!< Request the current filter profile
213 XMID_ReqFilterProfileAck = 0x65, //!< Message contains the current filter profile
214 XMID_SetFilterProfile = 0x64, //!< Set the current filter profile
215 XMID_SetFilterProfileAck = 0x65, //!< Acknowledge of setting the current filter profile
216
217 XMID_ReqGravityMagnitude = 0x66,
218 XMID_ReqGravityMagnitudeAck = 0x67,
219 XMID_SetGravityMagnitude = 0x66,
220 XMID_SetGravityMagnitudeAck = 0x67,
221
222 XMID_ReqGnssLeverArm = 0x68,
223 XMID_ReqGnssLeverArmAck = 0x69,
224 XMID_SetGnssLeverArm = 0x68,
225 XMID_SetGnssLeverArmAck = 0x69,
226
227 XMID_ReqMagneticField = 0x6A,
228 XMID_ReqMagneticFieldAck = 0x6B,
229 XMID_SetMagneticField = 0x6A,
230 XMID_SetMagneticFieldAck = 0x6B,
231
232 XMID_ReqReplayMode = 0x6C,
233 XMID_ReqReplayModeAck = 0x6D,
234 XMID_SetReplayMode = 0x6C,
235 XMID_SetReplayModeAck = 0x6D,
236
237 XMID_ReqLatLonAlt = 0x6E,
238 XMID_ReqLatLonAltAck = 0x6F,
239 XMID_SetLatLonAlt = 0x6E,
240 XMID_SetLatLonAltAck = 0x6F,
241
242 XMID_KeepAlive = 0x70,
243 XMID_KeepAliveAck = 0x71,
244
245 XMID_CloseConnection = 0x72,
246 XMID_CloseConnectionAck = 0x73,
247
248 XMID_IccCommand = 0x74,
249 XMID_IccCommandAck = 0x75,
250
251 XMID_ReqGnssPlatform = 0x76,
252 XMID_ReqGnssPlatformAck = 0x77,
253 XMID_SetGnssPlatform = 0x76,
254 XMID_SetGnssPlatformAck = 0x77,
255
256 XMID_ReqConnectionSettings = 0x78,
257 XMID_ReqConnectionSettingsAck = 0x79,
258 XMID_SetConnectionSettings = 0x78,
259 XMID_SetConnectionSettingsAck = 0x79,
260
261 XMID_BodyPackBundle = 0x7A,
262 XMID_BodyPackBundleAck = 0x7B,
263
264 XMID_ReqStationOptions = 0x7C,
265 XMID_ReqStationOptionsAck = 0x7D,
266
267 XMID_ReqErrorReport = 0x7E,
268 XMID_ErrorReport = 0x7F,
269
270 XMID_ReqXmErrorMode = 0x82,
271 XMID_ReqXmErrorModeAck = 0x83,
272 XMID_SetXmErrorMode = 0x82,
273 XMID_SetXmErrorModeAck = 0x83,
274
275 XMID_ReqBufferSize = 0x84,
276 XMID_ReqBufferSizeAck = 0x85,
277 XMID_SetBufferSize = 0x84,
278 XMID_SetBufferSizeAck = 0x85,
279
280 XMID_ReqHeading = 0x82,
281 XMID_ReqHeadingAck = 0x83,
282 XMID_SetHeading = 0x82,
283 XMID_SetHeadingAck = 0x83,
284
285 XMID_ReqLocationId = 0x84,
286 XMID_ReqLocationIdAck = 0x85,
287 XMID_SetLocationId = 0x84,
288 XMID_SetLocationIdAck = 0x85,
289
290 XMID_ReqExtOutputMode = 0x86,
291 XMID_ReqExtOutputModeAck = 0x87,
292 XMID_SetExtOutputMode = 0x86,
293 XMID_SetExtOutputModeAck = 0x87,
294
295 XMID_ReqBatteryLevel = 0x88,
296 XMID_Batterylevel = 0x89,
297
298 XMID_ReqInitTrackMode = 0x88,
299 XMID_ReqInitTrackModeAck = 0x89,
300 XMID_SetInitTrackMode = 0x88,
301 XMID_SetInitTrackModeAck = 0x89,
302
303 XMID_ReqMasterSettings = 0x8A,
304 XMID_MasterSettings = 0x8B,
305
306 XMID_StoreFilterState = 0x8A,
307 XMID_StoreFilterStateAck = 0x8B,
308
309 XMID_ReqPortConfig = 0x8C,
310 XMID_SetPortConfig = 0x8C,
311 XMID_PortConfig = 0x8D,
312 XMID_SetPortConfigAck = 0x8D,
313
314 XMID_ReqStringOutputType = 0x8E,
315 XMID_ReqStringOutputTypeAck = 0x8F,
316 XMID_SetStringOutputType = 0x8E,
317 XMID_SetStringOutputTypeAck = 0x8F,
318
319 XMID_ReqStringOutputConfig = 0x8E,
320 XMID_ReqStringOutputConfigAck = 0x8F,
321 XMID_SetStringOutputConfig = 0x8E,
322 XMID_SetStringOutputConfigAck = 0x8F,
323
324 XMID_ReqEmts = 0x90,
325 XMID_EmtsData = 0x91,
326 XMID_UpdateFilterProfile = 0x92,
327 XMID_UpdateFilterProfileAck = 0x93,
328
329 XMID_RestoreEmts = 0x94,
330 XMID_RestoreEmtsAck = 0x95,
331 XMID_StoreEmts = 0x96,
332 XMID_StoreEmtsAck = 0x97,
333
334 XMID_ClockSyncCommand = 0x9A,
335 XMID_ClockSyncCommandAck = 0x9B,
336
337 XMID_ReqActiveClockCorrection = 0x9C,
338 XMID_ActiveClockCorrection = 0x9D,
339 XMID_StoreActiveClockCorrection = 0x9E,
340 XMID_StoreActiveClockCorrectionAck = 0x9F,
341
342 XMID_ReqFilterSettings = 0xA0,
343 XMID_ReqFilterSettingsAck = 0xA1,
344 XMID_SetFilterSettings = 0xA0,
345 XMID_SetFilterSettingsAck = 0xA1,
346 XMID_ReqAmd = 0xA2,
347 XMID_ReqAmdAck = 0xA3,
348 XMID_SetAmd = 0xA2,
349 XMID_SetAmdAck = 0xA3,
350 XMID_ResetOrientation = 0xA4,
351 XMID_ResetOrientationAck = 0xA5,
352
353 XMID_ReqGnssStatus = 0xA6,
354 XMID_GnssStatus = 0xA7,
355
356 XMID_AdjustUtcTime = 0xA8,
357 XMID_AdjustUtcTimeAck = 0xA9,
358
359 XMID_ReqManufacturerId = 0xAA,
360 XMID_SetManufacturerId = 0xAA,
361 XMID_ManufacturerId = 0xAB,
362 XMID_SetManufacturerIdAck = 0xAB,
363
364 XMID_ReqGnssReceiverSettings = 0xAC,
365 XMID_ReqGnssReceiverSettingsAck = 0xAD,
366 XMID_SetGnssReceiverSettings = 0xAC,
367 XMID_SetGnssReceiverSettingsAck = 0xAD,
368
369 XMID_ReqAccessControlList = 0xAE,
370 XMID_AccessControlList = 0xAF,
371 XMID_SetAccessControlList = 0xAE,
372 XMID_SetAccessControlListAck = 0xAF,
373
374 // Wireless
375 XMID_ScanChannels = 0xB0,
376 XMID_ScanChannelsAck = 0xB1,
377 XMID_EnableMaster = 0xB2,
378 XMID_EnableMasterAck = 0xB3,
379 XMID_DisableMaster = 0xB4,
380 XMID_DisableMasterAck = 0xB5,
381 XMID_ReqRadioChannel = 0xB6,
382 XMID_ReqRadioChannelAck = 0xB7,
383 XMID_SetClientPriority = 0xB8,
384 XMID_SetClientPriorityAck = 0xB9,
385 XMID_ReqClientPriority = 0xB8,
386 XMID_ReqClientPriorityAck = 0xB9,
387 XMID_SetWirelessConfig = 0xBA,
388 XMID_SetWirelessConfigAck = 0xBB,
389 XMID_ReqWirelessConfig = 0xBA,
390 XMID_ReqWirelessConfigAck = 0xBB,
391 XMID_UpdateBias = 0xBC,
392 XMID_UpdateBiasAck = 0xBD,
393 XMID_ToggleIoPins = 0xBE,
394 XMID_ToggleIoPinsAck = 0xBF,
395
396 XMID_GotoOperational = 0xC0,
397 XMID_GotoOperationalAck = 0xC1,
398
399 XMID_SetTransportMode = 0xC2,
400 XMID_SetTransportModeAck = 0xC3,
401 XMID_ReqTransportMode = 0xC2,
402 XMID_ReqTransportModeAck = 0xC3,
403
404 XMID_AcceptMtw = 0xC4,
405 XMID_AcceptMtwAck = 0xC5,
406 XMID_RejectMtw = 0xC6,
407 XMID_RejectMtwAck = 0xC7,
408 XMID_InfoRequest = 0xC8,
409 XMID_InfoRequestAck = 0xC9,
410
411 XMID_ReqFrameRates = 0xCA,
412 XMID_ReqFrameRatesAck = 0xCB,
413
414 XMID_StartRecording = 0xCC,
415 XMID_StartRecordingAck = 0xCD,
416 XMID_StopRecording = 0xCE,
417 XMID_StopRecordingAck = 0xCF,
418 // End Wireless
419
420 XMID_ReqOutputConfiguration = 0xC0,
421 XMID_ReqOutputConfigurationAck = 0xC1,
422 XMID_SetOutputConfiguration = 0xC0,
423 XMID_SetOutputConfigurationAck = 0xC1,
424
425 XMID_ReqOutputMode = 0xD0,
426 XMID_ReqOutputModeAck = 0xD1,
427 XMID_SetOutputMode = 0xD0,
428 XMID_SetOutputModeAck = 0xD1,
429
430 XMID_ReqOutputSettings = 0xD2,
431 XMID_ReqOutputSettingsAck = 0xD3,
432 XMID_SetOutputSettings = 0xD2,
433 XMID_SetOutputSettingsAck = 0xD3,
434
435 XMID_ReqOutputSkipFactor = 0xD4,
436 XMID_ReqOutputSkipFactorAck = 0xD5,
437 XMID_SetOutputSkipFactor = 0xD4,
438 XMID_SetOutputSkipFactorAck = 0xD5,
439
440 XMID_ReqErrorMode = 0xDA,
441 XMID_ReqErrorModeAck = 0xDB,
442 XMID_SetErrorMode = 0xDA,
443 XMID_SetErrorModeAck = 0xDB,
444
445 XMID_ReqTransmitDelay = 0xDC,
446 XMID_ReqTransmitDelayAck = 0xDD,
447 XMID_SetTransmitDelay = 0xDC,
448 XMID_SetTransmitDelayAck = 0xDD,
449
450 XMID_SetMfmResults = 0xDE,
451 XMID_SetMfmResultsAck = 0xDF,
452
453 XMID_ReqObjectAlignment = 0xE0,
454 XMID_ReqObjectAlignmentAck = 0xE1,
455 XMID_SetObjectAlignment = 0xE0,
456 XMID_SetObjectAlignmentAck = 0xE1,
457
458 XMID_ForwardGnssData = 0xE2,
459 XMID_ForwardGnssDataAck = 0xE3,
460
461 XMID_ReqCanConfig = 0xE6,
462 XMID_SetCanConfig = 0xE6,
463 XMID_CanConfig = 0xE7,
464 XMID_SetCanConfigAck = 0xE7,
465 XMID_ReqCanOutputConfig = 0xE8,
466 XMID_SetCanOutputConfig = 0xE8,
467 XMID_CanOutputConfig = 0xE9,
468 XMID_SetCanOutputConfigAck = 0xE9,
469
470 XMID_ReqAlignmentRotation = 0xEC,
471 XMID_ReqAlignmentRotationAck = 0xED,
472 XMID_SetAlignmentRotation = 0xEC,
473 XMID_SetAlignmentRotationAck = 0xED,
474
475 XMID_ExtensionReserved1 = 0xEE,
476 XMID_ExtensionReserved2 = 0xEF,
477
478 XMID_SetDeviceIdContext = 0xFE,
479 XMID_SetDeviceIdContextAck = 0xFF
480 };
481 /*! @} */
482 typedef enum XsXbusMessageId XsXbusMessageId;
483
484 #endif