Rev 247 | Rev 313 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 247 | Rev 263 | ||
---|---|---|---|
Line 58... | Line 58... | ||
58 | u8 Class; |
58 | u8 Class; |
59 | u8 Id; |
59 | u8 Id; |
60 | u16 Length; |
60 | u16 Length; |
61 | } __attribute__((packed)) ubxmsghdr_t; |
61 | } __attribute__((packed)) ubxmsghdr_t; |
Line -... | Line 62... | ||
- | 62 | ||
62 | 63 | #define UBX_MSG_DATA_SIZE 200 |
|
63 | typedef struct |
64 | typedef struct |
64 | { |
65 | { |
65 | u8 ClassMask; |
66 | u8 ClassMask; |
66 | u8 IdMask; |
67 | u8 IdMask; |
67 | ubxmsghdr_t Hdr; |
68 | ubxmsghdr_t Hdr; |
68 | u8 Data[100]; |
69 | u8 Data[UBX_MSG_DATA_SIZE]; |
69 | u8 Status; |
70 | u8 Status; |
70 | } __attribute__((packed)) ubxmsg_t; |
71 | } __attribute__((packed)) ubxmsg_t; |
71 | // msg obj to reveive |
72 | // msg obj to reveive |
72 | // set Class and Id and correspoinding masks of a message that should be received |
73 | // set Class and Id and correspoinding masks of a message that should be received |
Line 73... | Line 74... | ||
73 | extern volatile ubxmsg_t UbxMsg; |
74 | extern ubxmsg_t UbxMsg; |
Line 74... | Line 75... | ||
74 | 75 |