MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
mip_offsets.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef __cplusplus
4 namespace mip {
5 namespace C {
6 #endif
7 
8 enum {
14 };
15 
16 enum {
20 };
21 
22 enum {
29 };
30 
31 enum {
36 };
37 
38 enum {
39  MIP_SYNC1 = 0x75,
40  MIP_SYNC2 = 0x65,
41 };
42 
43 #ifdef __cplusplus
44 } // namespace C
45 
46 static constexpr size_t PACKET_LENGTH_MAX = C::MIP_PACKET_LENGTH_MAX;
47 static constexpr size_t PACKET_LENGTH_MIN = C::MIP_PACKET_LENGTH_MIN;
48 static constexpr size_t FIELD_PAYLOAD_LENGTH_MAX = C::MIP_FIELD_LENGTH_MAX;
49 
50 } // namespace mip
51 #endif
mip::C::MIP_PACKET_LENGTH_MAX
@ MIP_PACKET_LENGTH_MAX
Definition: mip_offsets.h:28
mip::C::MIP_INDEX_FIELD_PAYLOAD
@ MIP_INDEX_FIELD_PAYLOAD
Definition: mip_offsets.h:19
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::C::MIP_PACKET_LENGTH_MIN
@ MIP_PACKET_LENGTH_MIN
Definition: mip_offsets.h:27
mip::C::MIP_PACKET_PAYLOAD_LENGTH_MAX
@ MIP_PACKET_PAYLOAD_LENGTH_MAX
Definition: mip_offsets.h:26
mip::C::MIP_CHECKSUM_LENGTH
@ MIP_CHECKSUM_LENGTH
Definition: mip_offsets.h:24
mip::C::MIP_INDEX_PAYLOAD
@ MIP_INDEX_PAYLOAD
Definition: mip_offsets.h:13
mip::C::MIP_FIELD_PAYLOAD_LENGTH_MAX
@ MIP_FIELD_PAYLOAD_LENGTH_MAX
Definition: mip_offsets.h:35
mip::C::MIP_SYNC1
@ MIP_SYNC1
Definition: mip_offsets.h:39
mip::C::MIP_INDEX_SYNC1
@ MIP_INDEX_SYNC1
Definition: mip_offsets.h:9
mip::C::MIP_HEADER_LENGTH
@ MIP_HEADER_LENGTH
Definition: mip_offsets.h:23
mip::C::MIP_PACKET_PAYLOAD_LENGTH_MIN
@ MIP_PACKET_PAYLOAD_LENGTH_MIN
Definition: mip_offsets.h:25
mip::C::MIP_INDEX_LENGTH
@ MIP_INDEX_LENGTH
Definition: mip_offsets.h:12
mip::C::MIP_INDEX_SYNC2
@ MIP_INDEX_SYNC2
Definition: mip_offsets.h:10
mip::C::MIP_INDEX_DESCSET
@ MIP_INDEX_DESCSET
Definition: mip_offsets.h:11
mip::C::MIP_FIELD_HEADER_LENGTH
@ MIP_FIELD_HEADER_LENGTH
Definition: mip_offsets.h:32
mip::C::MIP_INDEX_FIELD_DESC
@ MIP_INDEX_FIELD_DESC
Definition: mip_offsets.h:18
mip::C::MIP_SYNC2
@ MIP_SYNC2
Definition: mip_offsets.h:40
mip::C::MIP_FIELD_LENGTH_MIN
@ MIP_FIELD_LENGTH_MIN
Definition: mip_offsets.h:33
mip::C::MIP_INDEX_FIELD_LEN
@ MIP_INDEX_FIELD_LEN
Definition: mip_offsets.h:17
mip::C::MIP_FIELD_LENGTH_MAX
@ MIP_FIELD_LENGTH_MAX
Definition: mip_offsets.h:34