Last active
January 24, 2023 15:21
-
-
Save tjmadonna/9f50a2d47381cb67d508f68f5b8fd430 to your computer and use it in GitHub Desktop.
Example RTMA message definitions in various file formats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"messagesIds": { | |
"midTestPublisher": 105, | |
"midTestConsumer": 106 | |
}, | |
"messageType": { | |
"mtTestData": 2000, | |
"mtOtherData": 2001 | |
}, | |
"constants": { | |
"dataSize": 64 | |
}, | |
"messageDefinitions": [ | |
{ | |
"name": "mdfTestData", | |
"myIntValue": "int32", | |
"padding": "int32", | |
"myDoubleValue": "double", | |
"myStrValue": "char[64]" | |
}, | |
{ | |
"name": "mdfOtherData", | |
"otherIntValues": "int32[8]", | |
"otherStrValue": "char[64]" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[message_ids] | |
mid_test_publisher = 105 | |
mid_test_consumer = 106 | |
[message_types] | |
mt_test_data = 2000 | |
mt_other_data = 2001 | |
[constants] | |
data_size = 64 | |
[message_definitions.mdf_test_data] | |
my_int_value = "int32" | |
padding = "int32" | |
my_double_value = "double" | |
my_str_value = "char[64]" | |
[message_definitions.mdf_other_data] | |
other_int_values = "int32[8]" | |
other_str_value = "char[64]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MessageIds: | |
- midTestPublisher: 105 | |
- midTestConsumer: 106 | |
MessageTypes: | |
- mtTestData: 2000 | |
- mtOtherData: 2001 | |
Constants: | |
- dataSize: 64 | |
MessageDefinitions: | |
- MdfTestData: | |
myIntValue: int32, | |
padding: int32, | |
myDoubleValue: double, | |
myStrValue: char[64] | |
- MdfOtherData: | |
otherIntValues: int32[8], | |
otherStrValue: char[64] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment