From b25d13d9acde5f7b32310b9ca0c911c543f55935 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Wed, 22 Nov 2023 11:44:06 +1100 Subject: [PATCH 01/19] Remove access to legacy types through `libsbp/.h` --- c/include/libsbp/acquisition.h | 9 +-------- c/include/libsbp/bootload.h | 9 +-------- c/include/libsbp/ext_events.h | 9 +-------- c/include/libsbp/file_io.h | 9 +-------- c/include/libsbp/flash.h | 9 +-------- c/include/libsbp/gnss.h | 9 +-------- c/include/libsbp/imu.h | 9 +-------- c/include/libsbp/integrity.h | 9 +-------- c/include/libsbp/linux.h | 9 +-------- c/include/libsbp/logging.h | 9 +-------- c/include/libsbp/mag.h | 9 +-------- c/include/libsbp/navigation.h | 9 +-------- c/include/libsbp/ndb.h | 9 +-------- c/include/libsbp/observation.h | 9 +-------- c/include/libsbp/orientation.h | 9 +-------- c/include/libsbp/piksi.h | 9 +-------- c/include/libsbp/sbas.h | 9 +-------- c/include/libsbp/settings.h | 9 +-------- c/include/libsbp/signing.h | 9 +-------- c/include/libsbp/solution_meta.h | 9 +-------- c/include/libsbp/ssr.h | 9 +-------- c/include/libsbp/system.h | 9 +-------- c/include/libsbp/telemetry.h | 9 +-------- c/include/libsbp/tracking.h | 9 +-------- c/include/libsbp/user.h | 9 +-------- c/include/libsbp/vehicle.h | 9 +-------- .../sbpg/targets/resources/c/sbp_messages_template.h | 5 ----- 27 files changed, 26 insertions(+), 213 deletions(-) diff --git a/c/include/libsbp/acquisition.h b/c/include/libsbp/acquisition.h index 91eac9b212..d14920d8ad 100644 --- a/c/include/libsbp/acquisition.h +++ b/c/include/libsbp/acquisition.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/acquisition.h` instead. Access to " - "legacy types via `libsbp/acquisition.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_ACQUISITION_MESSAGES_H */ +#endif /* LIBSBP_ACQUISITION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/bootload.h b/c/include/libsbp/bootload.h index c7cf5cbf44..5d2d0f6cbc 100644 --- a/c/include/libsbp/bootload.h +++ b/c/include/libsbp/bootload.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/bootload.h` instead. Access to legacy " - "types via `libsbp/bootload.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_BOOTLOAD_MESSAGES_H */ +#endif /* LIBSBP_BOOTLOAD_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/ext_events.h b/c/include/libsbp/ext_events.h index c6ed4dcc8b..c05b0a29dd 100644 --- a/c/include/libsbp/ext_events.h +++ b/c/include/libsbp/ext_events.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/ext_events.h` instead. Access to " - "legacy types via `libsbp/ext_events.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_EXT_EVENTS_MESSAGES_H */ +#endif /* LIBSBP_EXT_EVENTS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/file_io.h b/c/include/libsbp/file_io.h index 289a20a04d..93afb9bf54 100644 --- a/c/include/libsbp/file_io.h +++ b/c/include/libsbp/file_io.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/file_io.h` instead. Access to legacy " - "types via `libsbp/file_io.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_FILE_IO_MESSAGES_H */ +#endif /* LIBSBP_FILE_IO_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/flash.h b/c/include/libsbp/flash.h index 2b9fea98e0..eaeafd363a 100644 --- a/c/include/libsbp/flash.h +++ b/c/include/libsbp/flash.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/flash.h` instead. Access to legacy " - "types via `libsbp/flash.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_FLASH_MESSAGES_H */ +#endif /* LIBSBP_FLASH_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/gnss.h b/c/include/libsbp/gnss.h index caa105c97a..b41e929505 100644 --- a/c/include/libsbp/gnss.h +++ b/c/include/libsbp/gnss.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/gnss.h` instead. Access to legacy " - "types via `libsbp/gnss.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_GNSS_MESSAGES_H */ +#endif /* LIBSBP_GNSS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/imu.h b/c/include/libsbp/imu.h index 94c00a97ba..f02624d79d 100644 --- a/c/include/libsbp/imu.h +++ b/c/include/libsbp/imu.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/imu.h` instead. Access to legacy types " - "via `libsbp/imu.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_IMU_MESSAGES_H */ +#endif /* LIBSBP_IMU_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/integrity.h b/c/include/libsbp/integrity.h index bbdc073a2a..6521cafe32 100644 --- a/c/include/libsbp/integrity.h +++ b/c/include/libsbp/integrity.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/integrity.h` instead. Access to legacy " - "types via `libsbp/integrity.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_INTEGRITY_MESSAGES_H */ +#endif /* LIBSBP_INTEGRITY_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/linux.h b/c/include/libsbp/linux.h index 6053dd5227..cdb213c298 100644 --- a/c/include/libsbp/linux.h +++ b/c/include/libsbp/linux.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/linux.h` instead. Access to legacy " - "types via `libsbp/linux.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_LINUX_MESSAGES_H */ +#endif /* LIBSBP_LINUX_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/logging.h b/c/include/libsbp/logging.h index 4402638ec5..ed9d9ff64e 100644 --- a/c/include/libsbp/logging.h +++ b/c/include/libsbp/logging.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/logging.h` instead. Access to legacy " - "types via `libsbp/logging.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_LOGGING_MESSAGES_H */ +#endif /* LIBSBP_LOGGING_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/mag.h b/c/include/libsbp/mag.h index 01c3afbaaf..4a29057d4e 100644 --- a/c/include/libsbp/mag.h +++ b/c/include/libsbp/mag.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/mag.h` instead. Access to legacy types " - "via `libsbp/mag.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_MAG_MESSAGES_H */ +#endif /* LIBSBP_MAG_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/navigation.h b/c/include/libsbp/navigation.h index 36d1db2e36..36c775a2a1 100644 --- a/c/include/libsbp/navigation.h +++ b/c/include/libsbp/navigation.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/navigation.h` instead. Access to " - "legacy types via `libsbp/navigation.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_NAVIGATION_MESSAGES_H */ +#endif /* LIBSBP_NAVIGATION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/ndb.h b/c/include/libsbp/ndb.h index 726db3788d..597e31ce50 100644 --- a/c/include/libsbp/ndb.h +++ b/c/include/libsbp/ndb.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/ndb.h` instead. Access to legacy types " - "via `libsbp/ndb.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_NDB_MESSAGES_H */ +#endif /* LIBSBP_NDB_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/observation.h b/c/include/libsbp/observation.h index 801c5eec91..f1455ad5f7 100644 --- a/c/include/libsbp/observation.h +++ b/c/include/libsbp/observation.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/observation.h` instead. Access to " - "legacy types via `libsbp/observation.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_OBSERVATION_MESSAGES_H */ +#endif /* LIBSBP_OBSERVATION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/orientation.h b/c/include/libsbp/orientation.h index 708e2e60e3..ec9c002a43 100644 --- a/c/include/libsbp/orientation.h +++ b/c/include/libsbp/orientation.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/orientation.h` instead. Access to " - "legacy types via `libsbp/orientation.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_ORIENTATION_MESSAGES_H */ +#endif /* LIBSBP_ORIENTATION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/piksi.h b/c/include/libsbp/piksi.h index bb8343206b..c3823ba833 100644 --- a/c/include/libsbp/piksi.h +++ b/c/include/libsbp/piksi.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/piksi.h` instead. Access to legacy " - "types via `libsbp/piksi.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_PIKSI_MESSAGES_H */ +#endif /* LIBSBP_PIKSI_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/sbas.h b/c/include/libsbp/sbas.h index 262385f6f7..1168c2813c 100644 --- a/c/include/libsbp/sbas.h +++ b/c/include/libsbp/sbas.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/sbas.h` instead. Access to legacy " - "types via `libsbp/sbas.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_SBAS_MESSAGES_H */ +#endif /* LIBSBP_SBAS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/settings.h b/c/include/libsbp/settings.h index 730ca93f34..7e58b89bc5 100644 --- a/c/include/libsbp/settings.h +++ b/c/include/libsbp/settings.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/settings.h` instead. Access to legacy " - "types via `libsbp/settings.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_SETTINGS_MESSAGES_H */ +#endif /* LIBSBP_SETTINGS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/signing.h b/c/include/libsbp/signing.h index f7df942c92..968d58d4c4 100644 --- a/c/include/libsbp/signing.h +++ b/c/include/libsbp/signing.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/signing.h` instead. Access to legacy " - "types via `libsbp/signing.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_SIGNING_MESSAGES_H */ +#endif /* LIBSBP_SIGNING_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/solution_meta.h b/c/include/libsbp/solution_meta.h index f1cf93df3b..1310178fb2 100644 --- a/c/include/libsbp/solution_meta.h +++ b/c/include/libsbp/solution_meta.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/solution_meta.h` instead. Access to " - "legacy types via `libsbp/solution_meta.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_SOLUTION_META_MESSAGES_H */ +#endif /* LIBSBP_SOLUTION_META_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/ssr.h b/c/include/libsbp/ssr.h index 9ccdff09ef..48560b5e9d 100644 --- a/c/include/libsbp/ssr.h +++ b/c/include/libsbp/ssr.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/ssr.h` instead. Access to legacy types " - "via `libsbp/ssr.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_SSR_MESSAGES_H */ +#endif /* LIBSBP_SSR_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/system.h b/c/include/libsbp/system.h index 865d72faed..aae16fb22e 100644 --- a/c/include/libsbp/system.h +++ b/c/include/libsbp/system.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/system.h` instead. Access to legacy " - "types via `libsbp/system.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_SYSTEM_MESSAGES_H */ +#endif /* LIBSBP_SYSTEM_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/telemetry.h b/c/include/libsbp/telemetry.h index 58c43586a2..3ced3a940e 100644 --- a/c/include/libsbp/telemetry.h +++ b/c/include/libsbp/telemetry.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/telemetry.h` instead. Access to legacy " - "types via `libsbp/telemetry.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_TELEMETRY_MESSAGES_H */ +#endif /* LIBSBP_TELEMETRY_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/tracking.h b/c/include/libsbp/tracking.h index 71c1669579..cf57c757f9 100644 --- a/c/include/libsbp/tracking.h +++ b/c/include/libsbp/tracking.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/tracking.h` instead. Access to legacy " - "types via `libsbp/tracking.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_TRACKING_MESSAGES_H */ +#endif /* LIBSBP_TRACKING_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/user.h b/c/include/libsbp/user.h index 7f769b249d..777b2e509f 100644 --- a/c/include/libsbp/user.h +++ b/c/include/libsbp/user.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/user.h` instead. Access to legacy " - "types via `libsbp/user.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_USER_MESSAGES_H */ +#endif /* LIBSBP_USER_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/vehicle.h b/c/include/libsbp/vehicle.h index 7b022b2d34..8fc4d2df86 100644 --- a/c/include/libsbp/vehicle.h +++ b/c/include/libsbp/vehicle.h @@ -20,11 +20,4 @@ #include -SBP_MESSAGE( - "Legacy SBP definitions have moved. To continue using legacy message " - "definitions include `libsbp/legacy/vehicle.h` instead. Access to legacy " - "types via `libsbp/vehicle.h` will be removed in version 5.") - -#include - -#endif /* LIBSBP_VEHICLE_MESSAGES_H */ +#endif /* LIBSBP_VEHICLE_MESSAGES_H */ \ No newline at end of file diff --git a/generator/sbpg/targets/resources/c/sbp_messages_template.h b/generator/sbpg/targets/resources/c/sbp_messages_template.h index ccbf82004f..4f6a2d91c8 100644 --- a/generator/sbpg/targets/resources/c/sbp_messages_template.h +++ b/generator/sbpg/targets/resources/c/sbp_messages_template.h @@ -20,9 +20,4 @@ #include -SBP_MESSAGE("Legacy SBP definitions have moved. To continue using legacy message definitions include `libsbp/legacy/(((pkg_name))).h` instead. Access to legacy types via `libsbp/(((pkg_name))).h` will be removed in version 5.") - -#include - #endif /* LIBSBP_(((pkg_name|upper)))_MESSAGES_H */ - From e120a58fed291b3fda4d8f31b163bdba935283d1 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Wed, 22 Nov 2023 11:49:59 +1100 Subject: [PATCH 02/19] Rearrange templates directory to match output locations --- generator/sbpg/targets/c.py | 14 +++++++------- generator/sbpg/targets/legacy_c.py | 8 ++++---- .../libsbp}/cpp/message_traits_template.h | 0 .../libsbp}/legacy/cpp/message_traits_template.h | 0 .../libsbp}/legacy/sbp_messages_template.h | 0 .../libsbp}/sbp_messages_macros_template.h | 0 .../c/{ => include/libsbp}/sbp_messages_template.h | 0 .../c/{ => include/libsbp}/sbp_msg_type_template.h | 0 .../c/{ => include/libsbp}/sbp_version_template.h | 0 .../libsbp}/v4/sbp_messages_template.h | 0 .../c/{ => include/libsbp}/v4/sbp_msg_template.h | 0 .../{ => include/libsbp}/v4/sbp_package_template.h | 0 12 files changed, 11 insertions(+), 11 deletions(-) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/cpp/message_traits_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/legacy/cpp/message_traits_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/legacy/sbp_messages_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/sbp_messages_macros_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/sbp_messages_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/sbp_msg_type_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/sbp_version_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/v4/sbp_messages_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/v4/sbp_msg_template.h (100%) rename generator/sbpg/targets/resources/c/{ => include/libsbp}/v4/sbp_package_template.h (100%) diff --git a/generator/sbpg/targets/c.py b/generator/sbpg/targets/c.py index ab88b4624d..16ac85183a 100644 --- a/generator/sbpg/targets/c.py +++ b/generator/sbpg/targets/c.py @@ -18,15 +18,15 @@ from sbpg.utils import markdown_links from sbpg import ReleaseVersion -SBP_MESSAGES_TEMPLATE_NAME = "c/v4/sbp_messages_template.h" -SBP_PACKAGE_TEMPLATE_NAME = "c/v4/sbp_package_template.h" -SBP_MSG_TEMPLATE_NAME = "c/v4/sbp_msg_template.h" -VERSION_TEMPLATE_NAME = "c/sbp_version_template.h" -MESSAGE_TRAITS_TEMPLATE_NAME = "c/cpp/message_traits_template.h" +SBP_MESSAGES_TEMPLATE_NAME = "c/include/libsbp/v4/sbp_messages_template.h" +SBP_PACKAGE_TEMPLATE_NAME = "c/include/libsbp/v4/sbp_package_template.h" +SBP_MSG_TEMPLATE_NAME = "c/include/libsbp/v4/sbp_msg_template.h" +VERSION_TEMPLATE_NAME = "c/include/libsbp/sbp_version_template.h" +MESSAGE_TRAITS_TEMPLATE_NAME = "c/include/libsbp/cpp/message_traits_template.h" SBP_MESSAGES_SOURCE_TEMPLATE_NAME = "c/src/sbp_messages_template.c" SBP_MESSAGES_PRIVATE_HEADER_TEMPLATE_NAME = "c/src/sbp_messages_private_template.h" -SBP_MESSAGES_MACROS_TEMPLATE_NAME = "c/sbp_messages_macros_template.h" -SBP_MSG_TYPE_TEMPLATE_NAME = "c/sbp_msg_type_template.h" +SBP_MESSAGES_MACROS_TEMPLATE_NAME = "c/include/libsbp/sbp_messages_macros_template.h" +SBP_MSG_TYPE_TEMPLATE_NAME = "c/include/libsbp/sbp_msg_type_template.h" PRIMITIVE_TYPES = set( ["u8", "u16", "u32", "u64", "s8", "s16", "s32", "s64", "float", "double", "char"] diff --git a/generator/sbpg/targets/legacy_c.py b/generator/sbpg/targets/legacy_c.py index 14e891185c..c024a21cc7 100755 --- a/generator/sbpg/targets/legacy_c.py +++ b/generator/sbpg/targets/legacy_c.py @@ -21,10 +21,10 @@ from sbpg.targets.templating import JENV, indented_wordwrap from sbpg import ReleaseVersion -MESSAGES_TEMPLATE_NAME = "c/sbp_messages_template.h" -LEGACY_MESSAGES_TEMPLATE_NAME = "c/legacy/sbp_messages_template.h" -VERSION_TEMPLATE_NAME = "c/sbp_version_template.h" -LEGACY_MESSAGE_TRAITS_TEMPLATE_NAME = "c/legacy/cpp/message_traits_template.h" +MESSAGES_TEMPLATE_NAME = "c/include/libsbp/sbp_messages_template.h" +LEGACY_MESSAGES_TEMPLATE_NAME = "c/include/libsbp/legacy/sbp_messages_template.h" +VERSION_TEMPLATE_NAME = "c/include/libsbp/sbp_version_template.h" +LEGACY_MESSAGE_TRAITS_TEMPLATE_NAME = "c/include/libsbp/legacy/cpp/message_traits_template.h" @pass_environment diff --git a/generator/sbpg/targets/resources/c/cpp/message_traits_template.h b/generator/sbpg/targets/resources/c/include/libsbp/cpp/message_traits_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/cpp/message_traits_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/cpp/message_traits_template.h diff --git a/generator/sbpg/targets/resources/c/legacy/cpp/message_traits_template.h b/generator/sbpg/targets/resources/c/include/libsbp/legacy/cpp/message_traits_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/legacy/cpp/message_traits_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/legacy/cpp/message_traits_template.h diff --git a/generator/sbpg/targets/resources/c/legacy/sbp_messages_template.h b/generator/sbpg/targets/resources/c/include/libsbp/legacy/sbp_messages_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/legacy/sbp_messages_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/legacy/sbp_messages_template.h diff --git a/generator/sbpg/targets/resources/c/sbp_messages_macros_template.h b/generator/sbpg/targets/resources/c/include/libsbp/sbp_messages_macros_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/sbp_messages_macros_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/sbp_messages_macros_template.h diff --git a/generator/sbpg/targets/resources/c/sbp_messages_template.h b/generator/sbpg/targets/resources/c/include/libsbp/sbp_messages_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/sbp_messages_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/sbp_messages_template.h diff --git a/generator/sbpg/targets/resources/c/sbp_msg_type_template.h b/generator/sbpg/targets/resources/c/include/libsbp/sbp_msg_type_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/sbp_msg_type_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/sbp_msg_type_template.h diff --git a/generator/sbpg/targets/resources/c/sbp_version_template.h b/generator/sbpg/targets/resources/c/include/libsbp/sbp_version_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/sbp_version_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/sbp_version_template.h diff --git a/generator/sbpg/targets/resources/c/v4/sbp_messages_template.h b/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_messages_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/v4/sbp_messages_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_messages_template.h diff --git a/generator/sbpg/targets/resources/c/v4/sbp_msg_template.h b/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_msg_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/v4/sbp_msg_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_msg_template.h diff --git a/generator/sbpg/targets/resources/c/v4/sbp_package_template.h b/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_package_template.h similarity index 100% rename from generator/sbpg/targets/resources/c/v4/sbp_package_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_package_template.h From 1d940861953ba6085cd136b723c50f79f86bca77 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Wed, 22 Nov 2023 12:17:49 +1100 Subject: [PATCH 03/19] Move v4 public headers to the top level include directory --- c/include/libsbp/acquisition.h | 16 +- .../{v4 => }/acquisition/AcqSvProfile.h | 2 +- .../{v4 => }/acquisition/AcqSvProfileDep.h | 2 +- .../{v4 => }/acquisition/MSG_ACQ_RESULT.h | 2 +- .../acquisition/MSG_ACQ_RESULT_DEP_A.h | 0 .../acquisition/MSG_ACQ_RESULT_DEP_B.h | 2 +- .../acquisition/MSG_ACQ_RESULT_DEP_C.h | 2 +- .../{v4 => }/acquisition/MSG_ACQ_SV_PROFILE.h | 2 +- .../acquisition/MSG_ACQ_SV_PROFILE_DEP.h | 2 +- c/include/libsbp/bootload.h | 14 +- .../bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h | 0 .../bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h | 0 .../bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h | 0 .../bootload/MSG_BOOTLOADER_JUMP_TO_APP.h | 0 .../bootload/MSG_NAP_DEVICE_DNA_REQ.h | 0 .../bootload/MSG_NAP_DEVICE_DNA_RESP.h | 0 c/include/libsbp/cpp/message_traits.h | 54 ++--- c/include/libsbp/ext_events.h | 9 +- .../{v4 => }/ext_events/MSG_EXT_EVENT.h | 0 c/include/libsbp/file_io.h | 17 +- .../{v4 => }/file_io/MSG_FILEIO_CONFIG_REQ.h | 0 .../{v4 => }/file_io/MSG_FILEIO_CONFIG_RESP.h | 0 .../file_io/MSG_FILEIO_READ_DIR_REQ.h | 0 .../file_io/MSG_FILEIO_READ_DIR_RESP.h | 0 .../{v4 => }/file_io/MSG_FILEIO_READ_REQ.h | 0 .../{v4 => }/file_io/MSG_FILEIO_READ_RESP.h | 0 .../{v4 => }/file_io/MSG_FILEIO_REMOVE.h | 0 .../{v4 => }/file_io/MSG_FILEIO_WRITE_REQ.h | 0 .../{v4 => }/file_io/MSG_FILEIO_WRITE_RESP.h | 0 c/include/libsbp/flash.h | 18 +- .../libsbp/{v4 => }/flash/MSG_FLASH_DONE.h | 0 .../libsbp/{v4 => }/flash/MSG_FLASH_ERASE.h | 0 .../libsbp/{v4 => }/flash/MSG_FLASH_PROGRAM.h | 0 .../{v4 => }/flash/MSG_FLASH_READ_REQ.h | 0 .../{v4 => }/flash/MSG_FLASH_READ_RESP.h | 0 .../flash/MSG_M25_FLASH_WRITE_STATUS.h | 0 .../flash/MSG_STM_FLASH_LOCK_SECTOR.h | 0 .../flash/MSG_STM_FLASH_UNLOCK_SECTOR.h | 0 .../{v4 => }/flash/MSG_STM_UNIQUE_ID_REQ.h | 0 .../{v4 => }/flash/MSG_STM_UNIQUE_ID_RESP.h | 0 c/include/libsbp/gnss.h | 15 +- c/include/libsbp/{v4 => }/gnss/CarrierPhase.h | 0 c/include/libsbp/{v4 => }/gnss/GPSTime.h | 0 c/include/libsbp/{v4 => }/gnss/GPSTimeDep.h | 0 c/include/libsbp/{v4 => }/gnss/GPSTimeSec.h | 0 c/include/libsbp/{v4 => }/gnss/GnssSignal.h | 0 .../libsbp/{v4 => }/gnss/GnssSignalDep.h | 0 c/include/libsbp/{v4 => }/gnss/SvId.h | 0 c/include/libsbp/imu.h | 10 +- c/include/libsbp/{v4 => }/imu/MSG_IMU_AUX.h | 0 c/include/libsbp/{v4 => }/imu/MSG_IMU_RAW.h | 0 c/include/libsbp/integrity.h | 16 +- .../{v4 => }/integrity/IntegritySSRHeader.h | 2 +- .../{v4 => }/integrity/MSG_ACKNOWLEDGE.h | 0 .../integrity/MSG_SSR_FLAG_HIGH_LEVEL.h | 2 +- .../integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h | 2 +- .../MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h | 4 +- .../MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h | 4 +- .../integrity/MSG_SSR_FLAG_SATELLITES.h | 2 +- .../MSG_SSR_FLAG_TROPO_GRID_POINTS.h | 2 +- c/include/libsbp/linux.h | 19 +- .../{v4 => }/linux/MSG_LINUX_CPU_STATE.h | 0 .../linux/MSG_LINUX_CPU_STATE_DEP_A.h | 0 .../{v4 => }/linux/MSG_LINUX_MEM_STATE.h | 0 .../linux/MSG_LINUX_MEM_STATE_DEP_A.h | 0 .../linux/MSG_LINUX_PROCESS_FD_COUNT.h | 0 .../linux/MSG_LINUX_PROCESS_FD_SUMMARY.h | 0 .../linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h | 0 .../linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h | 0 .../{v4 => }/linux/MSG_LINUX_SOCKET_USAGE.h | 0 .../{v4 => }/linux/MSG_LINUX_SYS_STATE.h | 0 .../linux/MSG_LINUX_SYS_STATE_DEP_A.h | 0 c/include/libsbp/logging.h | 11 +- c/include/libsbp/{v4 => }/logging/MSG_FWD.h | 0 c/include/libsbp/{v4 => }/logging/MSG_LOG.h | 0 .../libsbp/{v4 => }/logging/MSG_PRINT_DEP.h | 0 c/include/libsbp/mag.h | 9 +- c/include/libsbp/{v4 => }/mag/MSG_MAG_RAW.h | 0 c/include/libsbp/navigation.h | 50 ++++- .../EstimatedHorizontalErrorEllipse.h | 0 .../{v4 => }/navigation/MSG_AGE_CORRECTIONS.h | 0 .../{v4 => }/navigation/MSG_BASELINE_ECEF.h | 0 .../navigation/MSG_BASELINE_ECEF_DEP_A.h | 0 .../navigation/MSG_BASELINE_HEADING_DEP_A.h | 0 .../{v4 => }/navigation/MSG_BASELINE_NED.h | 0 .../navigation/MSG_BASELINE_NED_DEP_A.h | 0 .../libsbp/{v4 => }/navigation/MSG_DOPS.h | 0 .../{v4 => }/navigation/MSG_DOPS_DEP_A.h | 0 .../libsbp/{v4 => }/navigation/MSG_GPS_TIME.h | 0 .../{v4 => }/navigation/MSG_GPS_TIME_DEP_A.h | 0 .../{v4 => }/navigation/MSG_GPS_TIME_GNSS.h | 0 .../{v4 => }/navigation/MSG_POSE_RELATIVE.h | 0 .../libsbp/{v4 => }/navigation/MSG_POS_ECEF.h | 0 .../{v4 => }/navigation/MSG_POS_ECEF_COV.h | 0 .../navigation/MSG_POS_ECEF_COV_GNSS.h | 0 .../{v4 => }/navigation/MSG_POS_ECEF_DEP_A.h | 0 .../{v4 => }/navigation/MSG_POS_ECEF_GNSS.h | 0 .../libsbp/{v4 => }/navigation/MSG_POS_LLH.h | 0 .../{v4 => }/navigation/MSG_POS_LLH_ACC.h | 2 +- .../{v4 => }/navigation/MSG_POS_LLH_COV.h | 0 .../navigation/MSG_POS_LLH_COV_GNSS.h | 0 .../{v4 => }/navigation/MSG_POS_LLH_DEP_A.h | 0 .../{v4 => }/navigation/MSG_POS_LLH_GNSS.h | 0 .../navigation/MSG_PROTECTION_LEVEL.h | 0 .../navigation/MSG_PROTECTION_LEVEL_DEP_A.h | 0 .../navigation/MSG_REFERENCE_FRAME_PARAM.h | 0 .../{v4 => }/navigation/MSG_UTC_LEAP_SECOND.h | 0 .../libsbp/{v4 => }/navigation/MSG_UTC_TIME.h | 0 .../{v4 => }/navigation/MSG_UTC_TIME_GNSS.h | 0 .../libsbp/{v4 => }/navigation/MSG_VEL_BODY.h | 0 .../libsbp/{v4 => }/navigation/MSG_VEL_COG.h | 0 .../libsbp/{v4 => }/navigation/MSG_VEL_ECEF.h | 0 .../{v4 => }/navigation/MSG_VEL_ECEF_COV.h | 0 .../navigation/MSG_VEL_ECEF_COV_GNSS.h | 0 .../{v4 => }/navigation/MSG_VEL_ECEF_DEP_A.h | 0 .../{v4 => }/navigation/MSG_VEL_ECEF_GNSS.h | 0 .../libsbp/{v4 => }/navigation/MSG_VEL_NED.h | 0 .../{v4 => }/navigation/MSG_VEL_NED_COV.h | 0 .../navigation/MSG_VEL_NED_COV_GNSS.h | 0 .../{v4 => }/navigation/MSG_VEL_NED_DEP_A.h | 0 .../{v4 => }/navigation/MSG_VEL_NED_GNSS.h | 0 c/include/libsbp/ndb.h | 9 +- c/include/libsbp/{v4 => }/ndb/MSG_NDB_EVENT.h | 2 +- c/include/libsbp/observation.h | 62 +++++- .../observation/AlmanacCommonContent.h | 4 +- .../observation/AlmanacCommonContentDep.h | 4 +- .../{v4 => }/observation/CarrierPhaseDepA.h | 0 .../libsbp/{v4 => }/observation/Doppler.h | 0 .../observation/EphemerisCommonContent.h | 4 +- .../observation/EphemerisCommonContentDepA.h | 4 +- .../observation/EphemerisCommonContentDepB.h | 4 +- .../libsbp/{v4 => }/observation/GnssCapb.h | 0 .../{v4 => }/observation/MSG_ALMANAC_GLO.h | 2 +- .../observation/MSG_ALMANAC_GLO_DEP.h | 2 +- .../{v4 => }/observation/MSG_ALMANAC_GPS.h | 2 +- .../observation/MSG_ALMANAC_GPS_DEP.h | 2 +- .../{v4 => }/observation/MSG_BASE_POS_ECEF.h | 0 .../{v4 => }/observation/MSG_BASE_POS_LLH.h | 0 .../{v4 => }/observation/MSG_EPHEMERIS_BDS.h | 4 +- .../observation/MSG_EPHEMERIS_DEP_A.h | 0 .../observation/MSG_EPHEMERIS_DEP_B.h | 0 .../observation/MSG_EPHEMERIS_DEP_C.h | 2 +- .../observation/MSG_EPHEMERIS_DEP_D.h | 2 +- .../{v4 => }/observation/MSG_EPHEMERIS_GAL.h | 4 +- .../observation/MSG_EPHEMERIS_GAL_DEP_A.h | 4 +- .../{v4 => }/observation/MSG_EPHEMERIS_GLO.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_A.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_B.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_C.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_D.h | 2 +- .../{v4 => }/observation/MSG_EPHEMERIS_GPS.h | 4 +- .../observation/MSG_EPHEMERIS_GPS_DEP_E.h | 4 +- .../observation/MSG_EPHEMERIS_GPS_DEP_F.h | 4 +- .../{v4 => }/observation/MSG_EPHEMERIS_QZSS.h | 4 +- .../{v4 => }/observation/MSG_EPHEMERIS_SBAS.h | 2 +- .../observation/MSG_EPHEMERIS_SBAS_DEP_A.h | 2 +- .../observation/MSG_EPHEMERIS_SBAS_DEP_B.h | 2 +- .../{v4 => }/observation/MSG_GLO_BIASES.h | 0 .../{v4 => }/observation/MSG_GNSS_CAPB.h | 4 +- .../{v4 => }/observation/MSG_GROUP_DELAY.h | 4 +- .../observation/MSG_GROUP_DELAY_DEP_A.h | 2 +- .../observation/MSG_GROUP_DELAY_DEP_B.h | 4 +- .../libsbp/{v4 => }/observation/MSG_IONO.h | 2 +- .../libsbp/{v4 => }/observation/MSG_OBS.h | 4 +- .../{v4 => }/observation/MSG_OBS_DEP_A.h | 4 +- .../{v4 => }/observation/MSG_OBS_DEP_B.h | 4 +- .../{v4 => }/observation/MSG_OBS_DEP_C.h | 4 +- .../libsbp/{v4 => }/observation/MSG_OSR.h | 4 +- .../{v4 => }/observation/MSG_SV_AZ_EL.h | 2 +- .../MSG_SV_CONFIGURATION_GPS_DEP.h | 2 +- .../{v4 => }/observation/ObservationHeader.h | 2 +- .../observation/ObservationHeaderDep.h | 2 +- .../{v4 => }/observation/PackedObsContent.h | 6 +- .../observation/PackedObsContentDepA.h | 2 +- .../observation/PackedObsContentDepB.h | 4 +- .../observation/PackedObsContentDepC.h | 4 +- .../{v4 => }/observation/PackedOsrContent.h | 4 +- .../libsbp/{v4 => }/observation/SvAzEl.h | 2 +- c/include/libsbp/orientation.h | 12 +- .../{v4 => }/orientation/MSG_ANGULAR_RATE.h | 0 .../orientation/MSG_BASELINE_HEADING.h | 0 .../{v4 => }/orientation/MSG_ORIENT_EULER.h | 0 .../{v4 => }/orientation/MSG_ORIENT_QUAT.h | 0 c/include/libsbp/piksi.h | 37 +++- c/include/libsbp/{v4 => }/piksi/Latency.h | 0 c/include/libsbp/{v4 => }/piksi/MSG_ALMANAC.h | 0 .../{v4 => }/piksi/MSG_CELL_MODEM_STATUS.h | 0 .../{v4 => }/piksi/MSG_COMMAND_OUTPUT.h | 0 .../libsbp/{v4 => }/piksi/MSG_COMMAND_REQ.h | 0 .../libsbp/{v4 => }/piksi/MSG_COMMAND_RESP.h | 0 .../libsbp/{v4 => }/piksi/MSG_CW_RESULTS.h | 0 .../libsbp/{v4 => }/piksi/MSG_CW_START.h | 0 .../{v4 => }/piksi/MSG_DEVICE_MONITOR.h | 0 .../{v4 => }/piksi/MSG_FRONT_END_GAIN.h | 0 .../libsbp/{v4 => }/piksi/MSG_IAR_STATE.h | 0 .../libsbp/{v4 => }/piksi/MSG_INIT_BASE_DEP.h | 0 .../{v4 => }/piksi/MSG_MASK_SATELLITE.h | 2 +- .../{v4 => }/piksi/MSG_MASK_SATELLITE_DEP.h | 2 +- .../piksi/MSG_NETWORK_BANDWIDTH_USAGE.h | 2 +- .../{v4 => }/piksi/MSG_NETWORK_STATE_REQ.h | 0 .../{v4 => }/piksi/MSG_NETWORK_STATE_RESP.h | 0 c/include/libsbp/{v4 => }/piksi/MSG_RESET.h | 0 .../libsbp/{v4 => }/piksi/MSG_RESET_DEP.h | 0 .../libsbp/{v4 => }/piksi/MSG_RESET_FILTERS.h | 0 .../libsbp/{v4 => }/piksi/MSG_SET_TIME.h | 0 c/include/libsbp/{v4 => }/piksi/MSG_SPECAN.h | 2 +- .../libsbp/{v4 => }/piksi/MSG_SPECAN_DEP.h | 2 +- .../libsbp/{v4 => }/piksi/MSG_THREAD_STATE.h | 0 .../libsbp/{v4 => }/piksi/MSG_UART_STATE.h | 6 +- .../{v4 => }/piksi/MSG_UART_STATE_DEPA.h | 4 +- .../libsbp/{v4 => }/piksi/NetworkUsage.h | 0 c/include/libsbp/{v4 => }/piksi/Period.h | 0 c/include/libsbp/{v4 => }/piksi/UARTChannel.h | 0 c/include/libsbp/sbas.h | 9 +- c/include/libsbp/{v4 => }/sbas/MSG_SBAS_RAW.h | 2 +- c/include/libsbp/{v4 => }/sbp_msg.h | 52 ++--- c/include/libsbp/settings.h | 18 +- .../MSG_SETTINGS_READ_BY_INDEX_DONE.h | 0 .../settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h | 0 .../MSG_SETTINGS_READ_BY_INDEX_RESP.h | 0 .../{v4 => }/settings/MSG_SETTINGS_READ_REQ.h | 0 .../settings/MSG_SETTINGS_READ_RESP.h | 0 .../{v4 => }/settings/MSG_SETTINGS_REGISTER.h | 0 .../settings/MSG_SETTINGS_REGISTER_RESP.h | 0 .../{v4 => }/settings/MSG_SETTINGS_SAVE.h | 0 .../{v4 => }/settings/MSG_SETTINGS_WRITE.h | 0 .../settings/MSG_SETTINGS_WRITE_RESP.h | 0 c/include/libsbp/signing.h | 19 +- .../libsbp/{v4 => }/signing/ECDSASignature.h | 0 .../{v4 => }/signing/MSG_CERTIFICATE_CHAIN.h | 4 +- .../signing/MSG_CERTIFICATE_CHAIN_DEP.h | 2 +- .../{v4 => }/signing/MSG_ECDSA_CERTIFICATE.h | 0 .../{v4 => }/signing/MSG_ECDSA_SIGNATURE.h | 2 +- .../signing/MSG_ECDSA_SIGNATURE_DEP_A.h | 0 .../signing/MSG_ECDSA_SIGNATURE_DEP_B.h | 0 .../signing/MSG_ED25519_CERTIFICATE_DEP.h | 0 .../signing/MSG_ED25519_SIGNATURE_DEP_A.h | 0 .../signing/MSG_ED25519_SIGNATURE_DEP_B.h | 0 c/include/libsbp/{v4 => }/signing/UtcTime.h | 0 c/include/libsbp/solution_meta.h | 14 +- .../{v4 => }/solution_meta/GNSSInputType.h | 0 .../{v4 => }/solution_meta/IMUInputType.h | 0 .../{v4 => }/solution_meta/MSG_SOLN_META.h | 2 +- .../solution_meta/MSG_SOLN_META_DEP_A.h | 2 +- .../{v4 => }/solution_meta/OdoInputType.h | 0 .../solution_meta/SolutionInputType.h | 0 c/include/libsbp/ssr.h | 46 +++- c/include/libsbp/{v4 => }/ssr/BoundsHeader.h | 2 +- .../libsbp/{v4 => }/ssr/CodeBiasesContent.h | 0 .../{v4 => }/ssr/CodePhaseBiasesSatSig.h | 0 .../{v4 => }/ssr/GridDefinitionHeaderDepA.h | 0 .../{v4 => }/ssr/GriddedCorrectionHeader.h | 2 +- .../ssr/GriddedCorrectionHeaderDepA.h | 2 +- .../libsbp/{v4 => }/ssr/MSG_SSR_CODE_BIASES.h | 6 +- .../ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h | 4 +- .../{v4 => }/ssr/MSG_SSR_GRIDDED_CORRECTION.h | 6 +- .../ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h | 6 +- .../ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h | 6 +- .../MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h | 6 +- .../ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h | 2 +- .../libsbp/{v4 => }/ssr/MSG_SSR_ORBIT_CLOCK.h | 4 +- .../{v4 => }/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h | 4 +- .../MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h | 4 +- .../{v4 => }/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h | 4 +- .../{v4 => }/ssr/MSG_SSR_PHASE_BIASES.h | 6 +- .../{v4 => }/ssr/MSG_SSR_SATELLITE_APC.h | 4 +- .../{v4 => }/ssr/MSG_SSR_SATELLITE_APC_DEP.h | 2 +- .../{v4 => }/ssr/MSG_SSR_STEC_CORRECTION.h | 4 +- .../ssr/MSG_SSR_STEC_CORRECTION_DEP.h | 4 +- .../ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h | 4 +- .../{v4 => }/ssr/MSG_SSR_TILE_DEFINITION.h | 2 +- .../ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h | 0 .../ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h | 0 .../libsbp/{v4 => }/ssr/OrbitClockBound.h | 0 .../{v4 => }/ssr/OrbitClockBoundDegradation.h | 0 .../libsbp/{v4 => }/ssr/PhaseBiasesContent.h | 0 c/include/libsbp/{v4 => }/ssr/STECHeader.h | 2 +- .../libsbp/{v4 => }/ssr/STECHeaderDepA.h | 2 +- c/include/libsbp/{v4 => }/ssr/STECResidual.h | 2 +- .../libsbp/{v4 => }/ssr/STECResidualNoStd.h | 2 +- .../libsbp/{v4 => }/ssr/STECSatElement.h | 2 +- .../{v4 => }/ssr/STECSatElementIntegrity.h | 2 +- c/include/libsbp/{v4 => }/ssr/SatelliteAPC.h | 2 +- .../ssr/TroposphericDelayCorrection.h | 0 .../ssr/TroposphericDelayCorrectionNoStd.h | 0 c/include/libsbp/system.h | 23 +- .../{v4 => }/system/MSG_CSAC_TELEMETRY.h | 0 .../system/MSG_CSAC_TELEMETRY_LABELS.h | 0 .../libsbp/{v4 => }/system/MSG_DGNSS_STATUS.h | 0 .../{v4 => }/system/MSG_GNSS_TIME_OFFSET.h | 0 .../libsbp/{v4 => }/system/MSG_GROUP_META.h | 0 .../libsbp/{v4 => }/system/MSG_HEARTBEAT.h | 0 .../libsbp/{v4 => }/system/MSG_INS_STATUS.h | 0 .../libsbp/{v4 => }/system/MSG_INS_UPDATES.h | 0 .../libsbp/{v4 => }/system/MSG_PPS_TIME.h | 0 .../{v4 => }/system/MSG_SENSOR_AID_EVENT.h | 0 .../libsbp/{v4 => }/system/MSG_STARTUP.h | 0 .../{v4 => }/system/MSG_STATUS_JOURNAL.h | 2 +- .../{v4 => }/system/MSG_STATUS_REPORT.h | 2 +- .../{v4 => }/system/StatusJournalItem.h | 2 +- .../libsbp/{v4 => }/system/SubSystemReport.h | 0 c/include/libsbp/telemetry.h | 10 +- .../libsbp/{v4 => }/telemetry/MSG_TEL_SV.h | 2 +- .../libsbp/{v4 => }/telemetry/TelemetrySV.h | 2 +- c/include/libsbp/tracking.h | 23 +- .../{v4 => }/tracking/MSG_MEASUREMENT_STATE.h | 2 +- .../{v4 => }/tracking/MSG_TRACKING_IQ.h | 4 +- .../{v4 => }/tracking/MSG_TRACKING_IQ_DEP_A.h | 4 +- .../{v4 => }/tracking/MSG_TRACKING_IQ_DEP_B.h | 4 +- .../{v4 => }/tracking/MSG_TRACKING_STATE.h | 2 +- .../tracking/MSG_TRACKING_STATE_DEP_A.h | 2 +- .../tracking/MSG_TRACKING_STATE_DEP_B.h | 2 +- .../MSG_TRACKING_STATE_DETAILED_DEP.h | 6 +- .../MSG_TRACKING_STATE_DETAILED_DEP_A.h | 6 +- .../{v4 => }/tracking/MeasurementState.h | 2 +- .../tracking/TrackingChannelCorrelation.h | 0 .../tracking/TrackingChannelCorrelationDep.h | 0 .../{v4 => }/tracking/TrackingChannelState.h | 2 +- .../tracking/TrackingChannelStateDepA.h | 0 .../tracking/TrackingChannelStateDepB.h | 2 +- c/include/libsbp/user.h | 9 +- .../libsbp/{v4 => }/user/MSG_USER_DATA.h | 0 c/include/libsbp/v4/acquisition.h | 25 ++- c/include/libsbp/v4/api.h | 2 +- c/include/libsbp/v4/bootload.h | 23 +- c/include/libsbp/v4/ext_events.h | 18 +- c/include/libsbp/v4/file_io.h | 26 +-- c/include/libsbp/v4/flash.h | 27 ++- c/include/libsbp/v4/gnss.h | 24 +- c/include/libsbp/v4/imu.h | 19 +- c/include/libsbp/v4/integrity.h | 25 ++- c/include/libsbp/v4/linux.h | 28 ++- c/include/libsbp/v4/logging.h | 20 +- c/include/libsbp/v4/mag.h | 18 +- c/include/libsbp/v4/navigation.h | 59 ++--- c/include/libsbp/v4/navigation/MSG_COG_SOG.h | 205 ------------------ c/include/libsbp/v4/ndb.h | 18 +- c/include/libsbp/v4/observation.h | 71 ++---- c/include/libsbp/v4/orientation.h | 21 +- c/include/libsbp/v4/piksi.h | 46 ++-- c/include/libsbp/v4/sbas.h | 18 +- c/include/libsbp/v4/settings.h | 27 ++- c/include/libsbp/v4/signing.h | 28 ++- c/include/libsbp/v4/solution_meta.h | 23 +- c/include/libsbp/v4/ssr.h | 55 ++--- c/include/libsbp/v4/system.h | 32 ++- c/include/libsbp/v4/telemetry.h | 19 +- c/include/libsbp/v4/tracking.h | 32 ++- c/include/libsbp/v4/user.h | 18 +- c/include/libsbp/v4/vehicle.h | 19 +- c/include/libsbp/vehicle.h | 10 +- .../libsbp/{v4 => }/vehicle/MSG_ODOMETRY.h | 0 .../libsbp/{v4 => }/vehicle/MSG_WHEELTICK.h | 0 .../include/libsbp/internal/v4/acquisition.h | 2 +- c/src/include/libsbp/internal/v4/bootload.h | 2 +- c/src/include/libsbp/internal/v4/ext_events.h | 2 +- c/src/include/libsbp/internal/v4/file_io.h | 2 +- c/src/include/libsbp/internal/v4/flash.h | 2 +- c/src/include/libsbp/internal/v4/gnss.h | 2 +- c/src/include/libsbp/internal/v4/imu.h | 2 +- c/src/include/libsbp/internal/v4/integrity.h | 2 +- c/src/include/libsbp/internal/v4/linux.h | 2 +- c/src/include/libsbp/internal/v4/logging.h | 2 +- c/src/include/libsbp/internal/v4/mag.h | 2 +- c/src/include/libsbp/internal/v4/navigation.h | 2 +- c/src/include/libsbp/internal/v4/ndb.h | 2 +- .../include/libsbp/internal/v4/observation.h | 2 +- .../include/libsbp/internal/v4/orientation.h | 2 +- c/src/include/libsbp/internal/v4/piksi.h | 2 +- c/src/include/libsbp/internal/v4/sbas.h | 2 +- c/src/include/libsbp/internal/v4/settings.h | 2 +- c/src/include/libsbp/internal/v4/signing.h | 2 +- .../libsbp/internal/v4/solution_meta.h | 2 +- c/src/include/libsbp/internal/v4/ssr.h | 2 +- c/src/include/libsbp/internal/v4/system.h | 2 +- c/src/include/libsbp/internal/v4/telemetry.h | 2 +- c/src/include/libsbp/internal/v4/tracking.h | 2 +- c/src/include/libsbp/internal/v4/user.h | 2 +- c/src/include/libsbp/internal/v4/vehicle.h | 2 +- c/src/v4/acquisition.c | 2 +- c/src/v4/bootload.c | 2 +- c/src/v4/ext_events.c | 2 +- c/src/v4/file_io.c | 2 +- c/src/v4/flash.c | 2 +- c/src/v4/gnss.c | 2 +- c/src/v4/imu.c | 2 +- c/src/v4/integrity.c | 2 +- c/src/v4/linux.c | 2 +- c/src/v4/logging.c | 2 +- c/src/v4/mag.c | 2 +- c/src/v4/navigation.c | 2 +- c/src/v4/ndb.c | 2 +- c/src/v4/observation.c | 2 +- c/src/v4/orientation.c | 2 +- c/src/v4/piksi.c | 2 +- c/src/v4/sbas.c | 2 +- c/src/v4/settings.c | 2 +- c/src/v4/signing.c | 2 +- c/src/v4/solution_meta.c | 2 +- c/src/v4/ssr.c | 2 +- c/src/v4/system.c | 2 +- c/src/v4/telemetry.c | 2 +- c/src/v4/tracking.c | 2 +- c/src/v4/user.c | 2 +- c/src/v4/vehicle.c | 2 +- .../auto_check_sbp_acquisition_MsgAcqResult.c | 2 +- ...o_check_sbp_acquisition_MsgAcqResultDepA.c | 2 +- ...o_check_sbp_acquisition_MsgAcqResultDepB.c | 2 +- ...o_check_sbp_acquisition_MsgAcqResultDepC.c | 2 +- ...to_check_sbp_acquisition_MsgAcqSvProfile.c | 2 +- ...check_sbp_acquisition_MsgAcqSvProfileDep.c | 2 +- ...k_sbp_bootload_MsgBootloaderHandshakeReq.c | 2 +- ..._sbp_bootload_MsgBootloaderHandshakeResp.c | 2 +- ...heck_sbp_bootload_MsgBootloaderJumptoApp.c | 2 +- ...to_check_sbp_bootload_MsgNapDeviceDnaReq.c | 2 +- ...o_check_sbp_bootload_MsgNapDeviceDnaResp.c | 2 +- .../auto_check_sbp_ext_events_MsgExtEvent.c | 2 +- ...uto_check_sbp_file_io_MsgFileioConfigReq.c | 2 +- ...to_check_sbp_file_io_MsgFileioConfigResp.c | 2 +- ...to_check_sbp_file_io_MsgFileioReadDirReq.c | 2 +- ...o_check_sbp_file_io_MsgFileioReadDirResp.c | 2 +- .../auto_check_sbp_file_io_MsgFileioReadReq.c | 2 +- ...auto_check_sbp_file_io_MsgFileioReadResp.c | 2 +- .../auto_check_sbp_file_io_MsgFileioRemove.c | 2 +- ...uto_check_sbp_file_io_MsgFileioWriteResp.c | 2 +- c/test/auto_check_sbp_flash_MsgFlashDone.c | 2 +- c/test/auto_check_sbp_flash_MsgFlashErase.c | 2 +- c/test/auto_check_sbp_flash_MsgFlashProgram.c | 2 +- c/test/auto_check_sbp_flash_MsgFlashReadReq.c | 2 +- .../auto_check_sbp_flash_MsgFlashReadResp.c | 2 +- ...o_check_sbp_flash_MsgM25FlashWriteStatus.c | 2 +- ...to_check_sbp_flash_MsgStmFlashLockSector.c | 2 +- ..._check_sbp_flash_MsgStmFlashUnlockSector.c | 2 +- .../auto_check_sbp_flash_MsgStmUniqueIdReq.c | 2 +- .../auto_check_sbp_flash_MsgStmUniqueIdResp.c | 2 +- c/test/auto_check_sbp_imu_MsgImuAux.c | 2 +- c/test/auto_check_sbp_imu_MsgImuRaw.c | 2 +- .../auto_check_sbp_integrity_MsgAcknowledge.c | 2 +- ..._check_sbp_integrity_MsgSsrFlagHighLevel.c | 2 +- ..._integrity_MsgSsrFlagIonoGridPointSatLos.c | 2 +- ...k_sbp_integrity_MsgSsrFlagIonoGridPoints.c | 2 +- ...k_sbp_integrity_MsgSsrFlagIonoTileSatLos.c | 2 +- ...check_sbp_integrity_MsgSsrFlagSatellites.c | 2 +- ..._sbp_integrity_MsgSsrFlagTropoGridPoints.c | 2 +- .../auto_check_sbp_linux_MsgLinuxCpuState.c | 2 +- ...uto_check_sbp_linux_MsgLinuxCpuStateDepA.c | 2 +- .../auto_check_sbp_linux_MsgLinuxMemState.c | 2 +- ...uto_check_sbp_linux_MsgLinuxMemStateDepA.c | 2 +- ...o_check_sbp_linux_MsgLinuxProcessFdCount.c | 2 +- ...check_sbp_linux_MsgLinuxProcessFdSummary.c | 2 +- ...ck_sbp_linux_MsgLinuxProcessSocketCounts.c | 2 +- ...ck_sbp_linux_MsgLinuxProcessSocketQueues.c | 2 +- ...auto_check_sbp_linux_MsgLinuxSocketUsage.c | 2 +- .../auto_check_sbp_linux_MsgLinuxSysState.c | 2 +- ...uto_check_sbp_linux_MsgLinuxSysStateDepA.c | 2 +- c/test/auto_check_sbp_logging_MsgFwd.c | 2 +- c/test/auto_check_sbp_logging_MsgLog.c | 2 +- c/test/auto_check_sbp_logging_MsgPrintDep.c | 2 +- c/test/auto_check_sbp_mag_MsgMagRaw.c | 2 +- ...o_check_sbp_navigation_MsgAgeCorrections.c | 2 +- ...uto_check_sbp_navigation_MsgBaselineECEF.c | 2 +- ...check_sbp_navigation_MsgBaselineECEFDepA.c | 2 +- ...ck_sbp_navigation_MsgBaselineHeadingDepA.c | 2 +- ...auto_check_sbp_navigation_MsgBaselineNED.c | 2 +- ..._check_sbp_navigation_MsgBaselineNEDDepA.c | 2 +- c/test/auto_check_sbp_navigation_MsgDops.c | 2 +- .../auto_check_sbp_navigation_MsgDopsDepA.c | 2 +- c/test/auto_check_sbp_navigation_MsgGPSTime.c | 2 +- ...auto_check_sbp_navigation_MsgGPSTimeDepA.c | 2 +- ...auto_check_sbp_navigation_MsgGPSTimeGNSS.c | 2 +- c/test/auto_check_sbp_navigation_MsgPosECEF.c | 2 +- .../auto_check_sbp_navigation_MsgPosECEFCov.c | 2 +- ...o_check_sbp_navigation_MsgPosECEFCovGNSS.c | 2 +- ...auto_check_sbp_navigation_MsgPosECEFDepA.c | 2 +- ...auto_check_sbp_navigation_MsgPosECEFGNSS.c | 2 +- c/test/auto_check_sbp_navigation_MsgPosLLH.c | 2 +- .../auto_check_sbp_navigation_MsgPosLLHCov.c | 2 +- .../auto_check_sbp_navigation_MsgPosLLHDepA.c | 2 +- .../auto_check_sbp_navigation_MsgPosLlhAcc.c | 2 +- ...to_check_sbp_navigation_MsgPosLlhCovGnss.c | 2 +- .../auto_check_sbp_navigation_MsgPosLlhGnss.c | 2 +- ...uto_check_sbp_navigation_MsgPoseRelative.c | 2 +- ..._check_sbp_navigation_MsgProtectionLevel.c | 2 +- ...ck_sbp_navigation_MsgProtectionLevelDepA.c | 2 +- ...ck_sbp_navigation_MsgReferenceFrameParam.c | 2 +- ...to_check_sbp_navigation_MsgUTCLeapSecond.c | 2 +- c/test/auto_check_sbp_navigation_MsgUTCTime.c | 2 +- ...auto_check_sbp_navigation_MsgUTCTimeGNSS.c | 2 +- c/test/auto_check_sbp_navigation_MsgVelBody.c | 2 +- c/test/auto_check_sbp_navigation_MsgVelCog.c | 2 +- c/test/auto_check_sbp_navigation_MsgVelECEF.c | 2 +- .../auto_check_sbp_navigation_MsgVelECEFCov.c | 2 +- ...auto_check_sbp_navigation_MsgVelECEFDepA.c | 2 +- ...o_check_sbp_navigation_MsgVelEcefCovGnss.c | 2 +- ...auto_check_sbp_navigation_MsgVelEcefGnss.c | 2 +- c/test/auto_check_sbp_navigation_MsgVelNED.c | 2 +- .../auto_check_sbp_navigation_MsgVelNEDCOV.c | 2 +- .../auto_check_sbp_navigation_MsgVelNEDDepA.c | 2 +- ...to_check_sbp_navigation_MsgVelNedCovGnss.c | 2 +- .../auto_check_sbp_navigation_MsgVelNedGnss.c | 2 +- c/test/auto_check_sbp_ndb_MsgNdbEvent.c | 2 +- ...auto_check_sbp_observation_MsgAlmanacGLO.c | 2 +- ...o_check_sbp_observation_MsgAlmanacGLODep.c | 2 +- ...auto_check_sbp_observation_MsgAlmanacGPS.c | 2 +- ...o_check_sbp_observation_MsgAlmanacGPSDep.c | 2 +- ...uto_check_sbp_observation_MsgBasePosEcef.c | 2 +- ...auto_check_sbp_observation_MsgBasePosLLH.c | 2 +- ...to_check_sbp_observation_MsgEphemerisBds.c | 2 +- ...o_check_sbp_observation_MsgEphemerisDepA.c | 2 +- ...o_check_sbp_observation_MsgEphemerisDepC.c | 2 +- ...o_check_sbp_observation_MsgEphemerisDepD.c | 2 +- ...to_check_sbp_observation_MsgEphemerisGLO.c | 2 +- ...heck_sbp_observation_MsgEphemerisGLODepA.c | 2 +- ...heck_sbp_observation_MsgEphemerisGLODepB.c | 2 +- ...heck_sbp_observation_MsgEphemerisGLODepC.c | 2 +- ...heck_sbp_observation_MsgEphemerisGLODepD.c | 2 +- ...to_check_sbp_observation_MsgEphemerisGPS.c | 2 +- ...heck_sbp_observation_MsgEphemerisGPSDepE.c | 2 +- ...heck_sbp_observation_MsgEphemerisGPSDepF.c | 2 +- ...to_check_sbp_observation_MsgEphemerisGal.c | 2 +- ...heck_sbp_observation_MsgEphemerisGalDepA.c | 2 +- ...o_check_sbp_observation_MsgEphemerisSbas.c | 2 +- ...eck_sbp_observation_MsgEphemerisSbasDepA.c | 2 +- ...eck_sbp_observation_MsgEphemerisSbasDepB.c | 2 +- .../auto_check_sbp_observation_MsgGloBiases.c | 2 +- .../auto_check_sbp_observation_MsgGnssCapb.c | 2 +- ...auto_check_sbp_observation_MsgGroupDelay.c | 2 +- ..._check_sbp_observation_MsgGroupDelayDepA.c | 2 +- ..._check_sbp_observation_MsgGroupDelayDepB.c | 2 +- c/test/auto_check_sbp_observation_MsgIono.c | 2 +- c/test/auto_check_sbp_observation_MsgObs.c | 2 +- .../auto_check_sbp_observation_MsgObsDepB.c | 2 +- .../auto_check_sbp_observation_MsgObsDepC.c | 2 +- c/test/auto_check_sbp_observation_MsgOsr.c | 2 +- c/test/auto_check_sbp_observation_MsgSvAzEl.c | 2 +- ...sbp_observation_MsgSvConfigurationGpsDep.c | 2 +- ...o_check_sbp_observation_msgEphemerisDepB.c | 2 +- ...o_check_sbp_observation_msgEphemerisQzss.c | 2 +- .../auto_check_sbp_observation_msgObsDepA.c | 2 +- ...uto_check_sbp_orientation_MsgAngularRate.c | 2 +- ...check_sbp_orientation_MsgBaselineHeading.c | 2 +- ...uto_check_sbp_orientation_MsgOrientEuler.c | 2 +- ...auto_check_sbp_orientation_MsgOrientQuat.c | 2 +- c/test/auto_check_sbp_piksi_MsgAlmanac.c | 2 +- .../auto_check_sbp_piksi_MsgCellModemStatus.c | 2 +- .../auto_check_sbp_piksi_MsgCommandOutput.c | 2 +- c/test/auto_check_sbp_piksi_MsgCommandReq.c | 2 +- c/test/auto_check_sbp_piksi_MsgCommandResp.c | 2 +- c/test/auto_check_sbp_piksi_MsgCwResults.c | 2 +- c/test/auto_check_sbp_piksi_MsgCwStart.c | 2 +- .../auto_check_sbp_piksi_MsgDeviceMonitor.c | 2 +- c/test/auto_check_sbp_piksi_MsgFrontEndGain.c | 2 +- c/test/auto_check_sbp_piksi_MsgIarState.c | 2 +- c/test/auto_check_sbp_piksi_MsgInitBaseDep.c | 2 +- .../auto_check_sbp_piksi_MsgMaskSatellite.c | 2 +- ...auto_check_sbp_piksi_MsgMaskSatelliteDep.c | 2 +- ...check_sbp_piksi_MsgNetworkBandwidthUsage.c | 2 +- .../auto_check_sbp_piksi_MsgNetworkStateReq.c | 2 +- ...auto_check_sbp_piksi_MsgNetworkStateResp.c | 2 +- c/test/auto_check_sbp_piksi_MsgReset.c | 2 +- c/test/auto_check_sbp_piksi_MsgResetDep.c | 2 +- c/test/auto_check_sbp_piksi_MsgResetFilters.c | 2 +- c/test/auto_check_sbp_piksi_MsgSetTime.c | 2 +- c/test/auto_check_sbp_piksi_MsgSpecan.c | 2 +- c/test/auto_check_sbp_piksi_MsgSpecanDep.c | 2 +- c/test/auto_check_sbp_piksi_MsgThreadState.c | 2 +- c/test/auto_check_sbp_piksi_MsgUartState.c | 2 +- .../auto_check_sbp_piksi_MsgUartStateDepA.c | 2 +- c/test/auto_check_sbp_sbas_MsgSbasRaw.c | 2 +- ..._sbp_settings_MsgSettingsReadByIndexDone.c | 2 +- ...k_sbp_settings_MsgSettingsReadByIndexReq.c | 2 +- ..._sbp_settings_MsgSettingsReadByIndexResp.c | 2 +- ...to_check_sbp_settings_MsgSettingsReadReq.c | 2 +- ...o_check_sbp_settings_MsgSettingsReadResp.c | 2 +- ...o_check_sbp_settings_MsgSettingsRegister.c | 2 +- ...eck_sbp_settings_MsgSettingsRegisterResp.c | 2 +- .../auto_check_sbp_settings_MsgSettingsSave.c | 2 +- ...auto_check_sbp_settings_MsgSettingsWrite.c | 2 +- ..._check_sbp_settings_MsgSettingsWriteResp.c | 2 +- ...to_check_sbp_signing_MsgCertificateChain.c | 2 +- ...check_sbp_signing_MsgCertificateChainDep.c | 2 +- ...to_check_sbp_signing_MsgEcdsaCertificate.c | 2 +- ...auto_check_sbp_signing_MsgEcdsaSignature.c | 2 +- ..._check_sbp_signing_MsgEcdsaSignatureDepA.c | 2 +- ..._check_sbp_signing_MsgEcdsaSignatureDepB.c | 2 +- ...eck_sbp_signing_MsgEd25519CertificateDep.c | 2 +- ...heck_sbp_signing_MsgEd25519SignatureDepA.c | 2 +- ...heck_sbp_signing_MsgEd25519SignatureDepB.c | 2 +- ...auto_check_sbp_solution_meta_MsgSolnMeta.c | 2 +- ..._check_sbp_solution_meta_MsgSolnMetaDepA.c | 2 +- c/test/auto_check_sbp_ssr_MsgSsrCodeBiases.c | 2 +- ...heck_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c | 2 +- ...o_check_sbp_ssr_MsgSsrGridDefinitionDepA.c | 2 +- ...to_check_sbp_ssr_MsgSsrGriddedCorrection.c | 2 +- ...ck_sbp_ssr_MsgSsrGriddedCorrectionBounds.c | 2 +- ...heck_sbp_ssr_MsgSsrGriddedCorrectionDepA.c | 2 +- ...sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c | 2 +- c/test/auto_check_sbp_ssr_MsgSsrOrbitClock.c | 2 +- ...uto_check_sbp_ssr_MsgSsrOrbitClockBounds.c | 2 +- ...bp_ssr_MsgSsrOrbitClockBoundsDegradation.c | 2 +- .../auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c | 2 +- c/test/auto_check_sbp_ssr_MsgSsrPhaseBiases.c | 2 +- .../auto_check_sbp_ssr_MsgSsrSatelliteApc.c | 2 +- ...uto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c | 2 +- .../auto_check_sbp_ssr_MsgSsrStecCorrection.c | 2 +- ...to_check_sbp_ssr_MsgSsrStecCorrectionDep.c | 2 +- ...o_check_sbp_ssr_MsgSsrStecCorrectionDepA.c | 2 +- .../auto_check_sbp_ssr_MsgSsrTileDefinition.c | 2 +- ...o_check_sbp_ssr_MsgSsrTileDefinitionDepA.c | 2 +- ...o_check_sbp_ssr_MsgSsrTileDefinitionDepB.c | 2 +- .../auto_check_sbp_system_MsgCsacTelemetry.c | 2 +- ..._check_sbp_system_MsgCsacTelemetryLabels.c | 2 +- c/test/auto_check_sbp_system_MsgDgnssStatus.c | 2 +- .../auto_check_sbp_system_MsgGnssTimeOffset.c | 2 +- c/test/auto_check_sbp_system_MsgGroupMeta.c | 2 +- c/test/auto_check_sbp_system_MsgHeartbeat.c | 2 +- c/test/auto_check_sbp_system_MsgInsStatus.c | 2 +- c/test/auto_check_sbp_system_MsgInsUpdates.c | 2 +- c/test/auto_check_sbp_system_MsgPpsTime.c | 2 +- .../auto_check_sbp_system_MsgSensorAidEvent.c | 2 +- c/test/auto_check_sbp_system_MsgStartup.c | 2 +- .../auto_check_sbp_system_MsgStatusJournal.c | 2 +- .../auto_check_sbp_system_MsgStatusReport.c | 2 +- c/test/auto_check_sbp_telemetry_MsgTelSv.c | 2 +- ...o_check_sbp_tracking_MsgMeasurementState.c | 2 +- .../auto_check_sbp_tracking_MsgTrackingIq.c | 2 +- ...uto_check_sbp_tracking_MsgTrackingIqDepA.c | 2 +- ...uto_check_sbp_tracking_MsgTrackingIqDepB.c | 2 +- ...auto_check_sbp_tracking_MsgTrackingState.c | 2 +- ..._check_sbp_tracking_MsgTrackingStateDepB.c | 2 +- ...sbp_tracking_MsgTrackingStateDetailedDep.c | 2 +- ...bp_tracking_MsgTrackingStateDetailedDepA.c | 2 +- ..._check_sbp_tracking_MsgtrackingStateDepA.c | 2 +- c/test/auto_check_sbp_user_MsgUserData.c | 2 +- c/test/auto_check_sbp_vehicle_MsgOdometry.c | 2 +- c/test/auto_check_sbp_vehicle_MsgWheeltick.c | 2 +- generator/sbpg/targets/c.py | 30 ++- generator/sbpg/targets/legacy_c.py | 11 - .../libsbp/cpp/message_traits_template.h | 4 +- .../{v4 => package}/sbp_messages_template.h | 2 +- .../libsbp/{v4 => }/sbp_msg_template.h | 2 +- ...ages_template.h => sbp_package_template.h} | 13 +- .../include/libsbp/v4/sbp_package_template.h | 18 +- .../c/src/sbp_messages_private_template.h | 2 +- .../resources/c/src/sbp_messages_template.c | 2 +- .../resources/c/test/v4/sbp_c_test.c.j2 | 2 +- 646 files changed, 1276 insertions(+), 1291 deletions(-) rename c/include/libsbp/{v4 => }/acquisition/AcqSvProfile.h (99%) rename c/include/libsbp/{v4 => }/acquisition/AcqSvProfileDep.h (99%) rename c/include/libsbp/{v4 => }/acquisition/MSG_ACQ_RESULT.h (99%) rename c/include/libsbp/{v4 => }/acquisition/MSG_ACQ_RESULT_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/acquisition/MSG_ACQ_RESULT_DEP_B.h (99%) rename c/include/libsbp/{v4 => }/acquisition/MSG_ACQ_RESULT_DEP_C.h (99%) rename c/include/libsbp/{v4 => }/acquisition/MSG_ACQ_SV_PROFILE.h (99%) rename c/include/libsbp/{v4 => }/acquisition/MSG_ACQ_SV_PROFILE_DEP.h (99%) rename c/include/libsbp/{v4 => }/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h (100%) rename c/include/libsbp/{v4 => }/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h (100%) rename c/include/libsbp/{v4 => }/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h (100%) rename c/include/libsbp/{v4 => }/bootload/MSG_NAP_DEVICE_DNA_REQ.h (100%) rename c/include/libsbp/{v4 => }/bootload/MSG_NAP_DEVICE_DNA_RESP.h (100%) rename c/include/libsbp/{v4 => }/ext_events/MSG_EXT_EVENT.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_CONFIG_REQ.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_CONFIG_RESP.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_READ_DIR_REQ.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_READ_DIR_RESP.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_READ_REQ.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_READ_RESP.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_REMOVE.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_WRITE_REQ.h (100%) rename c/include/libsbp/{v4 => }/file_io/MSG_FILEIO_WRITE_RESP.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_FLASH_DONE.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_FLASH_ERASE.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_FLASH_PROGRAM.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_FLASH_READ_REQ.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_FLASH_READ_RESP.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_M25_FLASH_WRITE_STATUS.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_STM_FLASH_LOCK_SECTOR.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_STM_UNIQUE_ID_REQ.h (100%) rename c/include/libsbp/{v4 => }/flash/MSG_STM_UNIQUE_ID_RESP.h (100%) rename c/include/libsbp/{v4 => }/gnss/CarrierPhase.h (100%) rename c/include/libsbp/{v4 => }/gnss/GPSTime.h (100%) rename c/include/libsbp/{v4 => }/gnss/GPSTimeDep.h (100%) rename c/include/libsbp/{v4 => }/gnss/GPSTimeSec.h (100%) rename c/include/libsbp/{v4 => }/gnss/GnssSignal.h (100%) rename c/include/libsbp/{v4 => }/gnss/GnssSignalDep.h (100%) rename c/include/libsbp/{v4 => }/gnss/SvId.h (100%) rename c/include/libsbp/{v4 => }/imu/MSG_IMU_AUX.h (100%) rename c/include/libsbp/{v4 => }/imu/MSG_IMU_RAW.h (100%) rename c/include/libsbp/{v4 => }/integrity/IntegritySSRHeader.h (99%) rename c/include/libsbp/{v4 => }/integrity/MSG_ACKNOWLEDGE.h (100%) rename c/include/libsbp/{v4 => }/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h (99%) rename c/include/libsbp/{v4 => }/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h (99%) rename c/include/libsbp/{v4 => }/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h (98%) rename c/include/libsbp/{v4 => }/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h (98%) rename c/include/libsbp/{v4 => }/integrity/MSG_SSR_FLAG_SATELLITES.h (99%) rename c/include/libsbp/{v4 => }/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h (99%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_CPU_STATE.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_CPU_STATE_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_MEM_STATE.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_MEM_STATE_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_PROCESS_FD_COUNT.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_SOCKET_USAGE.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_SYS_STATE.h (100%) rename c/include/libsbp/{v4 => }/linux/MSG_LINUX_SYS_STATE_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/logging/MSG_FWD.h (100%) rename c/include/libsbp/{v4 => }/logging/MSG_LOG.h (100%) rename c/include/libsbp/{v4 => }/logging/MSG_PRINT_DEP.h (100%) rename c/include/libsbp/{v4 => }/mag/MSG_MAG_RAW.h (100%) rename c/include/libsbp/{v4 => }/navigation/EstimatedHorizontalErrorEllipse.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_AGE_CORRECTIONS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_BASELINE_ECEF.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_BASELINE_ECEF_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_BASELINE_HEADING_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_BASELINE_NED.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_BASELINE_NED_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_DOPS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_DOPS_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_GPS_TIME.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_GPS_TIME_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_GPS_TIME_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POSE_RELATIVE.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_ECEF.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_ECEF_COV.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_ECEF_COV_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_ECEF_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_ECEF_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_LLH.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_LLH_ACC.h (99%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_LLH_COV.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_LLH_COV_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_LLH_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_POS_LLH_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_PROTECTION_LEVEL.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_PROTECTION_LEVEL_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_REFERENCE_FRAME_PARAM.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_UTC_LEAP_SECOND.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_UTC_TIME.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_UTC_TIME_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_BODY.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_COG.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_ECEF.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_ECEF_COV.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_ECEF_COV_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_ECEF_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_ECEF_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_NED.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_NED_COV.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_NED_COV_GNSS.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_NED_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/navigation/MSG_VEL_NED_GNSS.h (100%) rename c/include/libsbp/{v4 => }/ndb/MSG_NDB_EVENT.h (99%) rename c/include/libsbp/{v4 => }/observation/AlmanacCommonContent.h (98%) rename c/include/libsbp/{v4 => }/observation/AlmanacCommonContentDep.h (98%) rename c/include/libsbp/{v4 => }/observation/CarrierPhaseDepA.h (100%) rename c/include/libsbp/{v4 => }/observation/Doppler.h (100%) rename c/include/libsbp/{v4 => }/observation/EphemerisCommonContent.h (98%) rename c/include/libsbp/{v4 => }/observation/EphemerisCommonContentDepA.h (98%) rename c/include/libsbp/{v4 => }/observation/EphemerisCommonContentDepB.h (98%) rename c/include/libsbp/{v4 => }/observation/GnssCapb.h (100%) rename c/include/libsbp/{v4 => }/observation/MSG_ALMANAC_GLO.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_ALMANAC_GLO_DEP.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_ALMANAC_GPS.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_ALMANAC_GPS_DEP.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_BASE_POS_ECEF.h (100%) rename c/include/libsbp/{v4 => }/observation/MSG_BASE_POS_LLH.h (100%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_BDS.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_DEP_B.h (100%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_DEP_C.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_DEP_D.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GAL.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GAL_DEP_A.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GLO.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GLO_DEP_A.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GLO_DEP_B.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GLO_DEP_C.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GLO_DEP_D.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GPS.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GPS_DEP_E.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_GPS_DEP_F.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_QZSS.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_SBAS.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_SBAS_DEP_A.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_EPHEMERIS_SBAS_DEP_B.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_GLO_BIASES.h (100%) rename c/include/libsbp/{v4 => }/observation/MSG_GNSS_CAPB.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_GROUP_DELAY.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_GROUP_DELAY_DEP_A.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_GROUP_DELAY_DEP_B.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_IONO.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_OBS.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_OBS_DEP_A.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_OBS_DEP_B.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_OBS_DEP_C.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_OSR.h (98%) rename c/include/libsbp/{v4 => }/observation/MSG_SV_AZ_EL.h (99%) rename c/include/libsbp/{v4 => }/observation/MSG_SV_CONFIGURATION_GPS_DEP.h (99%) rename c/include/libsbp/{v4 => }/observation/ObservationHeader.h (99%) rename c/include/libsbp/{v4 => }/observation/ObservationHeaderDep.h (99%) rename c/include/libsbp/{v4 => }/observation/PackedObsContent.h (98%) rename c/include/libsbp/{v4 => }/observation/PackedObsContentDepA.h (99%) rename c/include/libsbp/{v4 => }/observation/PackedObsContentDepB.h (98%) rename c/include/libsbp/{v4 => }/observation/PackedObsContentDepC.h (98%) rename c/include/libsbp/{v4 => }/observation/PackedOsrContent.h (98%) rename c/include/libsbp/{v4 => }/observation/SvAzEl.h (99%) rename c/include/libsbp/{v4 => }/orientation/MSG_ANGULAR_RATE.h (100%) rename c/include/libsbp/{v4 => }/orientation/MSG_BASELINE_HEADING.h (100%) rename c/include/libsbp/{v4 => }/orientation/MSG_ORIENT_EULER.h (100%) rename c/include/libsbp/{v4 => }/orientation/MSG_ORIENT_QUAT.h (100%) rename c/include/libsbp/{v4 => }/piksi/Latency.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_ALMANAC.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_CELL_MODEM_STATUS.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_COMMAND_OUTPUT.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_COMMAND_REQ.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_COMMAND_RESP.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_CW_RESULTS.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_CW_START.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_DEVICE_MONITOR.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_FRONT_END_GAIN.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_IAR_STATE.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_INIT_BASE_DEP.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_MASK_SATELLITE.h (99%) rename c/include/libsbp/{v4 => }/piksi/MSG_MASK_SATELLITE_DEP.h (99%) rename c/include/libsbp/{v4 => }/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h (99%) rename c/include/libsbp/{v4 => }/piksi/MSG_NETWORK_STATE_REQ.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_NETWORK_STATE_RESP.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_RESET.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_RESET_DEP.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_RESET_FILTERS.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_SET_TIME.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_SPECAN.h (99%) rename c/include/libsbp/{v4 => }/piksi/MSG_SPECAN_DEP.h (99%) rename c/include/libsbp/{v4 => }/piksi/MSG_THREAD_STATE.h (100%) rename c/include/libsbp/{v4 => }/piksi/MSG_UART_STATE.h (98%) rename c/include/libsbp/{v4 => }/piksi/MSG_UART_STATE_DEPA.h (98%) rename c/include/libsbp/{v4 => }/piksi/NetworkUsage.h (100%) rename c/include/libsbp/{v4 => }/piksi/Period.h (100%) rename c/include/libsbp/{v4 => }/piksi/UARTChannel.h (100%) rename c/include/libsbp/{v4 => }/sbas/MSG_SBAS_RAW.h (99%) rename c/include/libsbp/{v4 => }/sbp_msg.h (99%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_READ_REQ.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_READ_RESP.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_REGISTER.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_REGISTER_RESP.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_SAVE.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_WRITE.h (100%) rename c/include/libsbp/{v4 => }/settings/MSG_SETTINGS_WRITE_RESP.h (100%) rename c/include/libsbp/{v4 => }/signing/ECDSASignature.h (100%) rename c/include/libsbp/{v4 => }/signing/MSG_CERTIFICATE_CHAIN.h (98%) rename c/include/libsbp/{v4 => }/signing/MSG_CERTIFICATE_CHAIN_DEP.h (99%) rename c/include/libsbp/{v4 => }/signing/MSG_ECDSA_CERTIFICATE.h (100%) rename c/include/libsbp/{v4 => }/signing/MSG_ECDSA_SIGNATURE.h (99%) rename c/include/libsbp/{v4 => }/signing/MSG_ECDSA_SIGNATURE_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/signing/MSG_ECDSA_SIGNATURE_DEP_B.h (100%) rename c/include/libsbp/{v4 => }/signing/MSG_ED25519_CERTIFICATE_DEP.h (100%) rename c/include/libsbp/{v4 => }/signing/MSG_ED25519_SIGNATURE_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/signing/MSG_ED25519_SIGNATURE_DEP_B.h (100%) rename c/include/libsbp/{v4 => }/signing/UtcTime.h (100%) rename c/include/libsbp/{v4 => }/solution_meta/GNSSInputType.h (100%) rename c/include/libsbp/{v4 => }/solution_meta/IMUInputType.h (100%) rename c/include/libsbp/{v4 => }/solution_meta/MSG_SOLN_META.h (99%) rename c/include/libsbp/{v4 => }/solution_meta/MSG_SOLN_META_DEP_A.h (99%) rename c/include/libsbp/{v4 => }/solution_meta/OdoInputType.h (100%) rename c/include/libsbp/{v4 => }/solution_meta/SolutionInputType.h (100%) rename c/include/libsbp/{v4 => }/ssr/BoundsHeader.h (99%) rename c/include/libsbp/{v4 => }/ssr/CodeBiasesContent.h (100%) rename c/include/libsbp/{v4 => }/ssr/CodePhaseBiasesSatSig.h (100%) rename c/include/libsbp/{v4 => }/ssr/GridDefinitionHeaderDepA.h (100%) rename c/include/libsbp/{v4 => }/ssr/GriddedCorrectionHeader.h (99%) rename c/include/libsbp/{v4 => }/ssr/GriddedCorrectionHeaderDepA.h (99%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_CODE_BIASES.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_GRIDDED_CORRECTION.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h (99%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_ORBIT_CLOCK.h (99%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h (99%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_PHASE_BIASES.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_SATELLITE_APC.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_SATELLITE_APC_DEP.h (99%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_STEC_CORRECTION.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_STEC_CORRECTION_DEP.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h (98%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_TILE_DEFINITION.h (99%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h (100%) rename c/include/libsbp/{v4 => }/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h (100%) rename c/include/libsbp/{v4 => }/ssr/OrbitClockBound.h (100%) rename c/include/libsbp/{v4 => }/ssr/OrbitClockBoundDegradation.h (100%) rename c/include/libsbp/{v4 => }/ssr/PhaseBiasesContent.h (100%) rename c/include/libsbp/{v4 => }/ssr/STECHeader.h (99%) rename c/include/libsbp/{v4 => }/ssr/STECHeaderDepA.h (99%) rename c/include/libsbp/{v4 => }/ssr/STECResidual.h (99%) rename c/include/libsbp/{v4 => }/ssr/STECResidualNoStd.h (99%) rename c/include/libsbp/{v4 => }/ssr/STECSatElement.h (99%) rename c/include/libsbp/{v4 => }/ssr/STECSatElementIntegrity.h (99%) rename c/include/libsbp/{v4 => }/ssr/SatelliteAPC.h (99%) rename c/include/libsbp/{v4 => }/ssr/TroposphericDelayCorrection.h (100%) rename c/include/libsbp/{v4 => }/ssr/TroposphericDelayCorrectionNoStd.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_CSAC_TELEMETRY.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_CSAC_TELEMETRY_LABELS.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_DGNSS_STATUS.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_GNSS_TIME_OFFSET.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_GROUP_META.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_HEARTBEAT.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_INS_STATUS.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_INS_UPDATES.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_PPS_TIME.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_SENSOR_AID_EVENT.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_STARTUP.h (100%) rename c/include/libsbp/{v4 => }/system/MSG_STATUS_JOURNAL.h (99%) rename c/include/libsbp/{v4 => }/system/MSG_STATUS_REPORT.h (99%) rename c/include/libsbp/{v4 => }/system/StatusJournalItem.h (99%) rename c/include/libsbp/{v4 => }/system/SubSystemReport.h (100%) rename c/include/libsbp/{v4 => }/telemetry/MSG_TEL_SV.h (99%) rename c/include/libsbp/{v4 => }/telemetry/TelemetrySV.h (99%) rename c/include/libsbp/{v4 => }/tracking/MSG_MEASUREMENT_STATE.h (99%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_IQ.h (98%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_IQ_DEP_A.h (98%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_IQ_DEP_B.h (98%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_STATE.h (99%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_STATE_DEP_A.h (99%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_STATE_DEP_B.h (99%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h (98%) rename c/include/libsbp/{v4 => }/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h (98%) rename c/include/libsbp/{v4 => }/tracking/MeasurementState.h (99%) rename c/include/libsbp/{v4 => }/tracking/TrackingChannelCorrelation.h (100%) rename c/include/libsbp/{v4 => }/tracking/TrackingChannelCorrelationDep.h (100%) rename c/include/libsbp/{v4 => }/tracking/TrackingChannelState.h (99%) rename c/include/libsbp/{v4 => }/tracking/TrackingChannelStateDepA.h (100%) rename c/include/libsbp/{v4 => }/tracking/TrackingChannelStateDepB.h (99%) rename c/include/libsbp/{v4 => }/user/MSG_USER_DATA.h (100%) delete mode 100644 c/include/libsbp/v4/navigation/MSG_COG_SOG.h rename c/include/libsbp/{v4 => }/vehicle/MSG_ODOMETRY.h (100%) rename c/include/libsbp/{v4 => }/vehicle/MSG_WHEELTICK.h (100%) rename generator/sbpg/targets/resources/c/include/libsbp/{v4 => package}/sbp_messages_template.h (99%) rename generator/sbpg/targets/resources/c/include/libsbp/{v4 => }/sbp_msg_template.h (99%) rename generator/sbpg/targets/resources/c/include/libsbp/{sbp_messages_template.h => sbp_package_template.h} (67%) diff --git a/c/include/libsbp/acquisition.h b/c/include/libsbp/acquisition.h index d14920d8ad..ec259d02ba 100644 --- a/c/include/libsbp/acquisition.h +++ b/c/include/libsbp/acquisition.h @@ -15,9 +15,15 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_ACQUISITION_MESSAGES_H -#define LIBSBP_ACQUISITION_MESSAGES_H +#ifndef LIBSBP_V4_ACQUISITION_MESSAGES_H +#define LIBSBP_V4_ACQUISITION_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_ACQUISITION_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_ACQUISITION_MESSAGES_H */ diff --git a/c/include/libsbp/v4/acquisition/AcqSvProfile.h b/c/include/libsbp/acquisition/AcqSvProfile.h similarity index 99% rename from c/include/libsbp/v4/acquisition/AcqSvProfile.h rename to c/include/libsbp/acquisition/AcqSvProfile.h index 18e59f4d1e..08383b8b2d 100644 --- a/c/include/libsbp/v4/acquisition/AcqSvProfile.h +++ b/c/include/libsbp/acquisition/AcqSvProfile.h @@ -27,7 +27,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/acquisition/AcqSvProfileDep.h b/c/include/libsbp/acquisition/AcqSvProfileDep.h similarity index 99% rename from c/include/libsbp/v4/acquisition/AcqSvProfileDep.h rename to c/include/libsbp/acquisition/AcqSvProfileDep.h index 8b7d5ce3df..c44a7885fb 100644 --- a/c/include/libsbp/v4/acquisition/AcqSvProfileDep.h +++ b/c/include/libsbp/acquisition/AcqSvProfileDep.h @@ -27,7 +27,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT.h similarity index 99% rename from c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT.h rename to c/include/libsbp/acquisition/MSG_ACQ_RESULT.h index f577c12359..80c4a2c3b9 100644 --- a/c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_RESULT.h @@ -27,7 +27,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_A.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_A.h rename to c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_A.h diff --git a/c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_B.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h similarity index 99% rename from c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_B.h rename to c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h index 8808daf0c4..1b16f69291 100644 --- a/c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_B.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h @@ -27,7 +27,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_C.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h similarity index 99% rename from c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_C.h rename to c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h index fa1e627204..fdfd2b372f 100644 --- a/c/include/libsbp/v4/acquisition/MSG_ACQ_RESULT_DEP_C.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h @@ -27,7 +27,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/acquisition/MSG_ACQ_SV_PROFILE.h b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE.h similarity index 99% rename from c/include/libsbp/v4/acquisition/MSG_ACQ_SV_PROFILE.h rename to c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE.h index af16435dea..44dec598a9 100644 --- a/c/include/libsbp/v4/acquisition/MSG_ACQ_SV_PROFILE.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE.h @@ -25,9 +25,9 @@ #include #include +#include #include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/acquisition/MSG_ACQ_SV_PROFILE_DEP.h b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE_DEP.h similarity index 99% rename from c/include/libsbp/v4/acquisition/MSG_ACQ_SV_PROFILE_DEP.h rename to c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE_DEP.h index c709998815..0cffd7b6b4 100644 --- a/c/include/libsbp/v4/acquisition/MSG_ACQ_SV_PROFILE_DEP.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE_DEP.h @@ -25,9 +25,9 @@ #include #include +#include #include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/bootload.h b/c/include/libsbp/bootload.h index 5d2d0f6cbc..1688f1506c 100644 --- a/c/include/libsbp/bootload.h +++ b/c/include/libsbp/bootload.h @@ -15,9 +15,13 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_BOOTLOAD_MESSAGES_H -#define LIBSBP_BOOTLOAD_MESSAGES_H +#ifndef LIBSBP_V4_BOOTLOAD_MESSAGES_H +#define LIBSBP_V4_BOOTLOAD_MESSAGES_H +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_BOOTLOAD_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_BOOTLOAD_MESSAGES_H */ diff --git a/c/include/libsbp/v4/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h rename to c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h diff --git a/c/include/libsbp/v4/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h similarity index 100% rename from c/include/libsbp/v4/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h rename to c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h diff --git a/c/include/libsbp/v4/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h similarity index 100% rename from c/include/libsbp/v4/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h rename to c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h diff --git a/c/include/libsbp/v4/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h similarity index 100% rename from c/include/libsbp/v4/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h rename to c/include/libsbp/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h diff --git a/c/include/libsbp/v4/bootload/MSG_NAP_DEVICE_DNA_REQ.h b/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_REQ.h similarity index 100% rename from c/include/libsbp/v4/bootload/MSG_NAP_DEVICE_DNA_REQ.h rename to c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_REQ.h diff --git a/c/include/libsbp/v4/bootload/MSG_NAP_DEVICE_DNA_RESP.h b/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_RESP.h similarity index 100% rename from c/include/libsbp/v4/bootload/MSG_NAP_DEVICE_DNA_RESP.h rename to c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_RESP.h diff --git a/c/include/libsbp/cpp/message_traits.h b/c/include/libsbp/cpp/message_traits.h index 31efc8a61c..d483412560 100644 --- a/c/include/libsbp/cpp/message_traits.h +++ b/c/include/libsbp/cpp/message_traits.h @@ -16,34 +16,34 @@ #ifndef LIBSBP_CPP_MESSAGE_TRAITS_H #define LIBSBP_CPP_MESSAGE_TRAITS_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include namespace sbp { diff --git a/c/include/libsbp/ext_events.h b/c/include/libsbp/ext_events.h index c05b0a29dd..768fc4ff13 100644 --- a/c/include/libsbp/ext_events.h +++ b/c/include/libsbp/ext_events.h @@ -15,9 +15,8 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_EXT_EVENTS_MESSAGES_H -#define LIBSBP_EXT_EVENTS_MESSAGES_H +#ifndef LIBSBP_V4_EXT_EVENTS_MESSAGES_H +#define LIBSBP_V4_EXT_EVENTS_MESSAGES_H +#include -#include - -#endif /* LIBSBP_EXT_EVENTS_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_EXT_EVENTS_MESSAGES_H */ diff --git a/c/include/libsbp/v4/ext_events/MSG_EXT_EVENT.h b/c/include/libsbp/ext_events/MSG_EXT_EVENT.h similarity index 100% rename from c/include/libsbp/v4/ext_events/MSG_EXT_EVENT.h rename to c/include/libsbp/ext_events/MSG_EXT_EVENT.h diff --git a/c/include/libsbp/file_io.h b/c/include/libsbp/file_io.h index 93afb9bf54..dcf079a3fb 100644 --- a/c/include/libsbp/file_io.h +++ b/c/include/libsbp/file_io.h @@ -15,9 +15,16 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_FILE_IO_MESSAGES_H -#define LIBSBP_FILE_IO_MESSAGES_H +#ifndef LIBSBP_V4_FILE_IO_MESSAGES_H +#define LIBSBP_V4_FILE_IO_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_FILE_IO_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_FILE_IO_MESSAGES_H */ diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_CONFIG_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_REQ.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_CONFIG_REQ.h rename to c/include/libsbp/file_io/MSG_FILEIO_CONFIG_REQ.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_CONFIG_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_RESP.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_CONFIG_RESP.h rename to c/include/libsbp/file_io/MSG_FILEIO_CONFIG_RESP.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_READ_DIR_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_REQ.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_READ_DIR_REQ.h rename to c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_REQ.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_READ_DIR_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_RESP.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_READ_DIR_RESP.h rename to c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_RESP.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_READ_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_REQ.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_READ_REQ.h rename to c/include/libsbp/file_io/MSG_FILEIO_READ_REQ.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_READ_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_RESP.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_READ_RESP.h rename to c/include/libsbp/file_io/MSG_FILEIO_READ_RESP.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_REMOVE.h b/c/include/libsbp/file_io/MSG_FILEIO_REMOVE.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_REMOVE.h rename to c/include/libsbp/file_io/MSG_FILEIO_REMOVE.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_WRITE_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_WRITE_REQ.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_WRITE_REQ.h rename to c/include/libsbp/file_io/MSG_FILEIO_WRITE_REQ.h diff --git a/c/include/libsbp/v4/file_io/MSG_FILEIO_WRITE_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_WRITE_RESP.h similarity index 100% rename from c/include/libsbp/v4/file_io/MSG_FILEIO_WRITE_RESP.h rename to c/include/libsbp/file_io/MSG_FILEIO_WRITE_RESP.h diff --git a/c/include/libsbp/flash.h b/c/include/libsbp/flash.h index eaeafd363a..63fbdeadcf 100644 --- a/c/include/libsbp/flash.h +++ b/c/include/libsbp/flash.h @@ -15,9 +15,17 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_FLASH_MESSAGES_H -#define LIBSBP_FLASH_MESSAGES_H +#ifndef LIBSBP_V4_FLASH_MESSAGES_H +#define LIBSBP_V4_FLASH_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_FLASH_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_FLASH_MESSAGES_H */ diff --git a/c/include/libsbp/v4/flash/MSG_FLASH_DONE.h b/c/include/libsbp/flash/MSG_FLASH_DONE.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_FLASH_DONE.h rename to c/include/libsbp/flash/MSG_FLASH_DONE.h diff --git a/c/include/libsbp/v4/flash/MSG_FLASH_ERASE.h b/c/include/libsbp/flash/MSG_FLASH_ERASE.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_FLASH_ERASE.h rename to c/include/libsbp/flash/MSG_FLASH_ERASE.h diff --git a/c/include/libsbp/v4/flash/MSG_FLASH_PROGRAM.h b/c/include/libsbp/flash/MSG_FLASH_PROGRAM.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_FLASH_PROGRAM.h rename to c/include/libsbp/flash/MSG_FLASH_PROGRAM.h diff --git a/c/include/libsbp/v4/flash/MSG_FLASH_READ_REQ.h b/c/include/libsbp/flash/MSG_FLASH_READ_REQ.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_FLASH_READ_REQ.h rename to c/include/libsbp/flash/MSG_FLASH_READ_REQ.h diff --git a/c/include/libsbp/v4/flash/MSG_FLASH_READ_RESP.h b/c/include/libsbp/flash/MSG_FLASH_READ_RESP.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_FLASH_READ_RESP.h rename to c/include/libsbp/flash/MSG_FLASH_READ_RESP.h diff --git a/c/include/libsbp/v4/flash/MSG_M25_FLASH_WRITE_STATUS.h b/c/include/libsbp/flash/MSG_M25_FLASH_WRITE_STATUS.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_M25_FLASH_WRITE_STATUS.h rename to c/include/libsbp/flash/MSG_M25_FLASH_WRITE_STATUS.h diff --git a/c/include/libsbp/v4/flash/MSG_STM_FLASH_LOCK_SECTOR.h b/c/include/libsbp/flash/MSG_STM_FLASH_LOCK_SECTOR.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_STM_FLASH_LOCK_SECTOR.h rename to c/include/libsbp/flash/MSG_STM_FLASH_LOCK_SECTOR.h diff --git a/c/include/libsbp/v4/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h b/c/include/libsbp/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h rename to c/include/libsbp/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h diff --git a/c/include/libsbp/v4/flash/MSG_STM_UNIQUE_ID_REQ.h b/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_REQ.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_STM_UNIQUE_ID_REQ.h rename to c/include/libsbp/flash/MSG_STM_UNIQUE_ID_REQ.h diff --git a/c/include/libsbp/v4/flash/MSG_STM_UNIQUE_ID_RESP.h b/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_RESP.h similarity index 100% rename from c/include/libsbp/v4/flash/MSG_STM_UNIQUE_ID_RESP.h rename to c/include/libsbp/flash/MSG_STM_UNIQUE_ID_RESP.h diff --git a/c/include/libsbp/gnss.h b/c/include/libsbp/gnss.h index b41e929505..c15df37c1a 100644 --- a/c/include/libsbp/gnss.h +++ b/c/include/libsbp/gnss.h @@ -15,9 +15,14 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_GNSS_MESSAGES_H -#define LIBSBP_GNSS_MESSAGES_H +#ifndef LIBSBP_V4_GNSS_MESSAGES_H +#define LIBSBP_V4_GNSS_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_GNSS_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_GNSS_MESSAGES_H */ diff --git a/c/include/libsbp/v4/gnss/CarrierPhase.h b/c/include/libsbp/gnss/CarrierPhase.h similarity index 100% rename from c/include/libsbp/v4/gnss/CarrierPhase.h rename to c/include/libsbp/gnss/CarrierPhase.h diff --git a/c/include/libsbp/v4/gnss/GPSTime.h b/c/include/libsbp/gnss/GPSTime.h similarity index 100% rename from c/include/libsbp/v4/gnss/GPSTime.h rename to c/include/libsbp/gnss/GPSTime.h diff --git a/c/include/libsbp/v4/gnss/GPSTimeDep.h b/c/include/libsbp/gnss/GPSTimeDep.h similarity index 100% rename from c/include/libsbp/v4/gnss/GPSTimeDep.h rename to c/include/libsbp/gnss/GPSTimeDep.h diff --git a/c/include/libsbp/v4/gnss/GPSTimeSec.h b/c/include/libsbp/gnss/GPSTimeSec.h similarity index 100% rename from c/include/libsbp/v4/gnss/GPSTimeSec.h rename to c/include/libsbp/gnss/GPSTimeSec.h diff --git a/c/include/libsbp/v4/gnss/GnssSignal.h b/c/include/libsbp/gnss/GnssSignal.h similarity index 100% rename from c/include/libsbp/v4/gnss/GnssSignal.h rename to c/include/libsbp/gnss/GnssSignal.h diff --git a/c/include/libsbp/v4/gnss/GnssSignalDep.h b/c/include/libsbp/gnss/GnssSignalDep.h similarity index 100% rename from c/include/libsbp/v4/gnss/GnssSignalDep.h rename to c/include/libsbp/gnss/GnssSignalDep.h diff --git a/c/include/libsbp/v4/gnss/SvId.h b/c/include/libsbp/gnss/SvId.h similarity index 100% rename from c/include/libsbp/v4/gnss/SvId.h rename to c/include/libsbp/gnss/SvId.h diff --git a/c/include/libsbp/imu.h b/c/include/libsbp/imu.h index f02624d79d..fdd9120355 100644 --- a/c/include/libsbp/imu.h +++ b/c/include/libsbp/imu.h @@ -15,9 +15,9 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_IMU_MESSAGES_H -#define LIBSBP_IMU_MESSAGES_H +#ifndef LIBSBP_V4_IMU_MESSAGES_H +#define LIBSBP_V4_IMU_MESSAGES_H +#include +#include -#include - -#endif /* LIBSBP_IMU_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_IMU_MESSAGES_H */ diff --git a/c/include/libsbp/v4/imu/MSG_IMU_AUX.h b/c/include/libsbp/imu/MSG_IMU_AUX.h similarity index 100% rename from c/include/libsbp/v4/imu/MSG_IMU_AUX.h rename to c/include/libsbp/imu/MSG_IMU_AUX.h diff --git a/c/include/libsbp/v4/imu/MSG_IMU_RAW.h b/c/include/libsbp/imu/MSG_IMU_RAW.h similarity index 100% rename from c/include/libsbp/v4/imu/MSG_IMU_RAW.h rename to c/include/libsbp/imu/MSG_IMU_RAW.h diff --git a/c/include/libsbp/integrity.h b/c/include/libsbp/integrity.h index 6521cafe32..a533fb89c1 100644 --- a/c/include/libsbp/integrity.h +++ b/c/include/libsbp/integrity.h @@ -15,9 +15,15 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_INTEGRITY_MESSAGES_H -#define LIBSBP_INTEGRITY_MESSAGES_H +#ifndef LIBSBP_V4_INTEGRITY_MESSAGES_H +#define LIBSBP_V4_INTEGRITY_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_INTEGRITY_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_INTEGRITY_MESSAGES_H */ diff --git a/c/include/libsbp/v4/integrity/IntegritySSRHeader.h b/c/include/libsbp/integrity/IntegritySSRHeader.h similarity index 99% rename from c/include/libsbp/v4/integrity/IntegritySSRHeader.h rename to c/include/libsbp/integrity/IntegritySSRHeader.h index d09417b649..0f279827b9 100644 --- a/c/include/libsbp/v4/integrity/IntegritySSRHeader.h +++ b/c/include/libsbp/integrity/IntegritySSRHeader.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/integrity/MSG_ACKNOWLEDGE.h b/c/include/libsbp/integrity/MSG_ACKNOWLEDGE.h similarity index 100% rename from c/include/libsbp/v4/integrity/MSG_ACKNOWLEDGE.h rename to c/include/libsbp/integrity/MSG_ACKNOWLEDGE.h diff --git a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h similarity index 99% rename from c/include/libsbp/v4/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h rename to c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h index 281ac3aa32..9f45e77deb 100644 --- a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h similarity index 99% rename from c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h rename to c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h index f6ad5c300e..475f023c4e 100644 --- a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h similarity index 98% rename from c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h rename to c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h index 4f1dcee826..f5957f0936 100644 --- a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h similarity index 98% rename from c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h rename to c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h index f406f65e48..ed71b4a06c 100644 --- a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_SATELLITES.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_SATELLITES.h similarity index 99% rename from c/include/libsbp/v4/integrity/MSG_SSR_FLAG_SATELLITES.h rename to c/include/libsbp/integrity/MSG_SSR_FLAG_SATELLITES.h index cdfdbac228..5814322985 100644 --- a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_SATELLITES.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_SATELLITES.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h similarity index 99% rename from c/include/libsbp/v4/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h rename to c/include/libsbp/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h index 47c61a0f24..ead8b154e4 100644 --- a/c/include/libsbp/v4/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/linux.h b/c/include/libsbp/linux.h index cdb213c298..b0769b317a 100644 --- a/c/include/libsbp/linux.h +++ b/c/include/libsbp/linux.h @@ -15,9 +15,18 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_LINUX_MESSAGES_H -#define LIBSBP_LINUX_MESSAGES_H +#ifndef LIBSBP_V4_LINUX_MESSAGES_H +#define LIBSBP_V4_LINUX_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_LINUX_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_LINUX_MESSAGES_H */ diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_CPU_STATE.h b/c/include/libsbp/linux/MSG_LINUX_CPU_STATE.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_CPU_STATE.h rename to c/include/libsbp/linux/MSG_LINUX_CPU_STATE.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_CPU_STATE_DEP_A.h b/c/include/libsbp/linux/MSG_LINUX_CPU_STATE_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_CPU_STATE_DEP_A.h rename to c/include/libsbp/linux/MSG_LINUX_CPU_STATE_DEP_A.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_MEM_STATE.h b/c/include/libsbp/linux/MSG_LINUX_MEM_STATE.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_MEM_STATE.h rename to c/include/libsbp/linux/MSG_LINUX_MEM_STATE.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_MEM_STATE_DEP_A.h b/c/include/libsbp/linux/MSG_LINUX_MEM_STATE_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_MEM_STATE_DEP_A.h rename to c/include/libsbp/linux/MSG_LINUX_MEM_STATE_DEP_A.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_FD_COUNT.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_COUNT.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_FD_COUNT.h rename to c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_COUNT.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h rename to c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h rename to c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h rename to c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_SOCKET_USAGE.h b/c/include/libsbp/linux/MSG_LINUX_SOCKET_USAGE.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_SOCKET_USAGE.h rename to c/include/libsbp/linux/MSG_LINUX_SOCKET_USAGE.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_SYS_STATE.h b/c/include/libsbp/linux/MSG_LINUX_SYS_STATE.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_SYS_STATE.h rename to c/include/libsbp/linux/MSG_LINUX_SYS_STATE.h diff --git a/c/include/libsbp/v4/linux/MSG_LINUX_SYS_STATE_DEP_A.h b/c/include/libsbp/linux/MSG_LINUX_SYS_STATE_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/linux/MSG_LINUX_SYS_STATE_DEP_A.h rename to c/include/libsbp/linux/MSG_LINUX_SYS_STATE_DEP_A.h diff --git a/c/include/libsbp/logging.h b/c/include/libsbp/logging.h index ed9d9ff64e..26d3294cd6 100644 --- a/c/include/libsbp/logging.h +++ b/c/include/libsbp/logging.h @@ -15,9 +15,10 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_LOGGING_MESSAGES_H -#define LIBSBP_LOGGING_MESSAGES_H +#ifndef LIBSBP_V4_LOGGING_MESSAGES_H +#define LIBSBP_V4_LOGGING_MESSAGES_H +#include +#include +#include -#include - -#endif /* LIBSBP_LOGGING_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_LOGGING_MESSAGES_H */ diff --git a/c/include/libsbp/v4/logging/MSG_FWD.h b/c/include/libsbp/logging/MSG_FWD.h similarity index 100% rename from c/include/libsbp/v4/logging/MSG_FWD.h rename to c/include/libsbp/logging/MSG_FWD.h diff --git a/c/include/libsbp/v4/logging/MSG_LOG.h b/c/include/libsbp/logging/MSG_LOG.h similarity index 100% rename from c/include/libsbp/v4/logging/MSG_LOG.h rename to c/include/libsbp/logging/MSG_LOG.h diff --git a/c/include/libsbp/v4/logging/MSG_PRINT_DEP.h b/c/include/libsbp/logging/MSG_PRINT_DEP.h similarity index 100% rename from c/include/libsbp/v4/logging/MSG_PRINT_DEP.h rename to c/include/libsbp/logging/MSG_PRINT_DEP.h diff --git a/c/include/libsbp/mag.h b/c/include/libsbp/mag.h index 4a29057d4e..46eba7bb82 100644 --- a/c/include/libsbp/mag.h +++ b/c/include/libsbp/mag.h @@ -15,9 +15,8 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_MAG_MESSAGES_H -#define LIBSBP_MAG_MESSAGES_H +#ifndef LIBSBP_V4_MAG_MESSAGES_H +#define LIBSBP_V4_MAG_MESSAGES_H +#include -#include - -#endif /* LIBSBP_MAG_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_MAG_MESSAGES_H */ diff --git a/c/include/libsbp/v4/mag/MSG_MAG_RAW.h b/c/include/libsbp/mag/MSG_MAG_RAW.h similarity index 100% rename from c/include/libsbp/v4/mag/MSG_MAG_RAW.h rename to c/include/libsbp/mag/MSG_MAG_RAW.h diff --git a/c/include/libsbp/navigation.h b/c/include/libsbp/navigation.h index 36c775a2a1..11714899e5 100644 --- a/c/include/libsbp/navigation.h +++ b/c/include/libsbp/navigation.h @@ -15,9 +15,49 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_NAVIGATION_MESSAGES_H -#define LIBSBP_NAVIGATION_MESSAGES_H +#ifndef LIBSBP_V4_NAVIGATION_MESSAGES_H +#define LIBSBP_V4_NAVIGATION_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_NAVIGATION_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_NAVIGATION_MESSAGES_H */ diff --git a/c/include/libsbp/v4/navigation/EstimatedHorizontalErrorEllipse.h b/c/include/libsbp/navigation/EstimatedHorizontalErrorEllipse.h similarity index 100% rename from c/include/libsbp/v4/navigation/EstimatedHorizontalErrorEllipse.h rename to c/include/libsbp/navigation/EstimatedHorizontalErrorEllipse.h diff --git a/c/include/libsbp/v4/navigation/MSG_AGE_CORRECTIONS.h b/c/include/libsbp/navigation/MSG_AGE_CORRECTIONS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_AGE_CORRECTIONS.h rename to c/include/libsbp/navigation/MSG_AGE_CORRECTIONS.h diff --git a/c/include/libsbp/v4/navigation/MSG_BASELINE_ECEF.h b/c/include/libsbp/navigation/MSG_BASELINE_ECEF.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_BASELINE_ECEF.h rename to c/include/libsbp/navigation/MSG_BASELINE_ECEF.h diff --git a/c/include/libsbp/v4/navigation/MSG_BASELINE_ECEF_DEP_A.h b/c/include/libsbp/navigation/MSG_BASELINE_ECEF_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_BASELINE_ECEF_DEP_A.h rename to c/include/libsbp/navigation/MSG_BASELINE_ECEF_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_BASELINE_HEADING_DEP_A.h b/c/include/libsbp/navigation/MSG_BASELINE_HEADING_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_BASELINE_HEADING_DEP_A.h rename to c/include/libsbp/navigation/MSG_BASELINE_HEADING_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_BASELINE_NED.h b/c/include/libsbp/navigation/MSG_BASELINE_NED.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_BASELINE_NED.h rename to c/include/libsbp/navigation/MSG_BASELINE_NED.h diff --git a/c/include/libsbp/v4/navigation/MSG_BASELINE_NED_DEP_A.h b/c/include/libsbp/navigation/MSG_BASELINE_NED_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_BASELINE_NED_DEP_A.h rename to c/include/libsbp/navigation/MSG_BASELINE_NED_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_DOPS.h b/c/include/libsbp/navigation/MSG_DOPS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_DOPS.h rename to c/include/libsbp/navigation/MSG_DOPS.h diff --git a/c/include/libsbp/v4/navigation/MSG_DOPS_DEP_A.h b/c/include/libsbp/navigation/MSG_DOPS_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_DOPS_DEP_A.h rename to c/include/libsbp/navigation/MSG_DOPS_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_GPS_TIME.h b/c/include/libsbp/navigation/MSG_GPS_TIME.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_GPS_TIME.h rename to c/include/libsbp/navigation/MSG_GPS_TIME.h diff --git a/c/include/libsbp/v4/navigation/MSG_GPS_TIME_DEP_A.h b/c/include/libsbp/navigation/MSG_GPS_TIME_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_GPS_TIME_DEP_A.h rename to c/include/libsbp/navigation/MSG_GPS_TIME_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_GPS_TIME_GNSS.h b/c/include/libsbp/navigation/MSG_GPS_TIME_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_GPS_TIME_GNSS.h rename to c/include/libsbp/navigation/MSG_GPS_TIME_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_POSE_RELATIVE.h b/c/include/libsbp/navigation/MSG_POSE_RELATIVE.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POSE_RELATIVE.h rename to c/include/libsbp/navigation/MSG_POSE_RELATIVE.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_ECEF.h b/c/include/libsbp/navigation/MSG_POS_ECEF.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_ECEF.h rename to c/include/libsbp/navigation/MSG_POS_ECEF.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_ECEF_COV.h b/c/include/libsbp/navigation/MSG_POS_ECEF_COV.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_ECEF_COV.h rename to c/include/libsbp/navigation/MSG_POS_ECEF_COV.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_ECEF_COV_GNSS.h b/c/include/libsbp/navigation/MSG_POS_ECEF_COV_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_ECEF_COV_GNSS.h rename to c/include/libsbp/navigation/MSG_POS_ECEF_COV_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_ECEF_DEP_A.h b/c/include/libsbp/navigation/MSG_POS_ECEF_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_ECEF_DEP_A.h rename to c/include/libsbp/navigation/MSG_POS_ECEF_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_ECEF_GNSS.h b/c/include/libsbp/navigation/MSG_POS_ECEF_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_ECEF_GNSS.h rename to c/include/libsbp/navigation/MSG_POS_ECEF_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_LLH.h b/c/include/libsbp/navigation/MSG_POS_LLH.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_LLH.h rename to c/include/libsbp/navigation/MSG_POS_LLH.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_LLH_ACC.h b/c/include/libsbp/navigation/MSG_POS_LLH_ACC.h similarity index 99% rename from c/include/libsbp/v4/navigation/MSG_POS_LLH_ACC.h rename to c/include/libsbp/navigation/MSG_POS_LLH_ACC.h index 48d35443bc..a587c77957 100644 --- a/c/include/libsbp/v4/navigation/MSG_POS_LLH_ACC.h +++ b/c/include/libsbp/navigation/MSG_POS_LLH_ACC.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/navigation/MSG_POS_LLH_COV.h b/c/include/libsbp/navigation/MSG_POS_LLH_COV.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_LLH_COV.h rename to c/include/libsbp/navigation/MSG_POS_LLH_COV.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_LLH_COV_GNSS.h b/c/include/libsbp/navigation/MSG_POS_LLH_COV_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_LLH_COV_GNSS.h rename to c/include/libsbp/navigation/MSG_POS_LLH_COV_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_LLH_DEP_A.h b/c/include/libsbp/navigation/MSG_POS_LLH_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_LLH_DEP_A.h rename to c/include/libsbp/navigation/MSG_POS_LLH_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_POS_LLH_GNSS.h b/c/include/libsbp/navigation/MSG_POS_LLH_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_POS_LLH_GNSS.h rename to c/include/libsbp/navigation/MSG_POS_LLH_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_PROTECTION_LEVEL.h b/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_PROTECTION_LEVEL.h rename to c/include/libsbp/navigation/MSG_PROTECTION_LEVEL.h diff --git a/c/include/libsbp/v4/navigation/MSG_PROTECTION_LEVEL_DEP_A.h b/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_PROTECTION_LEVEL_DEP_A.h rename to c/include/libsbp/navigation/MSG_PROTECTION_LEVEL_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_REFERENCE_FRAME_PARAM.h b/c/include/libsbp/navigation/MSG_REFERENCE_FRAME_PARAM.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_REFERENCE_FRAME_PARAM.h rename to c/include/libsbp/navigation/MSG_REFERENCE_FRAME_PARAM.h diff --git a/c/include/libsbp/v4/navigation/MSG_UTC_LEAP_SECOND.h b/c/include/libsbp/navigation/MSG_UTC_LEAP_SECOND.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_UTC_LEAP_SECOND.h rename to c/include/libsbp/navigation/MSG_UTC_LEAP_SECOND.h diff --git a/c/include/libsbp/v4/navigation/MSG_UTC_TIME.h b/c/include/libsbp/navigation/MSG_UTC_TIME.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_UTC_TIME.h rename to c/include/libsbp/navigation/MSG_UTC_TIME.h diff --git a/c/include/libsbp/v4/navigation/MSG_UTC_TIME_GNSS.h b/c/include/libsbp/navigation/MSG_UTC_TIME_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_UTC_TIME_GNSS.h rename to c/include/libsbp/navigation/MSG_UTC_TIME_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_BODY.h b/c/include/libsbp/navigation/MSG_VEL_BODY.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_BODY.h rename to c/include/libsbp/navigation/MSG_VEL_BODY.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_COG.h b/c/include/libsbp/navigation/MSG_VEL_COG.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_COG.h rename to c/include/libsbp/navigation/MSG_VEL_COG.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_ECEF.h b/c/include/libsbp/navigation/MSG_VEL_ECEF.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_ECEF.h rename to c/include/libsbp/navigation/MSG_VEL_ECEF.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_ECEF_COV.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_COV.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_ECEF_COV.h rename to c/include/libsbp/navigation/MSG_VEL_ECEF_COV.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_ECEF_COV_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_COV_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_ECEF_COV_GNSS.h rename to c/include/libsbp/navigation/MSG_VEL_ECEF_COV_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_ECEF_DEP_A.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_ECEF_DEP_A.h rename to c/include/libsbp/navigation/MSG_VEL_ECEF_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_ECEF_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_ECEF_GNSS.h rename to c/include/libsbp/navigation/MSG_VEL_ECEF_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_NED.h b/c/include/libsbp/navigation/MSG_VEL_NED.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_NED.h rename to c/include/libsbp/navigation/MSG_VEL_NED.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_NED_COV.h b/c/include/libsbp/navigation/MSG_VEL_NED_COV.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_NED_COV.h rename to c/include/libsbp/navigation/MSG_VEL_NED_COV.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_NED_COV_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_NED_COV_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_NED_COV_GNSS.h rename to c/include/libsbp/navigation/MSG_VEL_NED_COV_GNSS.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_NED_DEP_A.h b/c/include/libsbp/navigation/MSG_VEL_NED_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_NED_DEP_A.h rename to c/include/libsbp/navigation/MSG_VEL_NED_DEP_A.h diff --git a/c/include/libsbp/v4/navigation/MSG_VEL_NED_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_NED_GNSS.h similarity index 100% rename from c/include/libsbp/v4/navigation/MSG_VEL_NED_GNSS.h rename to c/include/libsbp/navigation/MSG_VEL_NED_GNSS.h diff --git a/c/include/libsbp/ndb.h b/c/include/libsbp/ndb.h index 597e31ce50..3938cf901a 100644 --- a/c/include/libsbp/ndb.h +++ b/c/include/libsbp/ndb.h @@ -15,9 +15,8 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_NDB_MESSAGES_H -#define LIBSBP_NDB_MESSAGES_H +#ifndef LIBSBP_V4_NDB_MESSAGES_H +#define LIBSBP_V4_NDB_MESSAGES_H +#include -#include - -#endif /* LIBSBP_NDB_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_NDB_MESSAGES_H */ diff --git a/c/include/libsbp/v4/ndb/MSG_NDB_EVENT.h b/c/include/libsbp/ndb/MSG_NDB_EVENT.h similarity index 99% rename from c/include/libsbp/v4/ndb/MSG_NDB_EVENT.h rename to c/include/libsbp/ndb/MSG_NDB_EVENT.h index 3c806697a2..64253262c2 100644 --- a/c/include/libsbp/v4/ndb/MSG_NDB_EVENT.h +++ b/c/include/libsbp/ndb/MSG_NDB_EVENT.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/observation.h b/c/include/libsbp/observation.h index f1455ad5f7..42c401c3a8 100644 --- a/c/include/libsbp/observation.h +++ b/c/include/libsbp/observation.h @@ -15,9 +15,61 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_OBSERVATION_MESSAGES_H -#define LIBSBP_OBSERVATION_MESSAGES_H +#ifndef LIBSBP_V4_OBSERVATION_MESSAGES_H +#define LIBSBP_V4_OBSERVATION_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_OBSERVATION_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_OBSERVATION_MESSAGES_H */ diff --git a/c/include/libsbp/v4/observation/AlmanacCommonContent.h b/c/include/libsbp/observation/AlmanacCommonContent.h similarity index 98% rename from c/include/libsbp/v4/observation/AlmanacCommonContent.h rename to c/include/libsbp/observation/AlmanacCommonContent.h index 5290bb57c3..f4d987b0c1 100644 --- a/c/include/libsbp/v4/observation/AlmanacCommonContent.h +++ b/c/include/libsbp/observation/AlmanacCommonContent.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/AlmanacCommonContentDep.h b/c/include/libsbp/observation/AlmanacCommonContentDep.h similarity index 98% rename from c/include/libsbp/v4/observation/AlmanacCommonContentDep.h rename to c/include/libsbp/observation/AlmanacCommonContentDep.h index 9b8f203202..f90ab156cf 100644 --- a/c/include/libsbp/v4/observation/AlmanacCommonContentDep.h +++ b/c/include/libsbp/observation/AlmanacCommonContentDep.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/CarrierPhaseDepA.h b/c/include/libsbp/observation/CarrierPhaseDepA.h similarity index 100% rename from c/include/libsbp/v4/observation/CarrierPhaseDepA.h rename to c/include/libsbp/observation/CarrierPhaseDepA.h diff --git a/c/include/libsbp/v4/observation/Doppler.h b/c/include/libsbp/observation/Doppler.h similarity index 100% rename from c/include/libsbp/v4/observation/Doppler.h rename to c/include/libsbp/observation/Doppler.h diff --git a/c/include/libsbp/v4/observation/EphemerisCommonContent.h b/c/include/libsbp/observation/EphemerisCommonContent.h similarity index 98% rename from c/include/libsbp/v4/observation/EphemerisCommonContent.h rename to c/include/libsbp/observation/EphemerisCommonContent.h index 7d15879632..7ca32b8642 100644 --- a/c/include/libsbp/v4/observation/EphemerisCommonContent.h +++ b/c/include/libsbp/observation/EphemerisCommonContent.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/EphemerisCommonContentDepA.h b/c/include/libsbp/observation/EphemerisCommonContentDepA.h similarity index 98% rename from c/include/libsbp/v4/observation/EphemerisCommonContentDepA.h rename to c/include/libsbp/observation/EphemerisCommonContentDepA.h index 51745dc55b..ae2c22f11d 100644 --- a/c/include/libsbp/v4/observation/EphemerisCommonContentDepA.h +++ b/c/include/libsbp/observation/EphemerisCommonContentDepA.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/EphemerisCommonContentDepB.h b/c/include/libsbp/observation/EphemerisCommonContentDepB.h similarity index 98% rename from c/include/libsbp/v4/observation/EphemerisCommonContentDepB.h rename to c/include/libsbp/observation/EphemerisCommonContentDepB.h index 8be93362c0..ef68825ba1 100644 --- a/c/include/libsbp/v4/observation/EphemerisCommonContentDepB.h +++ b/c/include/libsbp/observation/EphemerisCommonContentDepB.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/GnssCapb.h b/c/include/libsbp/observation/GnssCapb.h similarity index 100% rename from c/include/libsbp/v4/observation/GnssCapb.h rename to c/include/libsbp/observation/GnssCapb.h diff --git a/c/include/libsbp/v4/observation/MSG_ALMANAC_GLO.h b/c/include/libsbp/observation/MSG_ALMANAC_GLO.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_ALMANAC_GLO.h rename to c/include/libsbp/observation/MSG_ALMANAC_GLO.h index 7d33782981..4e2c8a3f1d 100644 --- a/c/include/libsbp/v4/observation/MSG_ALMANAC_GLO.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GLO.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_ALMANAC_GLO_DEP.h b/c/include/libsbp/observation/MSG_ALMANAC_GLO_DEP.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_ALMANAC_GLO_DEP.h rename to c/include/libsbp/observation/MSG_ALMANAC_GLO_DEP.h index f238ba68bb..0a7c26d19d 100644 --- a/c/include/libsbp/v4/observation/MSG_ALMANAC_GLO_DEP.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GLO_DEP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_ALMANAC_GPS.h b/c/include/libsbp/observation/MSG_ALMANAC_GPS.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_ALMANAC_GPS.h rename to c/include/libsbp/observation/MSG_ALMANAC_GPS.h index af4ec636b0..78be3f91f7 100644 --- a/c/include/libsbp/v4/observation/MSG_ALMANAC_GPS.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GPS.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_ALMANAC_GPS_DEP.h b/c/include/libsbp/observation/MSG_ALMANAC_GPS_DEP.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_ALMANAC_GPS_DEP.h rename to c/include/libsbp/observation/MSG_ALMANAC_GPS_DEP.h index 7c17a159f5..0c914ca836 100644 --- a/c/include/libsbp/v4/observation/MSG_ALMANAC_GPS_DEP.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GPS_DEP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_BASE_POS_ECEF.h b/c/include/libsbp/observation/MSG_BASE_POS_ECEF.h similarity index 100% rename from c/include/libsbp/v4/observation/MSG_BASE_POS_ECEF.h rename to c/include/libsbp/observation/MSG_BASE_POS_ECEF.h diff --git a/c/include/libsbp/v4/observation/MSG_BASE_POS_LLH.h b/c/include/libsbp/observation/MSG_BASE_POS_LLH.h similarity index 100% rename from c/include/libsbp/v4/observation/MSG_BASE_POS_LLH.h rename to c/include/libsbp/observation/MSG_BASE_POS_LLH.h diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_BDS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_BDS.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_BDS.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_BDS.h index 6a46ae7b6e..bce67a684c 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_BDS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_BDS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_A.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_DEP_A.h diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_B.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_B.h similarity index 100% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_B.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_DEP_B.h diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_C.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_C.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_C.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_DEP_C.h index 9b3cce6edd..9a3b6a74c6 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_C.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_C.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_D.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_D.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_D.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_DEP_D.h index 810938e811..2eff2ab6d0 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_DEP_D.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_D.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GAL.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GAL.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GAL.h index 94b62fa190..d8dca3f21d 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GAL.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GAL_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL_DEP_A.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GAL_DEP_A.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GAL_DEP_A.h index 5acd9d073c..e2a88c3761 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GAL_DEP_A.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL_DEP_A.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GLO.h index b607d9f58c..64e067adbf 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_A.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_A.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_A.h index 1800091240..ae05d53ee8 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_A.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_A.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_B.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_B.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_B.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_B.h index 95cce06c3c..0e9191db38 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_B.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_B.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_C.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_C.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_C.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_C.h index c96bf7f1d9..a5d8de4c4f 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_C.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_C.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_D.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_D.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_D.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_D.h index 5559722cd0..cfb267ae54 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GLO_DEP_D.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_D.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GPS.h index 354d3dc83d..4b97446c5b 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS_DEP_E.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_E.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS_DEP_E.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_E.h index 0c7d661cbe..56f068d29e 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS_DEP_E.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_E.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS_DEP_F.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_F.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS_DEP_F.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_F.h index 84d769d154..b80ee4c5f2 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_GPS_DEP_F.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_F.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_QZSS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_QZSS.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_QZSS.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_QZSS.h index 8df824c585..ea7a207be5 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_QZSS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_QZSS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_SBAS.h index e1fe12908e..e3bfaba1e8 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_A.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS_DEP_A.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_A.h index 24a165db51..a3225a1811 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS_DEP_A.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_A.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS_DEP_B.h b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_B.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS_DEP_B.h rename to c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_B.h index 7f918bf205..a73032209d 100644 --- a/c/include/libsbp/v4/observation/MSG_EPHEMERIS_SBAS_DEP_B.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_B.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_GLO_BIASES.h b/c/include/libsbp/observation/MSG_GLO_BIASES.h similarity index 100% rename from c/include/libsbp/v4/observation/MSG_GLO_BIASES.h rename to c/include/libsbp/observation/MSG_GLO_BIASES.h diff --git a/c/include/libsbp/v4/observation/MSG_GNSS_CAPB.h b/c/include/libsbp/observation/MSG_GNSS_CAPB.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_GNSS_CAPB.h rename to c/include/libsbp/observation/MSG_GNSS_CAPB.h index 72f7b46c98..d7fa7d7d57 100644 --- a/c/include/libsbp/v4/observation/MSG_GNSS_CAPB.h +++ b/c/include/libsbp/observation/MSG_GNSS_CAPB.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_GROUP_DELAY.h b/c/include/libsbp/observation/MSG_GROUP_DELAY.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_GROUP_DELAY.h rename to c/include/libsbp/observation/MSG_GROUP_DELAY.h index 9ede22d3d7..8e7cd1bab9 100644 --- a/c/include/libsbp/v4/observation/MSG_GROUP_DELAY.h +++ b/c/include/libsbp/observation/MSG_GROUP_DELAY.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_GROUP_DELAY_DEP_A.h b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_A.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_GROUP_DELAY_DEP_A.h rename to c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_A.h index 1a8244ebae..96480b4542 100644 --- a/c/include/libsbp/v4/observation/MSG_GROUP_DELAY_DEP_A.h +++ b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_A.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_GROUP_DELAY_DEP_B.h b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_B.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_GROUP_DELAY_DEP_B.h rename to c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_B.h index 232198e335..e1db611539 100644 --- a/c/include/libsbp/v4/observation/MSG_GROUP_DELAY_DEP_B.h +++ b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_B.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_IONO.h b/c/include/libsbp/observation/MSG_IONO.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_IONO.h rename to c/include/libsbp/observation/MSG_IONO.h index 30b781ae2d..a3d55213a0 100644 --- a/c/include/libsbp/v4/observation/MSG_IONO.h +++ b/c/include/libsbp/observation/MSG_IONO.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_OBS.h b/c/include/libsbp/observation/MSG_OBS.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_OBS.h rename to c/include/libsbp/observation/MSG_OBS.h index 63b2733bdc..e70c7ede7c 100644 --- a/c/include/libsbp/v4/observation/MSG_OBS.h +++ b/c/include/libsbp/observation/MSG_OBS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_OBS_DEP_A.h b/c/include/libsbp/observation/MSG_OBS_DEP_A.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_OBS_DEP_A.h rename to c/include/libsbp/observation/MSG_OBS_DEP_A.h index 947c6786c1..ae37e47a52 100644 --- a/c/include/libsbp/v4/observation/MSG_OBS_DEP_A.h +++ b/c/include/libsbp/observation/MSG_OBS_DEP_A.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_OBS_DEP_B.h b/c/include/libsbp/observation/MSG_OBS_DEP_B.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_OBS_DEP_B.h rename to c/include/libsbp/observation/MSG_OBS_DEP_B.h index 9354126590..ff81f87ac2 100644 --- a/c/include/libsbp/v4/observation/MSG_OBS_DEP_B.h +++ b/c/include/libsbp/observation/MSG_OBS_DEP_B.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_OBS_DEP_C.h b/c/include/libsbp/observation/MSG_OBS_DEP_C.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_OBS_DEP_C.h rename to c/include/libsbp/observation/MSG_OBS_DEP_C.h index 75ebf7cda3..e02619cd1f 100644 --- a/c/include/libsbp/v4/observation/MSG_OBS_DEP_C.h +++ b/c/include/libsbp/observation/MSG_OBS_DEP_C.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_OSR.h b/c/include/libsbp/observation/MSG_OSR.h similarity index 98% rename from c/include/libsbp/v4/observation/MSG_OSR.h rename to c/include/libsbp/observation/MSG_OSR.h index b5c52d4f8c..f9da0ae2c0 100644 --- a/c/include/libsbp/v4/observation/MSG_OSR.h +++ b/c/include/libsbp/observation/MSG_OSR.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_SV_AZ_EL.h b/c/include/libsbp/observation/MSG_SV_AZ_EL.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_SV_AZ_EL.h rename to c/include/libsbp/observation/MSG_SV_AZ_EL.h index 0c36b04eea..391dba283f 100644 --- a/c/include/libsbp/v4/observation/MSG_SV_AZ_EL.h +++ b/c/include/libsbp/observation/MSG_SV_AZ_EL.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/MSG_SV_CONFIGURATION_GPS_DEP.h b/c/include/libsbp/observation/MSG_SV_CONFIGURATION_GPS_DEP.h similarity index 99% rename from c/include/libsbp/v4/observation/MSG_SV_CONFIGURATION_GPS_DEP.h rename to c/include/libsbp/observation/MSG_SV_CONFIGURATION_GPS_DEP.h index 6b77644269..5da59543d7 100644 --- a/c/include/libsbp/v4/observation/MSG_SV_CONFIGURATION_GPS_DEP.h +++ b/c/include/libsbp/observation/MSG_SV_CONFIGURATION_GPS_DEP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/ObservationHeader.h b/c/include/libsbp/observation/ObservationHeader.h similarity index 99% rename from c/include/libsbp/v4/observation/ObservationHeader.h rename to c/include/libsbp/observation/ObservationHeader.h index 19c42e18e5..fa4e850d73 100644 --- a/c/include/libsbp/v4/observation/ObservationHeader.h +++ b/c/include/libsbp/observation/ObservationHeader.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/ObservationHeaderDep.h b/c/include/libsbp/observation/ObservationHeaderDep.h similarity index 99% rename from c/include/libsbp/v4/observation/ObservationHeaderDep.h rename to c/include/libsbp/observation/ObservationHeaderDep.h index 2f71751b15..92d590f819 100644 --- a/c/include/libsbp/v4/observation/ObservationHeaderDep.h +++ b/c/include/libsbp/observation/ObservationHeaderDep.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/PackedObsContent.h b/c/include/libsbp/observation/PackedObsContent.h similarity index 98% rename from c/include/libsbp/v4/observation/PackedObsContent.h rename to c/include/libsbp/observation/PackedObsContent.h index 25822976a2..f58984a559 100644 --- a/c/include/libsbp/v4/observation/PackedObsContent.h +++ b/c/include/libsbp/observation/PackedObsContent.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/PackedObsContentDepA.h b/c/include/libsbp/observation/PackedObsContentDepA.h similarity index 99% rename from c/include/libsbp/v4/observation/PackedObsContentDepA.h rename to c/include/libsbp/observation/PackedObsContentDepA.h index 17b66a5365..f28d5243ea 100644 --- a/c/include/libsbp/v4/observation/PackedObsContentDepA.h +++ b/c/include/libsbp/observation/PackedObsContentDepA.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/PackedObsContentDepB.h b/c/include/libsbp/observation/PackedObsContentDepB.h similarity index 98% rename from c/include/libsbp/v4/observation/PackedObsContentDepB.h rename to c/include/libsbp/observation/PackedObsContentDepB.h index 1cebc029a4..f2c87565aa 100644 --- a/c/include/libsbp/v4/observation/PackedObsContentDepB.h +++ b/c/include/libsbp/observation/PackedObsContentDepB.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/PackedObsContentDepC.h b/c/include/libsbp/observation/PackedObsContentDepC.h similarity index 98% rename from c/include/libsbp/v4/observation/PackedObsContentDepC.h rename to c/include/libsbp/observation/PackedObsContentDepC.h index 1e731d7d77..5d116df865 100644 --- a/c/include/libsbp/v4/observation/PackedObsContentDepC.h +++ b/c/include/libsbp/observation/PackedObsContentDepC.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/PackedOsrContent.h b/c/include/libsbp/observation/PackedOsrContent.h similarity index 98% rename from c/include/libsbp/v4/observation/PackedOsrContent.h rename to c/include/libsbp/observation/PackedOsrContent.h index 071a95692e..3537c3c157 100644 --- a/c/include/libsbp/v4/observation/PackedOsrContent.h +++ b/c/include/libsbp/observation/PackedOsrContent.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/observation/SvAzEl.h b/c/include/libsbp/observation/SvAzEl.h similarity index 99% rename from c/include/libsbp/v4/observation/SvAzEl.h rename to c/include/libsbp/observation/SvAzEl.h index c5eb0c9234..3e40045a69 100644 --- a/c/include/libsbp/v4/observation/SvAzEl.h +++ b/c/include/libsbp/observation/SvAzEl.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/orientation.h b/c/include/libsbp/orientation.h index ec9c002a43..cf29717bf4 100644 --- a/c/include/libsbp/orientation.h +++ b/c/include/libsbp/orientation.h @@ -15,9 +15,11 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_ORIENTATION_MESSAGES_H -#define LIBSBP_ORIENTATION_MESSAGES_H +#ifndef LIBSBP_V4_ORIENTATION_MESSAGES_H +#define LIBSBP_V4_ORIENTATION_MESSAGES_H +#include +#include +#include +#include -#include - -#endif /* LIBSBP_ORIENTATION_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_ORIENTATION_MESSAGES_H */ diff --git a/c/include/libsbp/v4/orientation/MSG_ANGULAR_RATE.h b/c/include/libsbp/orientation/MSG_ANGULAR_RATE.h similarity index 100% rename from c/include/libsbp/v4/orientation/MSG_ANGULAR_RATE.h rename to c/include/libsbp/orientation/MSG_ANGULAR_RATE.h diff --git a/c/include/libsbp/v4/orientation/MSG_BASELINE_HEADING.h b/c/include/libsbp/orientation/MSG_BASELINE_HEADING.h similarity index 100% rename from c/include/libsbp/v4/orientation/MSG_BASELINE_HEADING.h rename to c/include/libsbp/orientation/MSG_BASELINE_HEADING.h diff --git a/c/include/libsbp/v4/orientation/MSG_ORIENT_EULER.h b/c/include/libsbp/orientation/MSG_ORIENT_EULER.h similarity index 100% rename from c/include/libsbp/v4/orientation/MSG_ORIENT_EULER.h rename to c/include/libsbp/orientation/MSG_ORIENT_EULER.h diff --git a/c/include/libsbp/v4/orientation/MSG_ORIENT_QUAT.h b/c/include/libsbp/orientation/MSG_ORIENT_QUAT.h similarity index 100% rename from c/include/libsbp/v4/orientation/MSG_ORIENT_QUAT.h rename to c/include/libsbp/orientation/MSG_ORIENT_QUAT.h diff --git a/c/include/libsbp/piksi.h b/c/include/libsbp/piksi.h index c3823ba833..45d0d58c02 100644 --- a/c/include/libsbp/piksi.h +++ b/c/include/libsbp/piksi.h @@ -15,9 +15,36 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_PIKSI_MESSAGES_H -#define LIBSBP_PIKSI_MESSAGES_H +#ifndef LIBSBP_V4_PIKSI_MESSAGES_H +#define LIBSBP_V4_PIKSI_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_PIKSI_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_PIKSI_MESSAGES_H */ diff --git a/c/include/libsbp/v4/piksi/Latency.h b/c/include/libsbp/piksi/Latency.h similarity index 100% rename from c/include/libsbp/v4/piksi/Latency.h rename to c/include/libsbp/piksi/Latency.h diff --git a/c/include/libsbp/v4/piksi/MSG_ALMANAC.h b/c/include/libsbp/piksi/MSG_ALMANAC.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_ALMANAC.h rename to c/include/libsbp/piksi/MSG_ALMANAC.h diff --git a/c/include/libsbp/v4/piksi/MSG_CELL_MODEM_STATUS.h b/c/include/libsbp/piksi/MSG_CELL_MODEM_STATUS.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_CELL_MODEM_STATUS.h rename to c/include/libsbp/piksi/MSG_CELL_MODEM_STATUS.h diff --git a/c/include/libsbp/v4/piksi/MSG_COMMAND_OUTPUT.h b/c/include/libsbp/piksi/MSG_COMMAND_OUTPUT.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_COMMAND_OUTPUT.h rename to c/include/libsbp/piksi/MSG_COMMAND_OUTPUT.h diff --git a/c/include/libsbp/v4/piksi/MSG_COMMAND_REQ.h b/c/include/libsbp/piksi/MSG_COMMAND_REQ.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_COMMAND_REQ.h rename to c/include/libsbp/piksi/MSG_COMMAND_REQ.h diff --git a/c/include/libsbp/v4/piksi/MSG_COMMAND_RESP.h b/c/include/libsbp/piksi/MSG_COMMAND_RESP.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_COMMAND_RESP.h rename to c/include/libsbp/piksi/MSG_COMMAND_RESP.h diff --git a/c/include/libsbp/v4/piksi/MSG_CW_RESULTS.h b/c/include/libsbp/piksi/MSG_CW_RESULTS.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_CW_RESULTS.h rename to c/include/libsbp/piksi/MSG_CW_RESULTS.h diff --git a/c/include/libsbp/v4/piksi/MSG_CW_START.h b/c/include/libsbp/piksi/MSG_CW_START.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_CW_START.h rename to c/include/libsbp/piksi/MSG_CW_START.h diff --git a/c/include/libsbp/v4/piksi/MSG_DEVICE_MONITOR.h b/c/include/libsbp/piksi/MSG_DEVICE_MONITOR.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_DEVICE_MONITOR.h rename to c/include/libsbp/piksi/MSG_DEVICE_MONITOR.h diff --git a/c/include/libsbp/v4/piksi/MSG_FRONT_END_GAIN.h b/c/include/libsbp/piksi/MSG_FRONT_END_GAIN.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_FRONT_END_GAIN.h rename to c/include/libsbp/piksi/MSG_FRONT_END_GAIN.h diff --git a/c/include/libsbp/v4/piksi/MSG_IAR_STATE.h b/c/include/libsbp/piksi/MSG_IAR_STATE.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_IAR_STATE.h rename to c/include/libsbp/piksi/MSG_IAR_STATE.h diff --git a/c/include/libsbp/v4/piksi/MSG_INIT_BASE_DEP.h b/c/include/libsbp/piksi/MSG_INIT_BASE_DEP.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_INIT_BASE_DEP.h rename to c/include/libsbp/piksi/MSG_INIT_BASE_DEP.h diff --git a/c/include/libsbp/v4/piksi/MSG_MASK_SATELLITE.h b/c/include/libsbp/piksi/MSG_MASK_SATELLITE.h similarity index 99% rename from c/include/libsbp/v4/piksi/MSG_MASK_SATELLITE.h rename to c/include/libsbp/piksi/MSG_MASK_SATELLITE.h index fe0634d49d..7bc5a47792 100644 --- a/c/include/libsbp/v4/piksi/MSG_MASK_SATELLITE.h +++ b/c/include/libsbp/piksi/MSG_MASK_SATELLITE.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/piksi/MSG_MASK_SATELLITE_DEP.h b/c/include/libsbp/piksi/MSG_MASK_SATELLITE_DEP.h similarity index 99% rename from c/include/libsbp/v4/piksi/MSG_MASK_SATELLITE_DEP.h rename to c/include/libsbp/piksi/MSG_MASK_SATELLITE_DEP.h index 1cec567de0..a9f8105012 100644 --- a/c/include/libsbp/v4/piksi/MSG_MASK_SATELLITE_DEP.h +++ b/c/include/libsbp/piksi/MSG_MASK_SATELLITE_DEP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h b/c/include/libsbp/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h similarity index 99% rename from c/include/libsbp/v4/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h rename to c/include/libsbp/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h index 7e849f554b..a9f156cb4a 100644 --- a/c/include/libsbp/v4/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h +++ b/c/include/libsbp/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/piksi/MSG_NETWORK_STATE_REQ.h b/c/include/libsbp/piksi/MSG_NETWORK_STATE_REQ.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_NETWORK_STATE_REQ.h rename to c/include/libsbp/piksi/MSG_NETWORK_STATE_REQ.h diff --git a/c/include/libsbp/v4/piksi/MSG_NETWORK_STATE_RESP.h b/c/include/libsbp/piksi/MSG_NETWORK_STATE_RESP.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_NETWORK_STATE_RESP.h rename to c/include/libsbp/piksi/MSG_NETWORK_STATE_RESP.h diff --git a/c/include/libsbp/v4/piksi/MSG_RESET.h b/c/include/libsbp/piksi/MSG_RESET.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_RESET.h rename to c/include/libsbp/piksi/MSG_RESET.h diff --git a/c/include/libsbp/v4/piksi/MSG_RESET_DEP.h b/c/include/libsbp/piksi/MSG_RESET_DEP.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_RESET_DEP.h rename to c/include/libsbp/piksi/MSG_RESET_DEP.h diff --git a/c/include/libsbp/v4/piksi/MSG_RESET_FILTERS.h b/c/include/libsbp/piksi/MSG_RESET_FILTERS.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_RESET_FILTERS.h rename to c/include/libsbp/piksi/MSG_RESET_FILTERS.h diff --git a/c/include/libsbp/v4/piksi/MSG_SET_TIME.h b/c/include/libsbp/piksi/MSG_SET_TIME.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_SET_TIME.h rename to c/include/libsbp/piksi/MSG_SET_TIME.h diff --git a/c/include/libsbp/v4/piksi/MSG_SPECAN.h b/c/include/libsbp/piksi/MSG_SPECAN.h similarity index 99% rename from c/include/libsbp/v4/piksi/MSG_SPECAN.h rename to c/include/libsbp/piksi/MSG_SPECAN.h index 80f3e9b380..38f3eac4b8 100644 --- a/c/include/libsbp/v4/piksi/MSG_SPECAN.h +++ b/c/include/libsbp/piksi/MSG_SPECAN.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/piksi/MSG_SPECAN_DEP.h b/c/include/libsbp/piksi/MSG_SPECAN_DEP.h similarity index 99% rename from c/include/libsbp/v4/piksi/MSG_SPECAN_DEP.h rename to c/include/libsbp/piksi/MSG_SPECAN_DEP.h index 3ca9afd8bd..7662fb8e78 100644 --- a/c/include/libsbp/v4/piksi/MSG_SPECAN_DEP.h +++ b/c/include/libsbp/piksi/MSG_SPECAN_DEP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/piksi/MSG_THREAD_STATE.h b/c/include/libsbp/piksi/MSG_THREAD_STATE.h similarity index 100% rename from c/include/libsbp/v4/piksi/MSG_THREAD_STATE.h rename to c/include/libsbp/piksi/MSG_THREAD_STATE.h diff --git a/c/include/libsbp/v4/piksi/MSG_UART_STATE.h b/c/include/libsbp/piksi/MSG_UART_STATE.h similarity index 98% rename from c/include/libsbp/v4/piksi/MSG_UART_STATE.h rename to c/include/libsbp/piksi/MSG_UART_STATE.h index b7de37aca2..3fd46e7a16 100644 --- a/c/include/libsbp/v4/piksi/MSG_UART_STATE.h +++ b/c/include/libsbp/piksi/MSG_UART_STATE.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/piksi/MSG_UART_STATE_DEPA.h b/c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h similarity index 98% rename from c/include/libsbp/v4/piksi/MSG_UART_STATE_DEPA.h rename to c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h index 85a07ec8f6..36b5d02c38 100644 --- a/c/include/libsbp/v4/piksi/MSG_UART_STATE_DEPA.h +++ b/c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/piksi/NetworkUsage.h b/c/include/libsbp/piksi/NetworkUsage.h similarity index 100% rename from c/include/libsbp/v4/piksi/NetworkUsage.h rename to c/include/libsbp/piksi/NetworkUsage.h diff --git a/c/include/libsbp/v4/piksi/Period.h b/c/include/libsbp/piksi/Period.h similarity index 100% rename from c/include/libsbp/v4/piksi/Period.h rename to c/include/libsbp/piksi/Period.h diff --git a/c/include/libsbp/v4/piksi/UARTChannel.h b/c/include/libsbp/piksi/UARTChannel.h similarity index 100% rename from c/include/libsbp/v4/piksi/UARTChannel.h rename to c/include/libsbp/piksi/UARTChannel.h diff --git a/c/include/libsbp/sbas.h b/c/include/libsbp/sbas.h index 1168c2813c..f3c6fd19e3 100644 --- a/c/include/libsbp/sbas.h +++ b/c/include/libsbp/sbas.h @@ -15,9 +15,8 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_SBAS_MESSAGES_H -#define LIBSBP_SBAS_MESSAGES_H +#ifndef LIBSBP_V4_SBAS_MESSAGES_H +#define LIBSBP_V4_SBAS_MESSAGES_H +#include -#include - -#endif /* LIBSBP_SBAS_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_SBAS_MESSAGES_H */ diff --git a/c/include/libsbp/v4/sbas/MSG_SBAS_RAW.h b/c/include/libsbp/sbas/MSG_SBAS_RAW.h similarity index 99% rename from c/include/libsbp/v4/sbas/MSG_SBAS_RAW.h rename to c/include/libsbp/sbas/MSG_SBAS_RAW.h index 169daceff2..6c4fb4bae2 100644 --- a/c/include/libsbp/v4/sbas/MSG_SBAS_RAW.h +++ b/c/include/libsbp/sbas/MSG_SBAS_RAW.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/sbp_msg.h b/c/include/libsbp/sbp_msg.h similarity index 99% rename from c/include/libsbp/v4/sbp_msg.h rename to c/include/libsbp/sbp_msg.h index 496df55164..a060303f9f 100644 --- a/c/include/libsbp/v4/sbp_msg.h +++ b/c/include/libsbp/sbp_msg.h @@ -22,33 +22,33 @@ #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings.h b/c/include/libsbp/settings.h index 7e58b89bc5..7f8b25cbdb 100644 --- a/c/include/libsbp/settings.h +++ b/c/include/libsbp/settings.h @@ -15,9 +15,17 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_SETTINGS_MESSAGES_H -#define LIBSBP_SETTINGS_MESSAGES_H +#ifndef LIBSBP_V4_SETTINGS_MESSAGES_H +#define LIBSBP_V4_SETTINGS_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_SETTINGS_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_SETTINGS_MESSAGES_H */ diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h rename to c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h rename to c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h rename to c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_READ_REQ.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_REQ.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_READ_REQ.h rename to c/include/libsbp/settings/MSG_SETTINGS_READ_REQ.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_READ_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_RESP.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_READ_RESP.h rename to c/include/libsbp/settings/MSG_SETTINGS_READ_RESP.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_REGISTER.h b/c/include/libsbp/settings/MSG_SETTINGS_REGISTER.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_REGISTER.h rename to c/include/libsbp/settings/MSG_SETTINGS_REGISTER.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_REGISTER_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_REGISTER_RESP.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_REGISTER_RESP.h rename to c/include/libsbp/settings/MSG_SETTINGS_REGISTER_RESP.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_SAVE.h b/c/include/libsbp/settings/MSG_SETTINGS_SAVE.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_SAVE.h rename to c/include/libsbp/settings/MSG_SETTINGS_SAVE.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_WRITE.h b/c/include/libsbp/settings/MSG_SETTINGS_WRITE.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_WRITE.h rename to c/include/libsbp/settings/MSG_SETTINGS_WRITE.h diff --git a/c/include/libsbp/v4/settings/MSG_SETTINGS_WRITE_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_WRITE_RESP.h similarity index 100% rename from c/include/libsbp/v4/settings/MSG_SETTINGS_WRITE_RESP.h rename to c/include/libsbp/settings/MSG_SETTINGS_WRITE_RESP.h diff --git a/c/include/libsbp/signing.h b/c/include/libsbp/signing.h index 968d58d4c4..df792a31f5 100644 --- a/c/include/libsbp/signing.h +++ b/c/include/libsbp/signing.h @@ -15,9 +15,18 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_SIGNING_MESSAGES_H -#define LIBSBP_SIGNING_MESSAGES_H +#ifndef LIBSBP_V4_SIGNING_MESSAGES_H +#define LIBSBP_V4_SIGNING_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_SIGNING_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_SIGNING_MESSAGES_H */ diff --git a/c/include/libsbp/v4/signing/ECDSASignature.h b/c/include/libsbp/signing/ECDSASignature.h similarity index 100% rename from c/include/libsbp/v4/signing/ECDSASignature.h rename to c/include/libsbp/signing/ECDSASignature.h diff --git a/c/include/libsbp/v4/signing/MSG_CERTIFICATE_CHAIN.h b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN.h similarity index 98% rename from c/include/libsbp/v4/signing/MSG_CERTIFICATE_CHAIN.h rename to c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN.h index 0233b47f04..50016dd131 100644 --- a/c/include/libsbp/v4/signing/MSG_CERTIFICATE_CHAIN.h +++ b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/signing/MSG_CERTIFICATE_CHAIN_DEP.h b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN_DEP.h similarity index 99% rename from c/include/libsbp/v4/signing/MSG_CERTIFICATE_CHAIN_DEP.h rename to c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN_DEP.h index 65aab69829..f964b7a04e 100644 --- a/c/include/libsbp/v4/signing/MSG_CERTIFICATE_CHAIN_DEP.h +++ b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN_DEP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/signing/MSG_ECDSA_CERTIFICATE.h b/c/include/libsbp/signing/MSG_ECDSA_CERTIFICATE.h similarity index 100% rename from c/include/libsbp/v4/signing/MSG_ECDSA_CERTIFICATE.h rename to c/include/libsbp/signing/MSG_ECDSA_CERTIFICATE.h diff --git a/c/include/libsbp/v4/signing/MSG_ECDSA_SIGNATURE.h b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE.h similarity index 99% rename from c/include/libsbp/v4/signing/MSG_ECDSA_SIGNATURE.h rename to c/include/libsbp/signing/MSG_ECDSA_SIGNATURE.h index 430465624c..2d019b8f82 100644 --- a/c/include/libsbp/v4/signing/MSG_ECDSA_SIGNATURE.h +++ b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/signing/MSG_ECDSA_SIGNATURE_DEP_A.h b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/signing/MSG_ECDSA_SIGNATURE_DEP_A.h rename to c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_A.h diff --git a/c/include/libsbp/v4/signing/MSG_ECDSA_SIGNATURE_DEP_B.h b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_B.h similarity index 100% rename from c/include/libsbp/v4/signing/MSG_ECDSA_SIGNATURE_DEP_B.h rename to c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_B.h diff --git a/c/include/libsbp/v4/signing/MSG_ED25519_CERTIFICATE_DEP.h b/c/include/libsbp/signing/MSG_ED25519_CERTIFICATE_DEP.h similarity index 100% rename from c/include/libsbp/v4/signing/MSG_ED25519_CERTIFICATE_DEP.h rename to c/include/libsbp/signing/MSG_ED25519_CERTIFICATE_DEP.h diff --git a/c/include/libsbp/v4/signing/MSG_ED25519_SIGNATURE_DEP_A.h b/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/signing/MSG_ED25519_SIGNATURE_DEP_A.h rename to c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_A.h diff --git a/c/include/libsbp/v4/signing/MSG_ED25519_SIGNATURE_DEP_B.h b/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_B.h similarity index 100% rename from c/include/libsbp/v4/signing/MSG_ED25519_SIGNATURE_DEP_B.h rename to c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_B.h diff --git a/c/include/libsbp/v4/signing/UtcTime.h b/c/include/libsbp/signing/UtcTime.h similarity index 100% rename from c/include/libsbp/v4/signing/UtcTime.h rename to c/include/libsbp/signing/UtcTime.h diff --git a/c/include/libsbp/solution_meta.h b/c/include/libsbp/solution_meta.h index 1310178fb2..cff9e79621 100644 --- a/c/include/libsbp/solution_meta.h +++ b/c/include/libsbp/solution_meta.h @@ -15,9 +15,13 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_SOLUTION_META_MESSAGES_H -#define LIBSBP_SOLUTION_META_MESSAGES_H +#ifndef LIBSBP_V4_SOLUTION_META_MESSAGES_H +#define LIBSBP_V4_SOLUTION_META_MESSAGES_H +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_SOLUTION_META_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_SOLUTION_META_MESSAGES_H */ diff --git a/c/include/libsbp/v4/solution_meta/GNSSInputType.h b/c/include/libsbp/solution_meta/GNSSInputType.h similarity index 100% rename from c/include/libsbp/v4/solution_meta/GNSSInputType.h rename to c/include/libsbp/solution_meta/GNSSInputType.h diff --git a/c/include/libsbp/v4/solution_meta/IMUInputType.h b/c/include/libsbp/solution_meta/IMUInputType.h similarity index 100% rename from c/include/libsbp/v4/solution_meta/IMUInputType.h rename to c/include/libsbp/solution_meta/IMUInputType.h diff --git a/c/include/libsbp/v4/solution_meta/MSG_SOLN_META.h b/c/include/libsbp/solution_meta/MSG_SOLN_META.h similarity index 99% rename from c/include/libsbp/v4/solution_meta/MSG_SOLN_META.h rename to c/include/libsbp/solution_meta/MSG_SOLN_META.h index 389ebcb5b9..0fd0df20e5 100644 --- a/c/include/libsbp/v4/solution_meta/MSG_SOLN_META.h +++ b/c/include/libsbp/solution_meta/MSG_SOLN_META.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/solution_meta/MSG_SOLN_META_DEP_A.h b/c/include/libsbp/solution_meta/MSG_SOLN_META_DEP_A.h similarity index 99% rename from c/include/libsbp/v4/solution_meta/MSG_SOLN_META_DEP_A.h rename to c/include/libsbp/solution_meta/MSG_SOLN_META_DEP_A.h index 194587cd85..e132cea206 100644 --- a/c/include/libsbp/v4/solution_meta/MSG_SOLN_META_DEP_A.h +++ b/c/include/libsbp/solution_meta/MSG_SOLN_META_DEP_A.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/solution_meta/OdoInputType.h b/c/include/libsbp/solution_meta/OdoInputType.h similarity index 100% rename from c/include/libsbp/v4/solution_meta/OdoInputType.h rename to c/include/libsbp/solution_meta/OdoInputType.h diff --git a/c/include/libsbp/v4/solution_meta/SolutionInputType.h b/c/include/libsbp/solution_meta/SolutionInputType.h similarity index 100% rename from c/include/libsbp/v4/solution_meta/SolutionInputType.h rename to c/include/libsbp/solution_meta/SolutionInputType.h diff --git a/c/include/libsbp/ssr.h b/c/include/libsbp/ssr.h index 48560b5e9d..44902cdfd8 100644 --- a/c/include/libsbp/ssr.h +++ b/c/include/libsbp/ssr.h @@ -15,9 +15,45 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_SSR_MESSAGES_H -#define LIBSBP_SSR_MESSAGES_H +#ifndef LIBSBP_V4_SSR_MESSAGES_H +#define LIBSBP_V4_SSR_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_SSR_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_SSR_MESSAGES_H */ diff --git a/c/include/libsbp/v4/ssr/BoundsHeader.h b/c/include/libsbp/ssr/BoundsHeader.h similarity index 99% rename from c/include/libsbp/v4/ssr/BoundsHeader.h rename to c/include/libsbp/ssr/BoundsHeader.h index da9790258d..e1d64c414b 100644 --- a/c/include/libsbp/v4/ssr/BoundsHeader.h +++ b/c/include/libsbp/ssr/BoundsHeader.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/CodeBiasesContent.h b/c/include/libsbp/ssr/CodeBiasesContent.h similarity index 100% rename from c/include/libsbp/v4/ssr/CodeBiasesContent.h rename to c/include/libsbp/ssr/CodeBiasesContent.h diff --git a/c/include/libsbp/v4/ssr/CodePhaseBiasesSatSig.h b/c/include/libsbp/ssr/CodePhaseBiasesSatSig.h similarity index 100% rename from c/include/libsbp/v4/ssr/CodePhaseBiasesSatSig.h rename to c/include/libsbp/ssr/CodePhaseBiasesSatSig.h diff --git a/c/include/libsbp/v4/ssr/GridDefinitionHeaderDepA.h b/c/include/libsbp/ssr/GridDefinitionHeaderDepA.h similarity index 100% rename from c/include/libsbp/v4/ssr/GridDefinitionHeaderDepA.h rename to c/include/libsbp/ssr/GridDefinitionHeaderDepA.h diff --git a/c/include/libsbp/v4/ssr/GriddedCorrectionHeader.h b/c/include/libsbp/ssr/GriddedCorrectionHeader.h similarity index 99% rename from c/include/libsbp/v4/ssr/GriddedCorrectionHeader.h rename to c/include/libsbp/ssr/GriddedCorrectionHeader.h index c1743f9faf..5ddaf7bc83 100644 --- a/c/include/libsbp/v4/ssr/GriddedCorrectionHeader.h +++ b/c/include/libsbp/ssr/GriddedCorrectionHeader.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/GriddedCorrectionHeaderDepA.h b/c/include/libsbp/ssr/GriddedCorrectionHeaderDepA.h similarity index 99% rename from c/include/libsbp/v4/ssr/GriddedCorrectionHeaderDepA.h rename to c/include/libsbp/ssr/GriddedCorrectionHeaderDepA.h index f5649eb66a..e26074bceb 100644 --- a/c/include/libsbp/v4/ssr/GriddedCorrectionHeaderDepA.h +++ b/c/include/libsbp/ssr/GriddedCorrectionHeaderDepA.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_CODE_BIASES.h b/c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_CODE_BIASES.h rename to c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h index d19c5c7a2c..45b1961a35 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_CODE_BIASES.h +++ b/c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h b/c/include/libsbp/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h rename to c/include/libsbp/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h index 11173dc59d..d380b41ad6 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h +++ b/c/include/libsbp/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION.h rename to c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h index 87d0cf09fd..1393c1306b 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h rename to c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h index 22f09c53bd..21cf312cf3 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h rename to c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h index 5fdbf4cedc..970578bd17 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h rename to c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h index effff044e3..0d531914e3 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h similarity index 99% rename from c/include/libsbp/v4/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h rename to c/include/libsbp/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h index db0c4d25b3..85eca65894 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h similarity index 99% rename from c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK.h rename to c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h index b883c96e63..f01d5e3276 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h rename to c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h index a2b6efcacc..78cd3de26e 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h rename to c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h index 1d75fb33ee..3e8665e1d5 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h similarity index 99% rename from c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h rename to c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h index a9485d26fb..9a808c50ed 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_PHASE_BIASES.h b/c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_PHASE_BIASES.h rename to c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h index 14a8d38ee9..41e79bc29b 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_PHASE_BIASES.h +++ b/c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_SATELLITE_APC.h b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_SATELLITE_APC.h rename to c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h index c2af8214c4..3684177291 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_SATELLITE_APC.h +++ b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_SATELLITE_APC_DEP.h b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h similarity index 99% rename from c/include/libsbp/v4/ssr/MSG_SSR_SATELLITE_APC_DEP.h rename to c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h index a648a25c9f..c2df8f675b 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_SATELLITE_APC_DEP.h +++ b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION.h b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION.h rename to c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION.h index 7d386a5e49..e5653dca44 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION.h +++ b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION_DEP.h b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION_DEP.h rename to c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h index 49dd93146f..d7918baa16 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION_DEP.h +++ b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h similarity index 98% rename from c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h rename to c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h index c059d6969c..ebdbc8040e 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h @@ -26,9 +26,9 @@ #include #include +#include +#include #include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_TILE_DEFINITION.h b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION.h similarity index 99% rename from c/include/libsbp/v4/ssr/MSG_SSR_TILE_DEFINITION.h rename to c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION.h index 95982a2410..1f34d62cfd 100644 --- a/c/include/libsbp/v4/ssr/MSG_SSR_TILE_DEFINITION.h +++ b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h similarity index 100% rename from c/include/libsbp/v4/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h rename to c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h diff --git a/c/include/libsbp/v4/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h similarity index 100% rename from c/include/libsbp/v4/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h rename to c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h diff --git a/c/include/libsbp/v4/ssr/OrbitClockBound.h b/c/include/libsbp/ssr/OrbitClockBound.h similarity index 100% rename from c/include/libsbp/v4/ssr/OrbitClockBound.h rename to c/include/libsbp/ssr/OrbitClockBound.h diff --git a/c/include/libsbp/v4/ssr/OrbitClockBoundDegradation.h b/c/include/libsbp/ssr/OrbitClockBoundDegradation.h similarity index 100% rename from c/include/libsbp/v4/ssr/OrbitClockBoundDegradation.h rename to c/include/libsbp/ssr/OrbitClockBoundDegradation.h diff --git a/c/include/libsbp/v4/ssr/PhaseBiasesContent.h b/c/include/libsbp/ssr/PhaseBiasesContent.h similarity index 100% rename from c/include/libsbp/v4/ssr/PhaseBiasesContent.h rename to c/include/libsbp/ssr/PhaseBiasesContent.h diff --git a/c/include/libsbp/v4/ssr/STECHeader.h b/c/include/libsbp/ssr/STECHeader.h similarity index 99% rename from c/include/libsbp/v4/ssr/STECHeader.h rename to c/include/libsbp/ssr/STECHeader.h index 464f5be901..cc77e05773 100644 --- a/c/include/libsbp/v4/ssr/STECHeader.h +++ b/c/include/libsbp/ssr/STECHeader.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/STECHeaderDepA.h b/c/include/libsbp/ssr/STECHeaderDepA.h similarity index 99% rename from c/include/libsbp/v4/ssr/STECHeaderDepA.h rename to c/include/libsbp/ssr/STECHeaderDepA.h index 71a347b3c1..0aa6d72ae3 100644 --- a/c/include/libsbp/v4/ssr/STECHeaderDepA.h +++ b/c/include/libsbp/ssr/STECHeaderDepA.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/STECResidual.h b/c/include/libsbp/ssr/STECResidual.h similarity index 99% rename from c/include/libsbp/v4/ssr/STECResidual.h rename to c/include/libsbp/ssr/STECResidual.h index 579bce4c07..f5d872654e 100644 --- a/c/include/libsbp/v4/ssr/STECResidual.h +++ b/c/include/libsbp/ssr/STECResidual.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/STECResidualNoStd.h b/c/include/libsbp/ssr/STECResidualNoStd.h similarity index 99% rename from c/include/libsbp/v4/ssr/STECResidualNoStd.h rename to c/include/libsbp/ssr/STECResidualNoStd.h index 661d45a9f5..5156b78ca7 100644 --- a/c/include/libsbp/v4/ssr/STECResidualNoStd.h +++ b/c/include/libsbp/ssr/STECResidualNoStd.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/STECSatElement.h b/c/include/libsbp/ssr/STECSatElement.h similarity index 99% rename from c/include/libsbp/v4/ssr/STECSatElement.h rename to c/include/libsbp/ssr/STECSatElement.h index 6ec0a74d8f..18e954bb51 100644 --- a/c/include/libsbp/v4/ssr/STECSatElement.h +++ b/c/include/libsbp/ssr/STECSatElement.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/STECSatElementIntegrity.h b/c/include/libsbp/ssr/STECSatElementIntegrity.h similarity index 99% rename from c/include/libsbp/v4/ssr/STECSatElementIntegrity.h rename to c/include/libsbp/ssr/STECSatElementIntegrity.h index d157c571eb..01863e043d 100644 --- a/c/include/libsbp/v4/ssr/STECSatElementIntegrity.h +++ b/c/include/libsbp/ssr/STECSatElementIntegrity.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/SatelliteAPC.h b/c/include/libsbp/ssr/SatelliteAPC.h similarity index 99% rename from c/include/libsbp/v4/ssr/SatelliteAPC.h rename to c/include/libsbp/ssr/SatelliteAPC.h index dee1ab2ea0..6fbc9a20b7 100644 --- a/c/include/libsbp/v4/ssr/SatelliteAPC.h +++ b/c/include/libsbp/ssr/SatelliteAPC.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/ssr/TroposphericDelayCorrection.h b/c/include/libsbp/ssr/TroposphericDelayCorrection.h similarity index 100% rename from c/include/libsbp/v4/ssr/TroposphericDelayCorrection.h rename to c/include/libsbp/ssr/TroposphericDelayCorrection.h diff --git a/c/include/libsbp/v4/ssr/TroposphericDelayCorrectionNoStd.h b/c/include/libsbp/ssr/TroposphericDelayCorrectionNoStd.h similarity index 100% rename from c/include/libsbp/v4/ssr/TroposphericDelayCorrectionNoStd.h rename to c/include/libsbp/ssr/TroposphericDelayCorrectionNoStd.h diff --git a/c/include/libsbp/system.h b/c/include/libsbp/system.h index aae16fb22e..d708a89fe0 100644 --- a/c/include/libsbp/system.h +++ b/c/include/libsbp/system.h @@ -15,9 +15,22 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_SYSTEM_MESSAGES_H -#define LIBSBP_SYSTEM_MESSAGES_H +#ifndef LIBSBP_V4_SYSTEM_MESSAGES_H +#define LIBSBP_V4_SYSTEM_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_SYSTEM_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_SYSTEM_MESSAGES_H */ diff --git a/c/include/libsbp/v4/system/MSG_CSAC_TELEMETRY.h b/c/include/libsbp/system/MSG_CSAC_TELEMETRY.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_CSAC_TELEMETRY.h rename to c/include/libsbp/system/MSG_CSAC_TELEMETRY.h diff --git a/c/include/libsbp/v4/system/MSG_CSAC_TELEMETRY_LABELS.h b/c/include/libsbp/system/MSG_CSAC_TELEMETRY_LABELS.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_CSAC_TELEMETRY_LABELS.h rename to c/include/libsbp/system/MSG_CSAC_TELEMETRY_LABELS.h diff --git a/c/include/libsbp/v4/system/MSG_DGNSS_STATUS.h b/c/include/libsbp/system/MSG_DGNSS_STATUS.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_DGNSS_STATUS.h rename to c/include/libsbp/system/MSG_DGNSS_STATUS.h diff --git a/c/include/libsbp/v4/system/MSG_GNSS_TIME_OFFSET.h b/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_GNSS_TIME_OFFSET.h rename to c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h diff --git a/c/include/libsbp/v4/system/MSG_GROUP_META.h b/c/include/libsbp/system/MSG_GROUP_META.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_GROUP_META.h rename to c/include/libsbp/system/MSG_GROUP_META.h diff --git a/c/include/libsbp/v4/system/MSG_HEARTBEAT.h b/c/include/libsbp/system/MSG_HEARTBEAT.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_HEARTBEAT.h rename to c/include/libsbp/system/MSG_HEARTBEAT.h diff --git a/c/include/libsbp/v4/system/MSG_INS_STATUS.h b/c/include/libsbp/system/MSG_INS_STATUS.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_INS_STATUS.h rename to c/include/libsbp/system/MSG_INS_STATUS.h diff --git a/c/include/libsbp/v4/system/MSG_INS_UPDATES.h b/c/include/libsbp/system/MSG_INS_UPDATES.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_INS_UPDATES.h rename to c/include/libsbp/system/MSG_INS_UPDATES.h diff --git a/c/include/libsbp/v4/system/MSG_PPS_TIME.h b/c/include/libsbp/system/MSG_PPS_TIME.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_PPS_TIME.h rename to c/include/libsbp/system/MSG_PPS_TIME.h diff --git a/c/include/libsbp/v4/system/MSG_SENSOR_AID_EVENT.h b/c/include/libsbp/system/MSG_SENSOR_AID_EVENT.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_SENSOR_AID_EVENT.h rename to c/include/libsbp/system/MSG_SENSOR_AID_EVENT.h diff --git a/c/include/libsbp/v4/system/MSG_STARTUP.h b/c/include/libsbp/system/MSG_STARTUP.h similarity index 100% rename from c/include/libsbp/v4/system/MSG_STARTUP.h rename to c/include/libsbp/system/MSG_STARTUP.h diff --git a/c/include/libsbp/v4/system/MSG_STATUS_JOURNAL.h b/c/include/libsbp/system/MSG_STATUS_JOURNAL.h similarity index 99% rename from c/include/libsbp/v4/system/MSG_STATUS_JOURNAL.h rename to c/include/libsbp/system/MSG_STATUS_JOURNAL.h index 2786052eaa..6b1c4eba87 100644 --- a/c/include/libsbp/v4/system/MSG_STATUS_JOURNAL.h +++ b/c/include/libsbp/system/MSG_STATUS_JOURNAL.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/system/MSG_STATUS_REPORT.h b/c/include/libsbp/system/MSG_STATUS_REPORT.h similarity index 99% rename from c/include/libsbp/v4/system/MSG_STATUS_REPORT.h rename to c/include/libsbp/system/MSG_STATUS_REPORT.h index 995cf095ac..5a045fac29 100644 --- a/c/include/libsbp/v4/system/MSG_STATUS_REPORT.h +++ b/c/include/libsbp/system/MSG_STATUS_REPORT.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/system/StatusJournalItem.h b/c/include/libsbp/system/StatusJournalItem.h similarity index 99% rename from c/include/libsbp/v4/system/StatusJournalItem.h rename to c/include/libsbp/system/StatusJournalItem.h index b55550215a..610535c9be 100644 --- a/c/include/libsbp/v4/system/StatusJournalItem.h +++ b/c/include/libsbp/system/StatusJournalItem.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/system/SubSystemReport.h b/c/include/libsbp/system/SubSystemReport.h similarity index 100% rename from c/include/libsbp/v4/system/SubSystemReport.h rename to c/include/libsbp/system/SubSystemReport.h diff --git a/c/include/libsbp/telemetry.h b/c/include/libsbp/telemetry.h index 3ced3a940e..c4b9e700d4 100644 --- a/c/include/libsbp/telemetry.h +++ b/c/include/libsbp/telemetry.h @@ -15,9 +15,9 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_TELEMETRY_MESSAGES_H -#define LIBSBP_TELEMETRY_MESSAGES_H +#ifndef LIBSBP_V4_TELEMETRY_MESSAGES_H +#define LIBSBP_V4_TELEMETRY_MESSAGES_H +#include +#include -#include - -#endif /* LIBSBP_TELEMETRY_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_TELEMETRY_MESSAGES_H */ diff --git a/c/include/libsbp/v4/telemetry/MSG_TEL_SV.h b/c/include/libsbp/telemetry/MSG_TEL_SV.h similarity index 99% rename from c/include/libsbp/v4/telemetry/MSG_TEL_SV.h rename to c/include/libsbp/telemetry/MSG_TEL_SV.h index 6047bc2f36..a0df562b7e 100644 --- a/c/include/libsbp/v4/telemetry/MSG_TEL_SV.h +++ b/c/include/libsbp/telemetry/MSG_TEL_SV.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/telemetry/TelemetrySV.h b/c/include/libsbp/telemetry/TelemetrySV.h similarity index 99% rename from c/include/libsbp/v4/telemetry/TelemetrySV.h rename to c/include/libsbp/telemetry/TelemetrySV.h index f6bda2c5f8..2ef6c0ee51 100644 --- a/c/include/libsbp/v4/telemetry/TelemetrySV.h +++ b/c/include/libsbp/telemetry/TelemetrySV.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/tracking.h b/c/include/libsbp/tracking.h index cf57c757f9..dd3d1cd4e3 100644 --- a/c/include/libsbp/tracking.h +++ b/c/include/libsbp/tracking.h @@ -15,9 +15,22 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_TRACKING_MESSAGES_H -#define LIBSBP_TRACKING_MESSAGES_H +#ifndef LIBSBP_V4_TRACKING_MESSAGES_H +#define LIBSBP_V4_TRACKING_MESSAGES_H +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include - -#endif /* LIBSBP_TRACKING_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_TRACKING_MESSAGES_H */ diff --git a/c/include/libsbp/v4/tracking/MSG_MEASUREMENT_STATE.h b/c/include/libsbp/tracking/MSG_MEASUREMENT_STATE.h similarity index 99% rename from c/include/libsbp/v4/tracking/MSG_MEASUREMENT_STATE.h rename to c/include/libsbp/tracking/MSG_MEASUREMENT_STATE.h index 2375630f62..cf458f1d17 100644 --- a/c/include/libsbp/v4/tracking/MSG_MEASUREMENT_STATE.h +++ b/c/include/libsbp/tracking/MSG_MEASUREMENT_STATE.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_IQ.h b/c/include/libsbp/tracking/MSG_TRACKING_IQ.h similarity index 98% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_IQ.h rename to c/include/libsbp/tracking/MSG_TRACKING_IQ.h index 9f4ca58c55..77c77f8de6 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_IQ.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_IQ.h @@ -26,10 +26,10 @@ #include #include +#include +#include #include -#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_IQ_DEP_A.h b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h similarity index 98% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_IQ_DEP_A.h rename to c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h index b4c4a6e26c..d19e29a14f 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_IQ_DEP_A.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h @@ -26,10 +26,10 @@ #include #include +#include +#include #include -#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_IQ_DEP_B.h b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h similarity index 98% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_IQ_DEP_B.h rename to c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h index 62efdd0780..534c9d0836 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_IQ_DEP_B.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h @@ -26,10 +26,10 @@ #include #include +#include +#include #include -#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE.h similarity index 99% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_STATE.h rename to c/include/libsbp/tracking/MSG_TRACKING_STATE.h index 83802cf427..a6b99a9b8a 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DEP_A.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_A.h similarity index 99% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DEP_A.h rename to c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_A.h index 9afa0e3e4b..7dc71e4f8c 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DEP_A.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_A.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DEP_B.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_B.h similarity index 99% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DEP_B.h rename to c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_B.h index 519a6680b1..5f0854209f 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DEP_B.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_B.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h similarity index 98% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h rename to c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h index 4e1a7e30af..0bc284deda 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h similarity index 98% rename from c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h rename to c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h index 15ae573870..371619ebb2 100644 --- a/c/include/libsbp/v4/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h @@ -26,10 +26,10 @@ #include #include +#include +#include +#include #include -#include -#include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/tracking/MeasurementState.h b/c/include/libsbp/tracking/MeasurementState.h similarity index 99% rename from c/include/libsbp/v4/tracking/MeasurementState.h rename to c/include/libsbp/tracking/MeasurementState.h index b8c6c21211..d4cad2594e 100644 --- a/c/include/libsbp/v4/tracking/MeasurementState.h +++ b/c/include/libsbp/tracking/MeasurementState.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/tracking/TrackingChannelCorrelation.h b/c/include/libsbp/tracking/TrackingChannelCorrelation.h similarity index 100% rename from c/include/libsbp/v4/tracking/TrackingChannelCorrelation.h rename to c/include/libsbp/tracking/TrackingChannelCorrelation.h diff --git a/c/include/libsbp/v4/tracking/TrackingChannelCorrelationDep.h b/c/include/libsbp/tracking/TrackingChannelCorrelationDep.h similarity index 100% rename from c/include/libsbp/v4/tracking/TrackingChannelCorrelationDep.h rename to c/include/libsbp/tracking/TrackingChannelCorrelationDep.h diff --git a/c/include/libsbp/v4/tracking/TrackingChannelState.h b/c/include/libsbp/tracking/TrackingChannelState.h similarity index 99% rename from c/include/libsbp/v4/tracking/TrackingChannelState.h rename to c/include/libsbp/tracking/TrackingChannelState.h index 3dda751aac..c59003e715 100644 --- a/c/include/libsbp/v4/tracking/TrackingChannelState.h +++ b/c/include/libsbp/tracking/TrackingChannelState.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/tracking/TrackingChannelStateDepA.h b/c/include/libsbp/tracking/TrackingChannelStateDepA.h similarity index 100% rename from c/include/libsbp/v4/tracking/TrackingChannelStateDepA.h rename to c/include/libsbp/tracking/TrackingChannelStateDepA.h diff --git a/c/include/libsbp/v4/tracking/TrackingChannelStateDepB.h b/c/include/libsbp/tracking/TrackingChannelStateDepB.h similarity index 99% rename from c/include/libsbp/v4/tracking/TrackingChannelStateDepB.h rename to c/include/libsbp/tracking/TrackingChannelStateDepB.h index 91cf0babdd..80374744a7 100644 --- a/c/include/libsbp/v4/tracking/TrackingChannelStateDepB.h +++ b/c/include/libsbp/tracking/TrackingChannelStateDepB.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/user.h b/c/include/libsbp/user.h index 777b2e509f..24c0cd977d 100644 --- a/c/include/libsbp/user.h +++ b/c/include/libsbp/user.h @@ -15,9 +15,8 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_USER_MESSAGES_H -#define LIBSBP_USER_MESSAGES_H +#ifndef LIBSBP_V4_USER_MESSAGES_H +#define LIBSBP_V4_USER_MESSAGES_H +#include -#include - -#endif /* LIBSBP_USER_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_USER_MESSAGES_H */ diff --git a/c/include/libsbp/v4/user/MSG_USER_DATA.h b/c/include/libsbp/user/MSG_USER_DATA.h similarity index 100% rename from c/include/libsbp/v4/user/MSG_USER_DATA.h rename to c/include/libsbp/user/MSG_USER_DATA.h diff --git a/c/include/libsbp/v4/acquisition.h b/c/include/libsbp/v4/acquisition.h index 3299b28e9d..e77e7fed06 100644 --- a/c/include/libsbp/v4/acquisition.h +++ b/c/include/libsbp/v4/acquisition.h @@ -11,19 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/acquisition.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_ACQUISITION_MESSAGES_H -#define LIBSBP_V4_ACQUISITION_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_ACQUISITION_MESSAGES_H +#define LIBSBP_ACQUISITION_MESSAGES_H -#endif /* LIBSBP_V4_ACQUISITION_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/acquisition.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_ACQUISITION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/api.h b/c/include/libsbp/v4/api.h index df224b19c4..e0029b60cf 100644 --- a/c/include/libsbp/v4/api.h +++ b/c/include/libsbp/v4/api.h @@ -13,7 +13,7 @@ #ifndef LIBSBP_V4_API_H #define LIBSBP_V4_API_H -#include +#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/v4/bootload.h b/c/include/libsbp/v4/bootload.h index 727f5e2a65..3feb3ffd76 100644 --- a/c/include/libsbp/v4/bootload.h +++ b/c/include/libsbp/v4/bootload.h @@ -11,17 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/bootload.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_BOOTLOAD_MESSAGES_H -#define LIBSBP_V4_BOOTLOAD_MESSAGES_H -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_BOOTLOAD_MESSAGES_H +#define LIBSBP_BOOTLOAD_MESSAGES_H -#endif /* LIBSBP_V4_BOOTLOAD_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/bootload.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_BOOTLOAD_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/ext_events.h b/c/include/libsbp/v4/ext_events.h index 8870009ea8..6374cce9de 100644 --- a/c/include/libsbp/v4/ext_events.h +++ b/c/include/libsbp/v4/ext_events.h @@ -11,12 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/ext_events.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_EXT_EVENTS_MESSAGES_H -#define LIBSBP_V4_EXT_EVENTS_MESSAGES_H -#include +#ifndef LIBSBP_EXT_EVENTS_MESSAGES_H +#define LIBSBP_EXT_EVENTS_MESSAGES_H -#endif /* LIBSBP_V4_EXT_EVENTS_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/ext_events.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_EXT_EVENTS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/file_io.h b/c/include/libsbp/v4/file_io.h index 6f029827de..bb0011f90f 100644 --- a/c/include/libsbp/v4/file_io.h +++ b/c/include/libsbp/v4/file_io.h @@ -11,20 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/file_io.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_FILE_IO_MESSAGES_H -#define LIBSBP_V4_FILE_IO_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_FILE_IO_MESSAGES_H +#define LIBSBP_FILE_IO_MESSAGES_H -#endif /* LIBSBP_V4_FILE_IO_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/file_io.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_FILE_IO_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/flash.h b/c/include/libsbp/v4/flash.h index 7c1fc47bcd..d6fbb52bb9 100644 --- a/c/include/libsbp/v4/flash.h +++ b/c/include/libsbp/v4/flash.h @@ -11,21 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/flash.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_FLASH_MESSAGES_H -#define LIBSBP_V4_FLASH_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_FLASH_MESSAGES_H +#define LIBSBP_FLASH_MESSAGES_H -#endif /* LIBSBP_V4_FLASH_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/flash.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_FLASH_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/gnss.h b/c/include/libsbp/v4/gnss.h index 28218eef8c..bd17d1a4e7 100644 --- a/c/include/libsbp/v4/gnss.h +++ b/c/include/libsbp/v4/gnss.h @@ -11,18 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/gnss.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_GNSS_MESSAGES_H -#define LIBSBP_V4_GNSS_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_GNSS_MESSAGES_H +#define LIBSBP_GNSS_MESSAGES_H -#endif /* LIBSBP_V4_GNSS_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/gnss.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_GNSS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/imu.h b/c/include/libsbp/v4/imu.h index 55e766593c..877b540e9e 100644 --- a/c/include/libsbp/v4/imu.h +++ b/c/include/libsbp/v4/imu.h @@ -11,13 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/imu.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_IMU_MESSAGES_H -#define LIBSBP_V4_IMU_MESSAGES_H -#include -#include +#ifndef LIBSBP_IMU_MESSAGES_H +#define LIBSBP_IMU_MESSAGES_H -#endif /* LIBSBP_V4_IMU_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/imu.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_IMU_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/integrity.h b/c/include/libsbp/v4/integrity.h index feafbc1159..e183fdb8fe 100644 --- a/c/include/libsbp/v4/integrity.h +++ b/c/include/libsbp/v4/integrity.h @@ -11,19 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/integrity.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_INTEGRITY_MESSAGES_H -#define LIBSBP_V4_INTEGRITY_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_INTEGRITY_MESSAGES_H +#define LIBSBP_INTEGRITY_MESSAGES_H -#endif /* LIBSBP_V4_INTEGRITY_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/integrity.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_INTEGRITY_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/linux.h b/c/include/libsbp/v4/linux.h index 345fe540dd..91caefc031 100644 --- a/c/include/libsbp/v4/linux.h +++ b/c/include/libsbp/v4/linux.h @@ -11,22 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/linux.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_LINUX_MESSAGES_H -#define LIBSBP_V4_LINUX_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_LINUX_MESSAGES_H +#define LIBSBP_LINUX_MESSAGES_H -#endif /* LIBSBP_V4_LINUX_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/linux.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_LINUX_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/logging.h b/c/include/libsbp/v4/logging.h index c874e05bb7..97b48b1908 100644 --- a/c/include/libsbp/v4/logging.h +++ b/c/include/libsbp/v4/logging.h @@ -11,14 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/logging.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_LOGGING_MESSAGES_H -#define LIBSBP_V4_LOGGING_MESSAGES_H -#include -#include -#include +#ifndef LIBSBP_LOGGING_MESSAGES_H +#define LIBSBP_LOGGING_MESSAGES_H -#endif /* LIBSBP_V4_LOGGING_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/logging.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_LOGGING_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/mag.h b/c/include/libsbp/v4/mag.h index 3dff0c8b7d..9b66ef05e6 100644 --- a/c/include/libsbp/v4/mag.h +++ b/c/include/libsbp/v4/mag.h @@ -11,12 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/mag.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_MAG_MESSAGES_H -#define LIBSBP_V4_MAG_MESSAGES_H -#include +#ifndef LIBSBP_MAG_MESSAGES_H +#define LIBSBP_MAG_MESSAGES_H -#endif /* LIBSBP_V4_MAG_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/mag.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_MAG_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/navigation.h b/c/include/libsbp/v4/navigation.h index 9f944d0462..6354edae1d 100644 --- a/c/include/libsbp/v4/navigation.h +++ b/c/include/libsbp/v4/navigation.h @@ -11,53 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/navigation.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_NAVIGATION_MESSAGES_H -#define LIBSBP_V4_NAVIGATION_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_NAVIGATION_MESSAGES_H +#define LIBSBP_NAVIGATION_MESSAGES_H -#endif /* LIBSBP_V4_NAVIGATION_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/navigation.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_NAVIGATION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/navigation/MSG_COG_SOG.h b/c/include/libsbp/v4/navigation/MSG_COG_SOG.h deleted file mode 100644 index 8fca75e68d..0000000000 --- a/c/include/libsbp/v4/navigation/MSG_COG_SOG.h +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Copyright (C) 2015-2021 Swift Navigation Inc. - * Contact: https://support.swiftnav.com - * - * This source is subject to the license found in the file 'LICENSE' which must - * be be distributed together with this source. All other rights reserved. - * - * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, - * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. - */ - -/***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/navigation.yaml - * with generate.py. Please do not hand edit! - *****************************************************************************/ - -#ifndef LIBSBP_V4_NAVIGATION_MSG_COG_SOG_H -#define LIBSBP_V4_NAVIGATION_MSG_COG_SOG_H - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/****************************************************************************** - * - * SBP_MSG_COG_SOG - * - *****************************************************************************/ -/** Course over ground and speed over ground - * - * This message reports the receiver course over ground (COG) and speed over - * ground (SOG) based on the horizontal (N-E) components of the NED velocity - * vector. The NED coordinate system is defined as the local WGS84 tangent plane - * centered at the current position. The full GPS time is given by the preceding - * MSG_GPS_TIME with the matching time-of-week (tow). - */ -typedef struct { - /** - * GPS Time of Week [ms] - */ - u32 tow; - - /** - * Course over ground relative to local north [microdegrees] - */ - u32 cog; - - /** - * Speed over ground [mm/s] - */ - u32 sog; - - /** - * Course over ground estimated standard deviation [microdegrees] - */ - u32 cog_accuracy; - - /** - * Speed over ground estimated standard deviation [mm/s] - */ - u32 sog_accuracy; - - /** - * Status flags - */ - u8 flags; -} sbp_msg_cog_sog_t; - -/** - * Get encoded size of an instance of sbp_msg_cog_sog_t - * - * @param msg sbp_msg_cog_sog_t instance - * @return Length of on-wire representation - */ -static inline size_t sbp_msg_cog_sog_encoded_len(const sbp_msg_cog_sog_t *msg) { - (void)msg; - return SBP_MSG_COG_SOG_ENCODED_LEN; -} - -/** - * Encode an instance of sbp_msg_cog_sog_t to wire representation - * - * This function encodes the given instance in to the user provided buffer. The - * buffer provided to this function must be large enough to store the encoded - * message otherwise it will return SBP_ENCODE_ERROR without writing anything to - * the buffer. - * - * Specify the length of the destination buffer in the \p len parameter. If - * non-null the number of bytes written to the buffer will be returned in \p - * n_written. - * - * @param buf Destination buffer - * @param len Length of \p buf - * @param n_written If not null, on success will be set to the number of bytes - * written to \p buf - * @param msg Instance of sbp_msg_cog_sog_t to encode - * @return SBP_OK on success, or other libsbp error code - */ -SBP_EXPORT s8 sbp_msg_cog_sog_encode(uint8_t *buf, uint8_t len, - uint8_t *n_written, - const sbp_msg_cog_sog_t *msg); - -/** - * Decode an instance of sbp_msg_cog_sog_t from wire representation - * - * This function decodes the wire representation of a sbp_msg_cog_sog_t message - * to the given instance. The caller must specify the length of the buffer in - * the \p len parameter. If non-null the number of bytes read from the buffer - * will be returned in \p n_read. - * - * @param buf Wire representation of the sbp_msg_cog_sog_t instance - * @param len Length of \p buf - * @param n_read If not null, on success will be set to the number of bytes read - * from \p buf - * @param msg Destination - * @return SBP_OK on success, or other libsbp error code - */ -SBP_EXPORT s8 sbp_msg_cog_sog_decode(const uint8_t *buf, uint8_t len, - uint8_t *n_read, sbp_msg_cog_sog_t *msg); -/** - * Send an instance of sbp_msg_cog_sog_t with the given write function - * - * An equivalent of #sbp_message_send which operates specifically on - * sbp_msg_cog_sog_t - * - * The given message will be encoded to wire representation and passed in to the - * given write function callback. The write callback will be called several - * times for each invocation of this function. - * - * @param s SBP state - * @param sender_id SBP sender id - * @param msg Message to send - * @param write Write function - * @return SBP_OK on success, or other libsbp error code - */ -SBP_EXPORT s8 sbp_msg_cog_sog_send(sbp_state_t *s, u16 sender_id, - const sbp_msg_cog_sog_t *msg, - sbp_write_fn_t write); - -/** - * Compare two instances of sbp_msg_cog_sog_t - * - * The two instances will be compared and a value returned consistent with the - * return codes of comparison functions from the C standard library - * - * 0 will be returned if \p a and \p b are considered equal - * A value less than 0 will be returned if \p a is considered to be less than \p - * b A value greater than 0 will be returned if \p b is considered to be greater - * than \p b - * - * @param a sbp_msg_cog_sog_t instance - * @param b sbp_msg_cog_sog_t instance - * @return 0, <0, >0 - */ -SBP_EXPORT int sbp_msg_cog_sog_cmp(const sbp_msg_cog_sog_t *a, - const sbp_msg_cog_sog_t *b); - -#ifdef __cplusplus -} - -static inline bool operator==(const sbp_msg_cog_sog_t &lhs, - const sbp_msg_cog_sog_t &rhs) { - return sbp_msg_cog_sog_cmp(&lhs, &rhs) == 0; -} - -static inline bool operator!=(const sbp_msg_cog_sog_t &lhs, - const sbp_msg_cog_sog_t &rhs) { - return sbp_msg_cog_sog_cmp(&lhs, &rhs) != 0; -} - -static inline bool operator<(const sbp_msg_cog_sog_t &lhs, - const sbp_msg_cog_sog_t &rhs) { - return sbp_msg_cog_sog_cmp(&lhs, &rhs) < 0; -} - -static inline bool operator<=(const sbp_msg_cog_sog_t &lhs, - const sbp_msg_cog_sog_t &rhs) { - return sbp_msg_cog_sog_cmp(&lhs, &rhs) <= 0; -} - -static inline bool operator>(const sbp_msg_cog_sog_t &lhs, - const sbp_msg_cog_sog_t &rhs) { - return sbp_msg_cog_sog_cmp(&lhs, &rhs) > 0; -} - -static inline bool operator>=(const sbp_msg_cog_sog_t &lhs, - const sbp_msg_cog_sog_t &rhs) { - return sbp_msg_cog_sog_cmp(&lhs, &rhs) >= 0; -} - -#endif // ifdef __cplusplus - -#endif /* LIBSBP_V4_NAVIGATION_MSG_COG_SOG_H */ diff --git a/c/include/libsbp/v4/ndb.h b/c/include/libsbp/v4/ndb.h index dfadcb4653..c00e0dbefb 100644 --- a/c/include/libsbp/v4/ndb.h +++ b/c/include/libsbp/v4/ndb.h @@ -11,12 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/ndb.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_NDB_MESSAGES_H -#define LIBSBP_V4_NDB_MESSAGES_H -#include +#ifndef LIBSBP_NDB_MESSAGES_H +#define LIBSBP_NDB_MESSAGES_H -#endif /* LIBSBP_V4_NDB_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/ndb.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_NDB_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/observation.h b/c/include/libsbp/v4/observation.h index dfcd0c592f..6d1a4e16ac 100644 --- a/c/include/libsbp/v4/observation.h +++ b/c/include/libsbp/v4/observation.h @@ -11,65 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/observation.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_OBSERVATION_MESSAGES_H -#define LIBSBP_V4_OBSERVATION_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_OBSERVATION_MESSAGES_H +#define LIBSBP_OBSERVATION_MESSAGES_H -#endif /* LIBSBP_V4_OBSERVATION_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/observation.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_OBSERVATION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/orientation.h b/c/include/libsbp/v4/orientation.h index 033b500e72..cb20b8ebcb 100644 --- a/c/include/libsbp/v4/orientation.h +++ b/c/include/libsbp/v4/orientation.h @@ -11,15 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/orientation.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_ORIENTATION_MESSAGES_H -#define LIBSBP_V4_ORIENTATION_MESSAGES_H -#include -#include -#include -#include +#ifndef LIBSBP_ORIENTATION_MESSAGES_H +#define LIBSBP_ORIENTATION_MESSAGES_H -#endif /* LIBSBP_V4_ORIENTATION_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/orientation.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_ORIENTATION_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/piksi.h b/c/include/libsbp/v4/piksi.h index 8a4eb81148..eff9001eb4 100644 --- a/c/include/libsbp/v4/piksi.h +++ b/c/include/libsbp/v4/piksi.h @@ -11,40 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/piksi.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_PIKSI_MESSAGES_H -#define LIBSBP_V4_PIKSI_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_PIKSI_MESSAGES_H +#define LIBSBP_PIKSI_MESSAGES_H -#endif /* LIBSBP_V4_PIKSI_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/piksi.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_PIKSI_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/sbas.h b/c/include/libsbp/v4/sbas.h index 17f6360d64..3e09e8b727 100644 --- a/c/include/libsbp/v4/sbas.h +++ b/c/include/libsbp/v4/sbas.h @@ -11,12 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/sbas.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_SBAS_MESSAGES_H -#define LIBSBP_V4_SBAS_MESSAGES_H -#include +#ifndef LIBSBP_SBAS_MESSAGES_H +#define LIBSBP_SBAS_MESSAGES_H -#endif /* LIBSBP_V4_SBAS_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/sbas.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_SBAS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/settings.h b/c/include/libsbp/v4/settings.h index f9bb17f05d..7d2260f398 100644 --- a/c/include/libsbp/v4/settings.h +++ b/c/include/libsbp/v4/settings.h @@ -11,21 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/settings.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_SETTINGS_MESSAGES_H -#define LIBSBP_V4_SETTINGS_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_SETTINGS_MESSAGES_H +#define LIBSBP_SETTINGS_MESSAGES_H -#endif /* LIBSBP_V4_SETTINGS_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/settings.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_SETTINGS_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/signing.h b/c/include/libsbp/v4/signing.h index 51c10457d1..b6aa6f9e6f 100644 --- a/c/include/libsbp/v4/signing.h +++ b/c/include/libsbp/v4/signing.h @@ -11,22 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/signing.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_SIGNING_MESSAGES_H -#define LIBSBP_V4_SIGNING_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_SIGNING_MESSAGES_H +#define LIBSBP_SIGNING_MESSAGES_H -#endif /* LIBSBP_V4_SIGNING_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/signing.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_SIGNING_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/solution_meta.h b/c/include/libsbp/v4/solution_meta.h index 88ccec0e01..eb591e0e2d 100644 --- a/c/include/libsbp/v4/solution_meta.h +++ b/c/include/libsbp/v4/solution_meta.h @@ -11,17 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/solution_meta.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_SOLUTION_META_MESSAGES_H -#define LIBSBP_V4_SOLUTION_META_MESSAGES_H -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_SOLUTION_META_MESSAGES_H +#define LIBSBP_SOLUTION_META_MESSAGES_H -#endif /* LIBSBP_V4_SOLUTION_META_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/solution_meta.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_SOLUTION_META_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/ssr.h b/c/include/libsbp/v4/ssr.h index d05fa21d6f..52ae942706 100644 --- a/c/include/libsbp/v4/ssr.h +++ b/c/include/libsbp/v4/ssr.h @@ -11,49 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/ssr.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_SSR_MESSAGES_H -#define LIBSBP_V4_SSR_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_SSR_MESSAGES_H +#define LIBSBP_SSR_MESSAGES_H -#endif /* LIBSBP_V4_SSR_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/ssr.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_SSR_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/system.h b/c/include/libsbp/v4/system.h index 58777cba97..ab4a2cb543 100644 --- a/c/include/libsbp/v4/system.h +++ b/c/include/libsbp/v4/system.h @@ -11,26 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/system.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_SYSTEM_MESSAGES_H -#define LIBSBP_V4_SYSTEM_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_SYSTEM_MESSAGES_H +#define LIBSBP_SYSTEM_MESSAGES_H -#endif /* LIBSBP_V4_SYSTEM_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/system.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_SYSTEM_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/telemetry.h b/c/include/libsbp/v4/telemetry.h index db2d1089cb..751dbc7f3a 100644 --- a/c/include/libsbp/v4/telemetry.h +++ b/c/include/libsbp/v4/telemetry.h @@ -11,13 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/telemetry.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_TELEMETRY_MESSAGES_H -#define LIBSBP_V4_TELEMETRY_MESSAGES_H -#include -#include +#ifndef LIBSBP_TELEMETRY_MESSAGES_H +#define LIBSBP_TELEMETRY_MESSAGES_H -#endif /* LIBSBP_V4_TELEMETRY_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/telemetry.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_TELEMETRY_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/tracking.h b/c/include/libsbp/v4/tracking.h index b2f48c7c9c..5bce333400 100644 --- a/c/include/libsbp/v4/tracking.h +++ b/c/include/libsbp/v4/tracking.h @@ -11,26 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/tracking.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_TRACKING_MESSAGES_H -#define LIBSBP_V4_TRACKING_MESSAGES_H -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef LIBSBP_TRACKING_MESSAGES_H +#define LIBSBP_TRACKING_MESSAGES_H -#endif /* LIBSBP_V4_TRACKING_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/tracking.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_TRACKING_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/user.h b/c/include/libsbp/v4/user.h index 801dbe71be..4b1c6f4d5f 100644 --- a/c/include/libsbp/v4/user.h +++ b/c/include/libsbp/v4/user.h @@ -11,12 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/user.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_USER_MESSAGES_H -#define LIBSBP_V4_USER_MESSAGES_H -#include +#ifndef LIBSBP_USER_MESSAGES_H +#define LIBSBP_USER_MESSAGES_H -#endif /* LIBSBP_V4_USER_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/user.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_USER_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/v4/vehicle.h b/c/include/libsbp/v4/vehicle.h index 5073ae494a..71fe6ba287 100644 --- a/c/include/libsbp/v4/vehicle.h +++ b/c/include/libsbp/v4/vehicle.h @@ -11,13 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/swiftnav/sbp/vehicle.yaml + * Automatically generated from yaml/ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_VEHICLE_MESSAGES_H -#define LIBSBP_V4_VEHICLE_MESSAGES_H -#include -#include +#ifndef LIBSBP_VEHICLE_MESSAGES_H +#define LIBSBP_VEHICLE_MESSAGES_H -#endif /* LIBSBP_V4_VEHICLE_MESSAGES_H */ +#include + +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/vehicle.h instead. Access to SBP types via this header file " + " will be removed in version 6.") + +#include + +#endif /* LIBSBP_VEHICLE_MESSAGES_H */ \ No newline at end of file diff --git a/c/include/libsbp/vehicle.h b/c/include/libsbp/vehicle.h index 8fc4d2df86..4f7e149a47 100644 --- a/c/include/libsbp/vehicle.h +++ b/c/include/libsbp/vehicle.h @@ -15,9 +15,9 @@ * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_VEHICLE_MESSAGES_H -#define LIBSBP_VEHICLE_MESSAGES_H +#ifndef LIBSBP_V4_VEHICLE_MESSAGES_H +#define LIBSBP_V4_VEHICLE_MESSAGES_H +#include +#include -#include - -#endif /* LIBSBP_VEHICLE_MESSAGES_H */ \ No newline at end of file +#endif /* LIBSBP_V4_VEHICLE_MESSAGES_H */ diff --git a/c/include/libsbp/v4/vehicle/MSG_ODOMETRY.h b/c/include/libsbp/vehicle/MSG_ODOMETRY.h similarity index 100% rename from c/include/libsbp/v4/vehicle/MSG_ODOMETRY.h rename to c/include/libsbp/vehicle/MSG_ODOMETRY.h diff --git a/c/include/libsbp/v4/vehicle/MSG_WHEELTICK.h b/c/include/libsbp/vehicle/MSG_WHEELTICK.h similarity index 100% rename from c/include/libsbp/v4/vehicle/MSG_WHEELTICK.h rename to c/include/libsbp/vehicle/MSG_WHEELTICK.h diff --git a/c/src/include/libsbp/internal/v4/acquisition.h b/c/src/include/libsbp/internal/v4/acquisition.h index 4ecae417c8..863a68025b 100644 --- a/c/src/include/libsbp/internal/v4/acquisition.h +++ b/c/src/include/libsbp/internal/v4/acquisition.h @@ -20,9 +20,9 @@ #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/bootload.h b/c/src/include/libsbp/internal/v4/bootload.h index 5e85245470..51f2449e74 100644 --- a/c/src/include/libsbp/internal/v4/bootload.h +++ b/c/src/include/libsbp/internal/v4/bootload.h @@ -20,8 +20,8 @@ #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/ext_events.h b/c/src/include/libsbp/internal/v4/ext_events.h index d6ff6e464e..53b27a34bb 100644 --- a/c/src/include/libsbp/internal/v4/ext_events.h +++ b/c/src/include/libsbp/internal/v4/ext_events.h @@ -20,8 +20,8 @@ #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/file_io.h b/c/src/include/libsbp/internal/v4/file_io.h index 2b710f55ef..c094cd7972 100644 --- a/c/src/include/libsbp/internal/v4/file_io.h +++ b/c/src/include/libsbp/internal/v4/file_io.h @@ -20,8 +20,8 @@ #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/flash.h b/c/src/include/libsbp/internal/v4/flash.h index 4d30618457..fd39155770 100644 --- a/c/src/include/libsbp/internal/v4/flash.h +++ b/c/src/include/libsbp/internal/v4/flash.h @@ -20,8 +20,8 @@ #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/gnss.h b/c/src/include/libsbp/internal/v4/gnss.h index 83a805a1c8..74f421456b 100644 --- a/c/src/include/libsbp/internal/v4/gnss.h +++ b/c/src/include/libsbp/internal/v4/gnss.h @@ -20,8 +20,8 @@ #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/imu.h b/c/src/include/libsbp/internal/v4/imu.h index 01391e8313..a947878cf7 100644 --- a/c/src/include/libsbp/internal/v4/imu.h +++ b/c/src/include/libsbp/internal/v4/imu.h @@ -20,8 +20,8 @@ #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/integrity.h b/c/src/include/libsbp/internal/v4/integrity.h index cba3c3c485..4be25c6065 100644 --- a/c/src/include/libsbp/internal/v4/integrity.h +++ b/c/src/include/libsbp/internal/v4/integrity.h @@ -20,9 +20,9 @@ #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/linux.h b/c/src/include/libsbp/internal/v4/linux.h index 4932c7c5c1..a270878361 100644 --- a/c/src/include/libsbp/internal/v4/linux.h +++ b/c/src/include/libsbp/internal/v4/linux.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/logging.h b/c/src/include/libsbp/internal/v4/logging.h index 8dee23f813..e44f5f6aa0 100644 --- a/c/src/include/libsbp/internal/v4/logging.h +++ b/c/src/include/libsbp/internal/v4/logging.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/mag.h b/c/src/include/libsbp/internal/v4/mag.h index ec39f9fda7..8a835c0eb6 100644 --- a/c/src/include/libsbp/internal/v4/mag.h +++ b/c/src/include/libsbp/internal/v4/mag.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/navigation.h b/c/src/include/libsbp/internal/v4/navigation.h index d59c8d8a3d..3ff8ce5065 100644 --- a/c/src/include/libsbp/internal/v4/navigation.h +++ b/c/src/include/libsbp/internal/v4/navigation.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/ndb.h b/c/src/include/libsbp/internal/v4/ndb.h index dda84f4e03..53927199d4 100644 --- a/c/src/include/libsbp/internal/v4/ndb.h +++ b/c/src/include/libsbp/internal/v4/ndb.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/observation.h b/c/src/include/libsbp/internal/v4/observation.h index d4e1f4a3ea..77f2f7b5b0 100644 --- a/c/src/include/libsbp/internal/v4/observation.h +++ b/c/src/include/libsbp/internal/v4/observation.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/orientation.h b/c/src/include/libsbp/internal/v4/orientation.h index 2a6ebbe674..03fbab74c6 100644 --- a/c/src/include/libsbp/internal/v4/orientation.h +++ b/c/src/include/libsbp/internal/v4/orientation.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/piksi.h b/c/src/include/libsbp/internal/v4/piksi.h index 3dde2ac400..2e1d5c711b 100644 --- a/c/src/include/libsbp/internal/v4/piksi.h +++ b/c/src/include/libsbp/internal/v4/piksi.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/sbas.h b/c/src/include/libsbp/internal/v4/sbas.h index 05e700b3a4..636f9a326a 100644 --- a/c/src/include/libsbp/internal/v4/sbas.h +++ b/c/src/include/libsbp/internal/v4/sbas.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/settings.h b/c/src/include/libsbp/internal/v4/settings.h index 42e146c4de..dabf001f81 100644 --- a/c/src/include/libsbp/internal/v4/settings.h +++ b/c/src/include/libsbp/internal/v4/settings.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/signing.h b/c/src/include/libsbp/internal/v4/signing.h index 99712b0486..d79306f3dc 100644 --- a/c/src/include/libsbp/internal/v4/signing.h +++ b/c/src/include/libsbp/internal/v4/signing.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/solution_meta.h b/c/src/include/libsbp/internal/v4/solution_meta.h index 2275704532..9624378094 100644 --- a/c/src/include/libsbp/internal/v4/solution_meta.h +++ b/c/src/include/libsbp/internal/v4/solution_meta.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/ssr.h b/c/src/include/libsbp/internal/v4/ssr.h index 8f6b7377b1..717ca5570e 100644 --- a/c/src/include/libsbp/internal/v4/ssr.h +++ b/c/src/include/libsbp/internal/v4/ssr.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/system.h b/c/src/include/libsbp/internal/v4/system.h index 7f0ee4abfc..58a1a9c2c7 100644 --- a/c/src/include/libsbp/internal/v4/system.h +++ b/c/src/include/libsbp/internal/v4/system.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/telemetry.h b/c/src/include/libsbp/internal/v4/telemetry.h index 3a07726d85..62e449fd4b 100644 --- a/c/src/include/libsbp/internal/v4/telemetry.h +++ b/c/src/include/libsbp/internal/v4/telemetry.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/tracking.h b/c/src/include/libsbp/internal/v4/tracking.h index cf97348ebc..77a1bbc3a1 100644 --- a/c/src/include/libsbp/internal/v4/tracking.h +++ b/c/src/include/libsbp/internal/v4/tracking.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/user.h b/c/src/include/libsbp/internal/v4/user.h index c5fc7cfb5b..55ca9b6232 100644 --- a/c/src/include/libsbp/internal/v4/user.h +++ b/c/src/include/libsbp/internal/v4/user.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/vehicle.h b/c/src/include/libsbp/internal/v4/vehicle.h index e2dcdfaa0a..f8c3a2869a 100644 --- a/c/src/include/libsbp/internal/v4/vehicle.h +++ b/c/src/include/libsbp/internal/v4/vehicle.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/v4/acquisition.c b/c/src/v4/acquisition.c index f55d72ff94..f167d9890a 100644 --- a/c/src/v4/acquisition.c +++ b/c/src/v4/acquisition.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include bool sbp_msg_acq_result_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_acq_result_t *msg) { diff --git a/c/src/v4/bootload.c b/c/src/v4/bootload.c index 23fe1e306f..ccb8e434bd 100644 --- a/c/src/v4/bootload.c +++ b/c/src/v4/bootload.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include bool sbp_msg_bootloader_handshake_req_encode_internal( sbp_encode_ctx_t *ctx, const sbp_msg_bootloader_handshake_req_t *msg) { diff --git a/c/src/v4/ext_events.c b/c/src/v4/ext_events.c index 742873ad2e..934630e248 100644 --- a/c/src/v4/ext_events.c +++ b/c/src/v4/ext_events.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include bool sbp_msg_ext_event_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_ext_event_t *msg) { diff --git a/c/src/v4/file_io.c b/c/src/v4/file_io.c index c88e9b775b..4bc4ad2771 100644 --- a/c/src/v4/file_io.c +++ b/c/src/v4/file_io.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include void sbp_msg_fileio_read_req_filename_init(sbp_msg_fileio_read_req_t *msg) { sbp_null_terminated_string_init(&msg->filename); diff --git a/c/src/v4/flash.c b/c/src/v4/flash.c index 0750a8945d..5fd6352a78 100644 --- a/c/src/v4/flash.c +++ b/c/src/v4/flash.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include bool sbp_msg_flash_program_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_flash_program_t *msg) { diff --git a/c/src/v4/gnss.c b/c/src/v4/gnss.c index 0b77201d19..224dc37a23 100644 --- a/c/src/v4/gnss.c +++ b/c/src/v4/gnss.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include bool sbp_v4_gnss_signal_encode_internal(sbp_encode_ctx_t *ctx, const sbp_v4_gnss_signal_t *msg) { diff --git a/c/src/v4/imu.c b/c/src/v4/imu.c index 8f9a916155..56da420f94 100644 --- a/c/src/v4/imu.c +++ b/c/src/v4/imu.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include bool sbp_msg_imu_raw_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_imu_raw_t *msg) { diff --git a/c/src/v4/integrity.c b/c/src/v4/integrity.c index c5435157ee..aa9367e861 100644 --- a/c/src/v4/integrity.c +++ b/c/src/v4/integrity.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include bool sbp_integrity_ssr_header_encode_internal( sbp_encode_ctx_t *ctx, const sbp_integrity_ssr_header_t *msg) { diff --git a/c/src/v4/linux.c b/c/src/v4/linux.c index 94368d31d8..99041bddfc 100644 --- a/c/src/v4/linux.c +++ b/c/src/v4/linux.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include void sbp_msg_linux_cpu_state_dep_a_cmdline_init( sbp_msg_linux_cpu_state_dep_a_t *msg) { diff --git a/c/src/v4/logging.c b/c/src/v4/logging.c index 3c18cce602..6d07d932d3 100644 --- a/c/src/v4/logging.c +++ b/c/src/v4/logging.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include void sbp_msg_log_text_init(sbp_msg_log_t *msg) { sbp_unterminated_string_init(&msg->text); diff --git a/c/src/v4/mag.c b/c/src/v4/mag.c index c6f6f7384e..6b46711565 100644 --- a/c/src/v4/mag.c +++ b/c/src/v4/mag.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include bool sbp_msg_mag_raw_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_mag_raw_t *msg) { diff --git a/c/src/v4/navigation.c b/c/src/v4/navigation.c index 6987e6ec09..cf99f92216 100644 --- a/c/src/v4/navigation.c +++ b/c/src/v4/navigation.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include bool sbp_msg_gps_time_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_gps_time_t *msg) { diff --git a/c/src/v4/ndb.c b/c/src/v4/ndb.c index 0ae9ddff61..6e38171598 100644 --- a/c/src/v4/ndb.c +++ b/c/src/v4/ndb.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include bool sbp_msg_ndb_event_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_ndb_event_t *msg) { diff --git a/c/src/v4/observation.c b/c/src/v4/observation.c index 967b3eea5d..c33de87c79 100644 --- a/c/src/v4/observation.c +++ b/c/src/v4/observation.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include bool sbp_observation_header_encode_internal( sbp_encode_ctx_t *ctx, const sbp_observation_header_t *msg) { diff --git a/c/src/v4/orientation.c b/c/src/v4/orientation.c index 9523105dd9..55cd256ce5 100644 --- a/c/src/v4/orientation.c +++ b/c/src/v4/orientation.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include bool sbp_msg_baseline_heading_encode_internal( sbp_encode_ctx_t *ctx, const sbp_msg_baseline_heading_t *msg) { diff --git a/c/src/v4/piksi.c b/c/src/v4/piksi.c index 87160dccdb..ed012c2934 100644 --- a/c/src/v4/piksi.c +++ b/c/src/v4/piksi.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include bool sbp_msg_almanac_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_almanac_t *msg) { diff --git a/c/src/v4/sbas.c b/c/src/v4/sbas.c index 8d2ebd77f9..95d5a1f111 100644 --- a/c/src/v4/sbas.c +++ b/c/src/v4/sbas.c @@ -13,8 +13,8 @@ #include #include #include +#include #include -#include bool sbp_msg_sbas_raw_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_sbas_raw_t *msg) { diff --git a/c/src/v4/settings.c b/c/src/v4/settings.c index ef6b2e618c..bf8a88664f 100644 --- a/c/src/v4/settings.c +++ b/c/src/v4/settings.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_msg_settings_save_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_settings_save_t *msg) { diff --git a/c/src/v4/signing.c b/c/src/v4/signing.c index 27f5d2ffc2..5c6f3da7e8 100644 --- a/c/src/v4/signing.c +++ b/c/src/v4/signing.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_utc_time_encode_internal(sbp_encode_ctx_t *ctx, const sbp_utc_time_t *msg) { diff --git a/c/src/v4/solution_meta.c b/c/src/v4/solution_meta.c index 5f4b8b9df1..d32bca5b7d 100644 --- a/c/src/v4/solution_meta.c +++ b/c/src/v4/solution_meta.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_solution_input_type_encode_internal( sbp_encode_ctx_t *ctx, const sbp_solution_input_type_t *msg) { diff --git a/c/src/v4/ssr.c b/c/src/v4/ssr.c index 0b34711bd6..afbc10cfbc 100644 --- a/c/src/v4/ssr.c +++ b/c/src/v4/ssr.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_code_biases_content_encode_internal( sbp_encode_ctx_t *ctx, const sbp_code_biases_content_t *msg) { diff --git a/c/src/v4/system.c b/c/src/v4/system.c index 4a80719663..d8edd0b505 100644 --- a/c/src/v4/system.c +++ b/c/src/v4/system.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_msg_startup_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_startup_t *msg) { diff --git a/c/src/v4/telemetry.c b/c/src/v4/telemetry.c index 7acb192e73..756836a2a4 100644 --- a/c/src/v4/telemetry.c +++ b/c/src/v4/telemetry.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_telemetry_sv_encode_internal(sbp_encode_ctx_t *ctx, const sbp_telemetry_sv_t *msg) { diff --git a/c/src/v4/tracking.c b/c/src/v4/tracking.c index deb8c042ab..4d8b320213 100644 --- a/c/src/v4/tracking.c +++ b/c/src/v4/tracking.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_msg_tracking_state_detailed_dep_a_encode_internal( sbp_encode_ctx_t *ctx, const sbp_msg_tracking_state_detailed_dep_a_t *msg) { diff --git a/c/src/v4/user.c b/c/src/v4/user.c index b56f5e0677..12a74ce26c 100644 --- a/c/src/v4/user.c +++ b/c/src/v4/user.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_msg_user_data_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_user_data_t *msg) { diff --git a/c/src/v4/vehicle.c b/c/src/v4/vehicle.c index 80db60b2c7..b4d05bf327 100644 --- a/c/src/v4/vehicle.c +++ b/c/src/v4/vehicle.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include bool sbp_msg_odometry_encode_internal(sbp_encode_ctx_t *ctx, const sbp_msg_odometry_t *msg) { diff --git a/c/test/auto_check_sbp_acquisition_MsgAcqResult.c b/c/test/auto_check_sbp_acquisition_MsgAcqResult.c index b1ee71b191..334a93e102 100644 --- a/c/test/auto_check_sbp_acquisition_MsgAcqResult.c +++ b/c/test/auto_check_sbp_acquisition_MsgAcqResult.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_acquisition_MsgAcqResultDepA.c b/c/test/auto_check_sbp_acquisition_MsgAcqResultDepA.c index 94b3699401..de918b5114 100644 --- a/c/test/auto_check_sbp_acquisition_MsgAcqResultDepA.c +++ b/c/test/auto_check_sbp_acquisition_MsgAcqResultDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_acquisition_MsgAcqResultDepB.c b/c/test/auto_check_sbp_acquisition_MsgAcqResultDepB.c index 8140d4cf79..ee6ab1f838 100644 --- a/c/test/auto_check_sbp_acquisition_MsgAcqResultDepB.c +++ b/c/test/auto_check_sbp_acquisition_MsgAcqResultDepB.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_acquisition_MsgAcqResultDepC.c b/c/test/auto_check_sbp_acquisition_MsgAcqResultDepC.c index 5fa60b89ae..44aea22700 100644 --- a/c/test/auto_check_sbp_acquisition_MsgAcqResultDepC.c +++ b/c/test/auto_check_sbp_acquisition_MsgAcqResultDepC.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_acquisition_MsgAcqSvProfile.c b/c/test/auto_check_sbp_acquisition_MsgAcqSvProfile.c index 1c3d722aea..0eff16eddb 100644 --- a/c/test/auto_check_sbp_acquisition_MsgAcqSvProfile.c +++ b/c/test/auto_check_sbp_acquisition_MsgAcqSvProfile.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c b/c/test/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c index 7069fb3799..baf8b718b7 100644 --- a/c/test/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c +++ b/c/test/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c b/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c index 6821debaf1..c68b79669f 100644 --- a/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c +++ b/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c b/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c index bde446bc8b..d8e60c70a7 100644 --- a/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c +++ b/c/test/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c b/c/test/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c index f79ab0ae9b..e9bd5d5ffe 100644 --- a/c/test/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c +++ b/c/test/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c b/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c index 6f499d9ca8..905be8378a 100644 --- a/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c +++ b/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c b/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c index 11eef7961e..220b6c3bf8 100644 --- a/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c +++ b/c/test/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ext_events_MsgExtEvent.c b/c/test/auto_check_sbp_ext_events_MsgExtEvent.c index 9bed133968..cc0b2315db 100644 --- a/c/test/auto_check_sbp_ext_events_MsgExtEvent.c +++ b/c/test/auto_check_sbp_ext_events_MsgExtEvent.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioConfigReq.c b/c/test/auto_check_sbp_file_io_MsgFileioConfigReq.c index 3d086cbbfa..4467e2ff2f 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioConfigReq.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioConfigReq.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioConfigResp.c b/c/test/auto_check_sbp_file_io_MsgFileioConfigResp.c index 792e6b068a..5da2e39cb5 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioConfigResp.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioConfigResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioReadDirReq.c b/c/test/auto_check_sbp_file_io_MsgFileioReadDirReq.c index 8e1498d994..f053708b6b 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioReadDirReq.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioReadDirReq.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioReadDirResp.c b/c/test/auto_check_sbp_file_io_MsgFileioReadDirResp.c index 513d40c542..a857a383b5 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioReadDirResp.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioReadDirResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioReadReq.c b/c/test/auto_check_sbp_file_io_MsgFileioReadReq.c index b1d9ee4d8b..112191cceb 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioReadReq.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioReadReq.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioReadResp.c b/c/test/auto_check_sbp_file_io_MsgFileioReadResp.c index 45f0aae40c..c858469856 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioReadResp.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioReadResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioRemove.c b/c/test/auto_check_sbp_file_io_MsgFileioRemove.c index d5101211ee..ee4961b55a 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioRemove.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioRemove.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_file_io_MsgFileioWriteResp.c b/c/test/auto_check_sbp_file_io_MsgFileioWriteResp.c index bc916bc6eb..c7236893d9 100644 --- a/c/test/auto_check_sbp_file_io_MsgFileioWriteResp.c +++ b/c/test/auto_check_sbp_file_io_MsgFileioWriteResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgFlashDone.c b/c/test/auto_check_sbp_flash_MsgFlashDone.c index 2d0c9d4572..e0dfe86db1 100644 --- a/c/test/auto_check_sbp_flash_MsgFlashDone.c +++ b/c/test/auto_check_sbp_flash_MsgFlashDone.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgFlashErase.c b/c/test/auto_check_sbp_flash_MsgFlashErase.c index e742b4b79a..29008ef61e 100644 --- a/c/test/auto_check_sbp_flash_MsgFlashErase.c +++ b/c/test/auto_check_sbp_flash_MsgFlashErase.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgFlashProgram.c b/c/test/auto_check_sbp_flash_MsgFlashProgram.c index 3c356bf435..b34af91321 100644 --- a/c/test/auto_check_sbp_flash_MsgFlashProgram.c +++ b/c/test/auto_check_sbp_flash_MsgFlashProgram.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgFlashReadReq.c b/c/test/auto_check_sbp_flash_MsgFlashReadReq.c index f4fd6569fc..5214632d7a 100644 --- a/c/test/auto_check_sbp_flash_MsgFlashReadReq.c +++ b/c/test/auto_check_sbp_flash_MsgFlashReadReq.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgFlashReadResp.c b/c/test/auto_check_sbp_flash_MsgFlashReadResp.c index df7ebd422f..09b2a92f61 100644 --- a/c/test/auto_check_sbp_flash_MsgFlashReadResp.c +++ b/c/test/auto_check_sbp_flash_MsgFlashReadResp.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgM25FlashWriteStatus.c b/c/test/auto_check_sbp_flash_MsgM25FlashWriteStatus.c index d260553d2e..37a3460842 100644 --- a/c/test/auto_check_sbp_flash_MsgM25FlashWriteStatus.c +++ b/c/test/auto_check_sbp_flash_MsgM25FlashWriteStatus.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgStmFlashLockSector.c b/c/test/auto_check_sbp_flash_MsgStmFlashLockSector.c index c95dbf82c5..79c41fed34 100644 --- a/c/test/auto_check_sbp_flash_MsgStmFlashLockSector.c +++ b/c/test/auto_check_sbp_flash_MsgStmFlashLockSector.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgStmFlashUnlockSector.c b/c/test/auto_check_sbp_flash_MsgStmFlashUnlockSector.c index 97e763e06d..78a06c8dec 100644 --- a/c/test/auto_check_sbp_flash_MsgStmFlashUnlockSector.c +++ b/c/test/auto_check_sbp_flash_MsgStmFlashUnlockSector.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgStmUniqueIdReq.c b/c/test/auto_check_sbp_flash_MsgStmUniqueIdReq.c index aaa8c287fb..473d801114 100644 --- a/c/test/auto_check_sbp_flash_MsgStmUniqueIdReq.c +++ b/c/test/auto_check_sbp_flash_MsgStmUniqueIdReq.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_flash_MsgStmUniqueIdResp.c b/c/test/auto_check_sbp_flash_MsgStmUniqueIdResp.c index ec979ad43a..c0c475a1aa 100644 --- a/c/test/auto_check_sbp_flash_MsgStmUniqueIdResp.c +++ b/c/test/auto_check_sbp_flash_MsgStmUniqueIdResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_imu_MsgImuAux.c b/c/test/auto_check_sbp_imu_MsgImuAux.c index 59f3a55e08..cd3a164474 100644 --- a/c/test/auto_check_sbp_imu_MsgImuAux.c +++ b/c/test/auto_check_sbp_imu_MsgImuAux.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_imu_MsgImuRaw.c b/c/test/auto_check_sbp_imu_MsgImuRaw.c index 4c67f3cb01..66d8612cd7 100644 --- a/c/test/auto_check_sbp_imu_MsgImuRaw.c +++ b/c/test/auto_check_sbp_imu_MsgImuRaw.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_integrity_MsgAcknowledge.c b/c/test/auto_check_sbp_integrity_MsgAcknowledge.c index 3137f458e8..af83ca5bf2 100644 --- a/c/test/auto_check_sbp_integrity_MsgAcknowledge.c +++ b/c/test/auto_check_sbp_integrity_MsgAcknowledge.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c b/c/test/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c index 3b5eb855af..79f354f161 100644 --- a/c/test/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c +++ b/c/test/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c b/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c index 74c9f4609e..30d550c230 100644 --- a/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c +++ b/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c @@ -15,8 +15,8 @@ // by generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c b/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c index cf087a445c..7f0c186253 100644 --- a/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c +++ b/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c b/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c index 68172d7f94..e47f8a332e 100644 --- a/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c +++ b/c/test/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_integrity_MsgSsrFlagSatellites.c b/c/test/auto_check_sbp_integrity_MsgSsrFlagSatellites.c index 1afbdd3bcd..95b690f3e5 100644 --- a/c/test/auto_check_sbp_integrity_MsgSsrFlagSatellites.c +++ b/c/test/auto_check_sbp_integrity_MsgSsrFlagSatellites.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c b/c/test/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c index b458f3fdce..cd0b4b9ff8 100644 --- a/c/test/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c +++ b/c/test/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxCpuState.c b/c/test/auto_check_sbp_linux_MsgLinuxCpuState.c index a737b4a3d0..8af416f41a 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxCpuState.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxCpuState.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c b/c/test/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c index 67ab2396bb..1daa291054 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxMemState.c b/c/test/auto_check_sbp_linux_MsgLinuxMemState.c index d6964e8b78..4c960ae632 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxMemState.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxMemState.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxMemStateDepA.c b/c/test/auto_check_sbp_linux_MsgLinuxMemStateDepA.c index fde3af27a0..02a487ef3e 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxMemStateDepA.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxMemStateDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxProcessFdCount.c b/c/test/auto_check_sbp_linux_MsgLinuxProcessFdCount.c index 3c698ad006..104438661e 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxProcessFdCount.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxProcessFdCount.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c b/c/test/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c index 8fc2ed2796..ea962490fa 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c b/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c index 54cba969db..5e5cb5f9d0 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c b/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c index ee317dafa8..e2e9fc2a81 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxSocketUsage.c b/c/test/auto_check_sbp_linux_MsgLinuxSocketUsage.c index 0936657d96..3995738d5f 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxSocketUsage.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxSocketUsage.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxSysState.c b/c/test/auto_check_sbp_linux_MsgLinuxSysState.c index 2f736fa715..38429d7ba0 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxSysState.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxSysState.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_linux_MsgLinuxSysStateDepA.c b/c/test/auto_check_sbp_linux_MsgLinuxSysStateDepA.c index d04d8183c8..7a08ea0352 100644 --- a/c/test/auto_check_sbp_linux_MsgLinuxSysStateDepA.c +++ b/c/test/auto_check_sbp_linux_MsgLinuxSysStateDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_logging_MsgFwd.c b/c/test/auto_check_sbp_logging_MsgFwd.c index f1a832eae6..193f7e082d 100644 --- a/c/test/auto_check_sbp_logging_MsgFwd.c +++ b/c/test/auto_check_sbp_logging_MsgFwd.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_logging_MsgLog.c b/c/test/auto_check_sbp_logging_MsgLog.c index c900cfd8f9..d4384ff1fc 100644 --- a/c/test/auto_check_sbp_logging_MsgLog.c +++ b/c/test/auto_check_sbp_logging_MsgLog.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_logging_MsgPrintDep.c b/c/test/auto_check_sbp_logging_MsgPrintDep.c index 31368172a1..c2b2802d41 100644 --- a/c/test/auto_check_sbp_logging_MsgPrintDep.c +++ b/c/test/auto_check_sbp_logging_MsgPrintDep.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_mag_MsgMagRaw.c b/c/test/auto_check_sbp_mag_MsgMagRaw.c index 562a10f34e..5192c4c3e3 100644 --- a/c/test/auto_check_sbp_mag_MsgMagRaw.c +++ b/c/test/auto_check_sbp_mag_MsgMagRaw.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgAgeCorrections.c b/c/test/auto_check_sbp_navigation_MsgAgeCorrections.c index b64c23fd23..d80c5f9edf 100644 --- a/c/test/auto_check_sbp_navigation_MsgAgeCorrections.c +++ b/c/test/auto_check_sbp_navigation_MsgAgeCorrections.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgBaselineECEF.c b/c/test/auto_check_sbp_navigation_MsgBaselineECEF.c index db0515228e..07dab28ae8 100644 --- a/c/test/auto_check_sbp_navigation_MsgBaselineECEF.c +++ b/c/test/auto_check_sbp_navigation_MsgBaselineECEF.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgBaselineECEFDepA.c b/c/test/auto_check_sbp_navigation_MsgBaselineECEFDepA.c index ea27fb0898..f358802110 100644 --- a/c/test/auto_check_sbp_navigation_MsgBaselineECEFDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgBaselineECEFDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c b/c/test/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c index ed35ced76c..1562fb99c7 100644 --- a/c/test/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgBaselineNED.c b/c/test/auto_check_sbp_navigation_MsgBaselineNED.c index 1f7d29aa76..a19bc4bd9a 100644 --- a/c/test/auto_check_sbp_navigation_MsgBaselineNED.c +++ b/c/test/auto_check_sbp_navigation_MsgBaselineNED.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgBaselineNEDDepA.c b/c/test/auto_check_sbp_navigation_MsgBaselineNEDDepA.c index 0623278f26..b36d047fe4 100644 --- a/c/test/auto_check_sbp_navigation_MsgBaselineNEDDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgBaselineNEDDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgDops.c b/c/test/auto_check_sbp_navigation_MsgDops.c index e41bb58051..0b8ada12f9 100644 --- a/c/test/auto_check_sbp_navigation_MsgDops.c +++ b/c/test/auto_check_sbp_navigation_MsgDops.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgDopsDepA.c b/c/test/auto_check_sbp_navigation_MsgDopsDepA.c index 0f1ef16001..9a8c647a08 100644 --- a/c/test/auto_check_sbp_navigation_MsgDopsDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgDopsDepA.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgGPSTime.c b/c/test/auto_check_sbp_navigation_MsgGPSTime.c index 0e544bf728..91164ff3bb 100644 --- a/c/test/auto_check_sbp_navigation_MsgGPSTime.c +++ b/c/test/auto_check_sbp_navigation_MsgGPSTime.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgGPSTimeDepA.c b/c/test/auto_check_sbp_navigation_MsgGPSTimeDepA.c index 2432a675dc..e681c1652a 100644 --- a/c/test/auto_check_sbp_navigation_MsgGPSTimeDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgGPSTimeDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgGPSTimeGNSS.c b/c/test/auto_check_sbp_navigation_MsgGPSTimeGNSS.c index 8309255fb2..768f01fe3a 100644 --- a/c/test/auto_check_sbp_navigation_MsgGPSTimeGNSS.c +++ b/c/test/auto_check_sbp_navigation_MsgGPSTimeGNSS.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosECEF.c b/c/test/auto_check_sbp_navigation_MsgPosECEF.c index 76083d3fe8..b8517596b6 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosECEF.c +++ b/c/test/auto_check_sbp_navigation_MsgPosECEF.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosECEFCov.c b/c/test/auto_check_sbp_navigation_MsgPosECEFCov.c index f11d40dd9c..c1de64488d 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosECEFCov.c +++ b/c/test/auto_check_sbp_navigation_MsgPosECEFCov.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c b/c/test/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c index 159226e857..966cce4f5d 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c +++ b/c/test/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosECEFDepA.c b/c/test/auto_check_sbp_navigation_MsgPosECEFDepA.c index d73e79e09d..15cfea6422 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosECEFDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgPosECEFDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosECEFGNSS.c b/c/test/auto_check_sbp_navigation_MsgPosECEFGNSS.c index b05d91ada6..8602e24e7f 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosECEFGNSS.c +++ b/c/test/auto_check_sbp_navigation_MsgPosECEFGNSS.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosLLH.c b/c/test/auto_check_sbp_navigation_MsgPosLLH.c index d4f31759d7..4b80017fc1 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosLLH.c +++ b/c/test/auto_check_sbp_navigation_MsgPosLLH.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosLLHCov.c b/c/test/auto_check_sbp_navigation_MsgPosLLHCov.c index ed803ff1f7..dc1a92a2e6 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosLLHCov.c +++ b/c/test/auto_check_sbp_navigation_MsgPosLLHCov.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosLLHDepA.c b/c/test/auto_check_sbp_navigation_MsgPosLLHDepA.c index a7a8c26ab0..67cf11f66e 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosLLHDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgPosLLHDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosLlhAcc.c b/c/test/auto_check_sbp_navigation_MsgPosLlhAcc.c index 3813b3c5d6..cb047c3dbe 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosLlhAcc.c +++ b/c/test/auto_check_sbp_navigation_MsgPosLlhAcc.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosLlhCovGnss.c b/c/test/auto_check_sbp_navigation_MsgPosLlhCovGnss.c index b96a8e4863..1799084a46 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosLlhCovGnss.c +++ b/c/test/auto_check_sbp_navigation_MsgPosLlhCovGnss.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPosLlhGnss.c b/c/test/auto_check_sbp_navigation_MsgPosLlhGnss.c index ad3d9f11e6..f5fc629f8c 100644 --- a/c/test/auto_check_sbp_navigation_MsgPosLlhGnss.c +++ b/c/test/auto_check_sbp_navigation_MsgPosLlhGnss.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgPoseRelative.c b/c/test/auto_check_sbp_navigation_MsgPoseRelative.c index cf8e3bbdd7..c0a1aa0d35 100644 --- a/c/test/auto_check_sbp_navigation_MsgPoseRelative.c +++ b/c/test/auto_check_sbp_navigation_MsgPoseRelative.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgProtectionLevel.c b/c/test/auto_check_sbp_navigation_MsgProtectionLevel.c index 2c89e103f6..9d4541d9a3 100644 --- a/c/test/auto_check_sbp_navigation_MsgProtectionLevel.c +++ b/c/test/auto_check_sbp_navigation_MsgProtectionLevel.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgProtectionLevelDepA.c b/c/test/auto_check_sbp_navigation_MsgProtectionLevelDepA.c index 203fd44f75..3916007a78 100644 --- a/c/test/auto_check_sbp_navigation_MsgProtectionLevelDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgProtectionLevelDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgReferenceFrameParam.c b/c/test/auto_check_sbp_navigation_MsgReferenceFrameParam.c index d7bd9057b5..833fd2f9d8 100644 --- a/c/test/auto_check_sbp_navigation_MsgReferenceFrameParam.c +++ b/c/test/auto_check_sbp_navigation_MsgReferenceFrameParam.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgUTCLeapSecond.c b/c/test/auto_check_sbp_navigation_MsgUTCLeapSecond.c index b2d4b2b939..1c0d26f567 100644 --- a/c/test/auto_check_sbp_navigation_MsgUTCLeapSecond.c +++ b/c/test/auto_check_sbp_navigation_MsgUTCLeapSecond.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgUTCTime.c b/c/test/auto_check_sbp_navigation_MsgUTCTime.c index db4137ed70..34969f57df 100644 --- a/c/test/auto_check_sbp_navigation_MsgUTCTime.c +++ b/c/test/auto_check_sbp_navigation_MsgUTCTime.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgUTCTimeGNSS.c b/c/test/auto_check_sbp_navigation_MsgUTCTimeGNSS.c index 34f5970e63..9be63e2aa2 100644 --- a/c/test/auto_check_sbp_navigation_MsgUTCTimeGNSS.c +++ b/c/test/auto_check_sbp_navigation_MsgUTCTimeGNSS.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelBody.c b/c/test/auto_check_sbp_navigation_MsgVelBody.c index 66c3fa5fbc..079645a54f 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelBody.c +++ b/c/test/auto_check_sbp_navigation_MsgVelBody.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelCog.c b/c/test/auto_check_sbp_navigation_MsgVelCog.c index 21bfac81c8..486b2c1c4a 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelCog.c +++ b/c/test/auto_check_sbp_navigation_MsgVelCog.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelECEF.c b/c/test/auto_check_sbp_navigation_MsgVelECEF.c index 81e98b4922..d7c4d4420b 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelECEF.c +++ b/c/test/auto_check_sbp_navigation_MsgVelECEF.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelECEFCov.c b/c/test/auto_check_sbp_navigation_MsgVelECEFCov.c index 6d109bfd78..6fef1c7a49 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelECEFCov.c +++ b/c/test/auto_check_sbp_navigation_MsgVelECEFCov.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelECEFDepA.c b/c/test/auto_check_sbp_navigation_MsgVelECEFDepA.c index 8e1fd47660..5f100481af 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelECEFDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgVelECEFDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelEcefCovGnss.c b/c/test/auto_check_sbp_navigation_MsgVelEcefCovGnss.c index 48427075e6..f4f08d277b 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelEcefCovGnss.c +++ b/c/test/auto_check_sbp_navigation_MsgVelEcefCovGnss.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelEcefGnss.c b/c/test/auto_check_sbp_navigation_MsgVelEcefGnss.c index 436729d50f..255c7c3750 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelEcefGnss.c +++ b/c/test/auto_check_sbp_navigation_MsgVelEcefGnss.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelNED.c b/c/test/auto_check_sbp_navigation_MsgVelNED.c index 55bb888ce8..8f038abd65 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelNED.c +++ b/c/test/auto_check_sbp_navigation_MsgVelNED.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelNEDCOV.c b/c/test/auto_check_sbp_navigation_MsgVelNEDCOV.c index 91549c33c0..f36f83398c 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelNEDCOV.c +++ b/c/test/auto_check_sbp_navigation_MsgVelNEDCOV.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelNEDDepA.c b/c/test/auto_check_sbp_navigation_MsgVelNEDDepA.c index 9c83a8c164..9544ad7862 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelNEDDepA.c +++ b/c/test/auto_check_sbp_navigation_MsgVelNEDDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelNedCovGnss.c b/c/test/auto_check_sbp_navigation_MsgVelNedCovGnss.c index 9676793ba4..225087138e 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelNedCovGnss.c +++ b/c/test/auto_check_sbp_navigation_MsgVelNedCovGnss.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_navigation_MsgVelNedGnss.c b/c/test/auto_check_sbp_navigation_MsgVelNedGnss.c index eab86b57a4..354251e351 100644 --- a/c/test/auto_check_sbp_navigation_MsgVelNedGnss.c +++ b/c/test/auto_check_sbp_navigation_MsgVelNedGnss.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ndb_MsgNdbEvent.c b/c/test/auto_check_sbp_ndb_MsgNdbEvent.c index c38c677326..fe4a5dbd07 100644 --- a/c/test/auto_check_sbp_ndb_MsgNdbEvent.c +++ b/c/test/auto_check_sbp_ndb_MsgNdbEvent.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgAlmanacGLO.c b/c/test/auto_check_sbp_observation_MsgAlmanacGLO.c index 03f6e8444e..45feafb407 100644 --- a/c/test/auto_check_sbp_observation_MsgAlmanacGLO.c +++ b/c/test/auto_check_sbp_observation_MsgAlmanacGLO.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgAlmanacGLODep.c b/c/test/auto_check_sbp_observation_MsgAlmanacGLODep.c index 0f52eff33a..992ddcd74e 100644 --- a/c/test/auto_check_sbp_observation_MsgAlmanacGLODep.c +++ b/c/test/auto_check_sbp_observation_MsgAlmanacGLODep.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgAlmanacGPS.c b/c/test/auto_check_sbp_observation_MsgAlmanacGPS.c index 1bd1b43219..0f07f4fe7a 100644 --- a/c/test/auto_check_sbp_observation_MsgAlmanacGPS.c +++ b/c/test/auto_check_sbp_observation_MsgAlmanacGPS.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgAlmanacGPSDep.c b/c/test/auto_check_sbp_observation_MsgAlmanacGPSDep.c index 0cb4e58800..e29a21a6a6 100644 --- a/c/test/auto_check_sbp_observation_MsgAlmanacGPSDep.c +++ b/c/test/auto_check_sbp_observation_MsgAlmanacGPSDep.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgBasePosEcef.c b/c/test/auto_check_sbp_observation_MsgBasePosEcef.c index c68b73f8f4..52e8317459 100644 --- a/c/test/auto_check_sbp_observation_MsgBasePosEcef.c +++ b/c/test/auto_check_sbp_observation_MsgBasePosEcef.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgBasePosLLH.c b/c/test/auto_check_sbp_observation_MsgBasePosLLH.c index 3ef77e307b..dcb9b910f4 100644 --- a/c/test/auto_check_sbp_observation_MsgBasePosLLH.c +++ b/c/test/auto_check_sbp_observation_MsgBasePosLLH.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisBds.c b/c/test/auto_check_sbp_observation_MsgEphemerisBds.c index 3ce5aa5b3f..cb7f4f73e4 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisBds.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisBds.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisDepA.c b/c/test/auto_check_sbp_observation_MsgEphemerisDepA.c index ca9541c294..f3babc5e06 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisDepA.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisDepC.c b/c/test/auto_check_sbp_observation_MsgEphemerisDepC.c index bad8784048..bcc5fc0865 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisDepC.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisDepC.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisDepD.c b/c/test/auto_check_sbp_observation_MsgEphemerisDepD.c index 3e86531e97..38ba882a23 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisDepD.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisDepD.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGLO.c b/c/test/auto_check_sbp_observation_MsgEphemerisGLO.c index 1e3468c5df..40e33f8822 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGLO.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGLO.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepA.c b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepA.c index 3bde7e6740..517ff56e19 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepA.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepB.c b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepB.c index 5aceb08bcc..54c5a713e5 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepB.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepB.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepC.c b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepC.c index fb8b3bef72..79ea5856e5 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepC.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepC.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepD.c b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepD.c index 06973082f6..d28ffd3d30 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGLODepD.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGLODepD.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGPS.c b/c/test/auto_check_sbp_observation_MsgEphemerisGPS.c index 44348dfb5d..7fcab8d7b2 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGPS.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGPS.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepE.c b/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepE.c index 6fe9dc3bc3..3e88a46ae5 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepE.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepE.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepF.c b/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepF.c index 9e9d512220..60b23036e6 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepF.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGPSDepF.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGal.c b/c/test/auto_check_sbp_observation_MsgEphemerisGal.c index 23355a867e..6fbfc9ace9 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGal.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGal.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisGalDepA.c b/c/test/auto_check_sbp_observation_MsgEphemerisGalDepA.c index 4077d3e3a2..d4fd352cb4 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisGalDepA.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisGalDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisSbas.c b/c/test/auto_check_sbp_observation_MsgEphemerisSbas.c index 3294ec50a4..09d059521f 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisSbas.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisSbas.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepA.c b/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepA.c index 37d0edcc42..b9e51cc91e 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepA.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepB.c b/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepB.c index db70886ad8..8fa95f64cb 100644 --- a/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepB.c +++ b/c/test/auto_check_sbp_observation_MsgEphemerisSbasDepB.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgGloBiases.c b/c/test/auto_check_sbp_observation_MsgGloBiases.c index 31310e39a0..6570be813b 100644 --- a/c/test/auto_check_sbp_observation_MsgGloBiases.c +++ b/c/test/auto_check_sbp_observation_MsgGloBiases.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgGnssCapb.c b/c/test/auto_check_sbp_observation_MsgGnssCapb.c index 23a89669e2..a2c6ffb1a7 100644 --- a/c/test/auto_check_sbp_observation_MsgGnssCapb.c +++ b/c/test/auto_check_sbp_observation_MsgGnssCapb.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgGroupDelay.c b/c/test/auto_check_sbp_observation_MsgGroupDelay.c index 9f851c7744..a441b65748 100644 --- a/c/test/auto_check_sbp_observation_MsgGroupDelay.c +++ b/c/test/auto_check_sbp_observation_MsgGroupDelay.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgGroupDelayDepA.c b/c/test/auto_check_sbp_observation_MsgGroupDelayDepA.c index 28f5845e33..d730a90751 100644 --- a/c/test/auto_check_sbp_observation_MsgGroupDelayDepA.c +++ b/c/test/auto_check_sbp_observation_MsgGroupDelayDepA.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgGroupDelayDepB.c b/c/test/auto_check_sbp_observation_MsgGroupDelayDepB.c index d18887dff3..7e362926c5 100644 --- a/c/test/auto_check_sbp_observation_MsgGroupDelayDepB.c +++ b/c/test/auto_check_sbp_observation_MsgGroupDelayDepB.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgIono.c b/c/test/auto_check_sbp_observation_MsgIono.c index 91e8662a08..ce271a0f9d 100644 --- a/c/test/auto_check_sbp_observation_MsgIono.c +++ b/c/test/auto_check_sbp_observation_MsgIono.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgObs.c b/c/test/auto_check_sbp_observation_MsgObs.c index 924e60d27e..7eebc84e77 100644 --- a/c/test/auto_check_sbp_observation_MsgObs.c +++ b/c/test/auto_check_sbp_observation_MsgObs.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgObsDepB.c b/c/test/auto_check_sbp_observation_MsgObsDepB.c index 1d674c51c5..ee3df4f500 100644 --- a/c/test/auto_check_sbp_observation_MsgObsDepB.c +++ b/c/test/auto_check_sbp_observation_MsgObsDepB.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgObsDepC.c b/c/test/auto_check_sbp_observation_MsgObsDepC.c index a0a67c31b4..d444e7a50a 100644 --- a/c/test/auto_check_sbp_observation_MsgObsDepC.c +++ b/c/test/auto_check_sbp_observation_MsgObsDepC.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgOsr.c b/c/test/auto_check_sbp_observation_MsgOsr.c index aac5b77473..b833f789d4 100644 --- a/c/test/auto_check_sbp_observation_MsgOsr.c +++ b/c/test/auto_check_sbp_observation_MsgOsr.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgSvAzEl.c b/c/test/auto_check_sbp_observation_MsgSvAzEl.c index e75c72d5cb..0eac66ce0b 100644 --- a/c/test/auto_check_sbp_observation_MsgSvAzEl.c +++ b/c/test/auto_check_sbp_observation_MsgSvAzEl.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c b/c/test/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c index 0ec6273221..c08407b729 100644 --- a/c/test/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c +++ b/c/test/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c @@ -15,8 +15,8 @@ // by generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_msgEphemerisDepB.c b/c/test/auto_check_sbp_observation_msgEphemerisDepB.c index b5918ff2d3..fbc74743ab 100644 --- a/c/test/auto_check_sbp_observation_msgEphemerisDepB.c +++ b/c/test/auto_check_sbp_observation_msgEphemerisDepB.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_msgEphemerisQzss.c b/c/test/auto_check_sbp_observation_msgEphemerisQzss.c index b4ade0e513..941acf1f34 100644 --- a/c/test/auto_check_sbp_observation_msgEphemerisQzss.c +++ b/c/test/auto_check_sbp_observation_msgEphemerisQzss.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_observation_msgObsDepA.c b/c/test/auto_check_sbp_observation_msgObsDepA.c index 704696eb55..3129768ea0 100644 --- a/c/test/auto_check_sbp_observation_msgObsDepA.c +++ b/c/test/auto_check_sbp_observation_msgObsDepA.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_orientation_MsgAngularRate.c b/c/test/auto_check_sbp_orientation_MsgAngularRate.c index b2dacb0ebc..5d2a9e8b05 100644 --- a/c/test/auto_check_sbp_orientation_MsgAngularRate.c +++ b/c/test/auto_check_sbp_orientation_MsgAngularRate.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_orientation_MsgBaselineHeading.c b/c/test/auto_check_sbp_orientation_MsgBaselineHeading.c index f69089bae5..dbbddde294 100644 --- a/c/test/auto_check_sbp_orientation_MsgBaselineHeading.c +++ b/c/test/auto_check_sbp_orientation_MsgBaselineHeading.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_orientation_MsgOrientEuler.c b/c/test/auto_check_sbp_orientation_MsgOrientEuler.c index 19fb9ccc9b..bb8d6ab4c2 100644 --- a/c/test/auto_check_sbp_orientation_MsgOrientEuler.c +++ b/c/test/auto_check_sbp_orientation_MsgOrientEuler.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_orientation_MsgOrientQuat.c b/c/test/auto_check_sbp_orientation_MsgOrientQuat.c index 12aebf27ef..f9bed859f5 100644 --- a/c/test/auto_check_sbp_orientation_MsgOrientQuat.c +++ b/c/test/auto_check_sbp_orientation_MsgOrientQuat.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgAlmanac.c b/c/test/auto_check_sbp_piksi_MsgAlmanac.c index 79a14493ac..6520e72d6f 100644 --- a/c/test/auto_check_sbp_piksi_MsgAlmanac.c +++ b/c/test/auto_check_sbp_piksi_MsgAlmanac.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgCellModemStatus.c b/c/test/auto_check_sbp_piksi_MsgCellModemStatus.c index d0cd017009..97aedc95fe 100644 --- a/c/test/auto_check_sbp_piksi_MsgCellModemStatus.c +++ b/c/test/auto_check_sbp_piksi_MsgCellModemStatus.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgCommandOutput.c b/c/test/auto_check_sbp_piksi_MsgCommandOutput.c index 77b835c59c..ce038960db 100644 --- a/c/test/auto_check_sbp_piksi_MsgCommandOutput.c +++ b/c/test/auto_check_sbp_piksi_MsgCommandOutput.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgCommandReq.c b/c/test/auto_check_sbp_piksi_MsgCommandReq.c index 12d76b1bc1..eabaabc962 100644 --- a/c/test/auto_check_sbp_piksi_MsgCommandReq.c +++ b/c/test/auto_check_sbp_piksi_MsgCommandReq.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgCommandResp.c b/c/test/auto_check_sbp_piksi_MsgCommandResp.c index 2488b5f023..794fd05359 100644 --- a/c/test/auto_check_sbp_piksi_MsgCommandResp.c +++ b/c/test/auto_check_sbp_piksi_MsgCommandResp.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgCwResults.c b/c/test/auto_check_sbp_piksi_MsgCwResults.c index 0a842caa12..c8c4292312 100644 --- a/c/test/auto_check_sbp_piksi_MsgCwResults.c +++ b/c/test/auto_check_sbp_piksi_MsgCwResults.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgCwStart.c b/c/test/auto_check_sbp_piksi_MsgCwStart.c index 44857c29ca..be318e05ba 100644 --- a/c/test/auto_check_sbp_piksi_MsgCwStart.c +++ b/c/test/auto_check_sbp_piksi_MsgCwStart.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgDeviceMonitor.c b/c/test/auto_check_sbp_piksi_MsgDeviceMonitor.c index 09b8e42448..eb0b1d4b5c 100644 --- a/c/test/auto_check_sbp_piksi_MsgDeviceMonitor.c +++ b/c/test/auto_check_sbp_piksi_MsgDeviceMonitor.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgFrontEndGain.c b/c/test/auto_check_sbp_piksi_MsgFrontEndGain.c index d3b1708918..a415534f47 100644 --- a/c/test/auto_check_sbp_piksi_MsgFrontEndGain.c +++ b/c/test/auto_check_sbp_piksi_MsgFrontEndGain.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgIarState.c b/c/test/auto_check_sbp_piksi_MsgIarState.c index 785a9340fc..4d7adb5a36 100644 --- a/c/test/auto_check_sbp_piksi_MsgIarState.c +++ b/c/test/auto_check_sbp_piksi_MsgIarState.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgInitBaseDep.c b/c/test/auto_check_sbp_piksi_MsgInitBaseDep.c index 791fb1de38..df27d9311b 100644 --- a/c/test/auto_check_sbp_piksi_MsgInitBaseDep.c +++ b/c/test/auto_check_sbp_piksi_MsgInitBaseDep.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgMaskSatellite.c b/c/test/auto_check_sbp_piksi_MsgMaskSatellite.c index e71e116bce..0609463305 100644 --- a/c/test/auto_check_sbp_piksi_MsgMaskSatellite.c +++ b/c/test/auto_check_sbp_piksi_MsgMaskSatellite.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgMaskSatelliteDep.c b/c/test/auto_check_sbp_piksi_MsgMaskSatelliteDep.c index b9aefa4d1c..2e306a9523 100644 --- a/c/test/auto_check_sbp_piksi_MsgMaskSatelliteDep.c +++ b/c/test/auto_check_sbp_piksi_MsgMaskSatelliteDep.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c b/c/test/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c index 3e2d6c5ce2..65806f4d35 100644 --- a/c/test/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c +++ b/c/test/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgNetworkStateReq.c b/c/test/auto_check_sbp_piksi_MsgNetworkStateReq.c index 21406c318a..c9f8c0a83b 100644 --- a/c/test/auto_check_sbp_piksi_MsgNetworkStateReq.c +++ b/c/test/auto_check_sbp_piksi_MsgNetworkStateReq.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgNetworkStateResp.c b/c/test/auto_check_sbp_piksi_MsgNetworkStateResp.c index 646f31ddae..97fe887d36 100644 --- a/c/test/auto_check_sbp_piksi_MsgNetworkStateResp.c +++ b/c/test/auto_check_sbp_piksi_MsgNetworkStateResp.c @@ -15,8 +15,8 @@ // generate.py. Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgReset.c b/c/test/auto_check_sbp_piksi_MsgReset.c index 687aa88c4a..4d72cc421c 100644 --- a/c/test/auto_check_sbp_piksi_MsgReset.c +++ b/c/test/auto_check_sbp_piksi_MsgReset.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgResetDep.c b/c/test/auto_check_sbp_piksi_MsgResetDep.c index 872b3f749d..65ffd51b19 100644 --- a/c/test/auto_check_sbp_piksi_MsgResetDep.c +++ b/c/test/auto_check_sbp_piksi_MsgResetDep.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgResetFilters.c b/c/test/auto_check_sbp_piksi_MsgResetFilters.c index ad5657e072..dc30529ecd 100644 --- a/c/test/auto_check_sbp_piksi_MsgResetFilters.c +++ b/c/test/auto_check_sbp_piksi_MsgResetFilters.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgSetTime.c b/c/test/auto_check_sbp_piksi_MsgSetTime.c index 0edcee299b..ed8a131a14 100644 --- a/c/test/auto_check_sbp_piksi_MsgSetTime.c +++ b/c/test/auto_check_sbp_piksi_MsgSetTime.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgSpecan.c b/c/test/auto_check_sbp_piksi_MsgSpecan.c index 9abeb6dc93..be500630bb 100644 --- a/c/test/auto_check_sbp_piksi_MsgSpecan.c +++ b/c/test/auto_check_sbp_piksi_MsgSpecan.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgSpecanDep.c b/c/test/auto_check_sbp_piksi_MsgSpecanDep.c index 4bac3701f3..0387da0257 100644 --- a/c/test/auto_check_sbp_piksi_MsgSpecanDep.c +++ b/c/test/auto_check_sbp_piksi_MsgSpecanDep.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgThreadState.c b/c/test/auto_check_sbp_piksi_MsgThreadState.c index 3efeb11a1d..b4930a186d 100644 --- a/c/test/auto_check_sbp_piksi_MsgThreadState.c +++ b/c/test/auto_check_sbp_piksi_MsgThreadState.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgUartState.c b/c/test/auto_check_sbp_piksi_MsgUartState.c index a78a5211a0..9732e57a53 100644 --- a/c/test/auto_check_sbp_piksi_MsgUartState.c +++ b/c/test/auto_check_sbp_piksi_MsgUartState.c @@ -15,8 +15,8 @@ // not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_piksi_MsgUartStateDepA.c b/c/test/auto_check_sbp_piksi_MsgUartStateDepA.c index c73a1325d7..8773529a32 100644 --- a/c/test/auto_check_sbp_piksi_MsgUartStateDepA.c +++ b/c/test/auto_check_sbp_piksi_MsgUartStateDepA.c @@ -15,8 +15,8 @@ // Do not modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_sbas_MsgSbasRaw.c b/c/test/auto_check_sbp_sbas_MsgSbasRaw.c index 8eef6cc7cc..594cb139d8 100644 --- a/c/test/auto_check_sbp_sbas_MsgSbasRaw.c +++ b/c/test/auto_check_sbp_sbas_MsgSbasRaw.c @@ -15,8 +15,8 @@ // modify by hand! #include +#include #include -#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c b/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c index 62d88297fa..1ea5bc5bb6 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c b/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c index 22b803a688..fd5d55f6c9 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c b/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c index c6177d09e0..f0ceee1593 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsReadReq.c b/c/test/auto_check_sbp_settings_MsgSettingsReadReq.c index 55176e666b..2cf6d57629 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsReadReq.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsReadReq.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsReadResp.c b/c/test/auto_check_sbp_settings_MsgSettingsReadResp.c index a5f24dbbd9..98cf3ee19c 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsReadResp.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsReadResp.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsRegister.c b/c/test/auto_check_sbp_settings_MsgSettingsRegister.c index c3ca49c41b..a9a3496e11 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsRegister.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsRegister.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsRegisterResp.c b/c/test/auto_check_sbp_settings_MsgSettingsRegisterResp.c index fea665035a..4f3ed25033 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsRegisterResp.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsRegisterResp.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsSave.c b/c/test/auto_check_sbp_settings_MsgSettingsSave.c index 342a0ce19f..54a3f2d409 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsSave.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsSave.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsWrite.c b/c/test/auto_check_sbp_settings_MsgSettingsWrite.c index 7f2dc4988f..f25fc1ca8d 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsWrite.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsWrite.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_settings_MsgSettingsWriteResp.c b/c/test/auto_check_sbp_settings_MsgSettingsWriteResp.c index 1bec9590bb..4c3d34e8b6 100644 --- a/c/test/auto_check_sbp_settings_MsgSettingsWriteResp.c +++ b/c/test/auto_check_sbp_settings_MsgSettingsWriteResp.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgCertificateChain.c b/c/test/auto_check_sbp_signing_MsgCertificateChain.c index 3e2606d473..665f80914a 100644 --- a/c/test/auto_check_sbp_signing_MsgCertificateChain.c +++ b/c/test/auto_check_sbp_signing_MsgCertificateChain.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgCertificateChainDep.c b/c/test/auto_check_sbp_signing_MsgCertificateChainDep.c index 77e8d903db..dd9901101b 100644 --- a/c/test/auto_check_sbp_signing_MsgCertificateChainDep.c +++ b/c/test/auto_check_sbp_signing_MsgCertificateChainDep.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgEcdsaCertificate.c b/c/test/auto_check_sbp_signing_MsgEcdsaCertificate.c index b5c1b3d08d..1bccd9ee32 100644 --- a/c/test/auto_check_sbp_signing_MsgEcdsaCertificate.c +++ b/c/test/auto_check_sbp_signing_MsgEcdsaCertificate.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgEcdsaSignature.c b/c/test/auto_check_sbp_signing_MsgEcdsaSignature.c index cc176c9798..26691702ed 100644 --- a/c/test/auto_check_sbp_signing_MsgEcdsaSignature.c +++ b/c/test/auto_check_sbp_signing_MsgEcdsaSignature.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c b/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c index ad5d030a1f..b283cac200 100644 --- a/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c +++ b/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c b/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c index a4f88b4cdb..703ae3bd30 100644 --- a/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c +++ b/c/test/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgEd25519CertificateDep.c b/c/test/auto_check_sbp_signing_MsgEd25519CertificateDep.c index de1bfdab78..bf0e835022 100644 --- a/c/test/auto_check_sbp_signing_MsgEd25519CertificateDep.c +++ b/c/test/auto_check_sbp_signing_MsgEd25519CertificateDep.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepA.c b/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepA.c index dcc8a4f6ba..1d83099322 100644 --- a/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepA.c +++ b/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepB.c b/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepB.c index dc4bc67bb1..664c2bb4c9 100644 --- a/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepB.c +++ b/c/test/auto_check_sbp_signing_MsgEd25519SignatureDepB.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_solution_meta_MsgSolnMeta.c b/c/test/auto_check_sbp_solution_meta_MsgSolnMeta.c index 69dfbf71e2..268512edba 100644 --- a/c/test/auto_check_sbp_solution_meta_MsgSolnMeta.c +++ b/c/test/auto_check_sbp_solution_meta_MsgSolnMeta.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c b/c/test/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c index 61beda07dc..6261f43ec0 100644 --- a/c/test/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c +++ b/c/test/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrCodeBiases.c b/c/test/auto_check_sbp_ssr_MsgSsrCodeBiases.c index 6261b1f9c2..c13a5b66ed 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrCodeBiases.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrCodeBiases.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c b/c/test/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c index 0969be633c..5ac9bb829e 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c b/c/test/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c index 196b28519b..d34c6175f4 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c index 15c437aeb8..a9e389bdeb 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c index 6a39f069d5..b16e851838 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c index b3b91d9c5d..1c2e51db69 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c index 0591c3e5ff..2270b8e9e6 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClock.c b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClock.c index 46611abed5..04548447ab 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClock.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClock.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c index 49ae024d2a..31c2cc357d 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c index f890bc4c25..3b9b0111de 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c index 2255a0aaf2..38b53e19de 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrPhaseBiases.c b/c/test/auto_check_sbp_ssr_MsgSsrPhaseBiases.c index d4d391b2e0..2839abc8fe 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrPhaseBiases.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrPhaseBiases.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApc.c b/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApc.c index d7ded51b9e..c574d67f5d 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApc.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApc.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c b/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c index 83eb8541ca..9e06b8d005 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrStecCorrection.c b/c/test/auto_check_sbp_ssr_MsgSsrStecCorrection.c index 0614e5844b..a46da5072f 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrStecCorrection.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrStecCorrection.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c b/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c index 8ac9d0cfb0..e8092110d9 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c b/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c index 0758c4f039..fe7f1bc35f 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrTileDefinition.c b/c/test/auto_check_sbp_ssr_MsgSsrTileDefinition.c index 7095fea517..9da46c4635 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrTileDefinition.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrTileDefinition.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c b/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c index e683653581..0a196da801 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c b/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c index 40127c9db8..4641f2bd63 100644 --- a/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c +++ b/c/test/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgCsacTelemetry.c b/c/test/auto_check_sbp_system_MsgCsacTelemetry.c index 13a661be44..a92097c749 100644 --- a/c/test/auto_check_sbp_system_MsgCsacTelemetry.c +++ b/c/test/auto_check_sbp_system_MsgCsacTelemetry.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgCsacTelemetryLabels.c b/c/test/auto_check_sbp_system_MsgCsacTelemetryLabels.c index f0cfa6e9aa..e902b72e33 100644 --- a/c/test/auto_check_sbp_system_MsgCsacTelemetryLabels.c +++ b/c/test/auto_check_sbp_system_MsgCsacTelemetryLabels.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgDgnssStatus.c b/c/test/auto_check_sbp_system_MsgDgnssStatus.c index e6e7e225b7..2f28f6155b 100644 --- a/c/test/auto_check_sbp_system_MsgDgnssStatus.c +++ b/c/test/auto_check_sbp_system_MsgDgnssStatus.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgGnssTimeOffset.c b/c/test/auto_check_sbp_system_MsgGnssTimeOffset.c index d617e29e23..47796d5a13 100644 --- a/c/test/auto_check_sbp_system_MsgGnssTimeOffset.c +++ b/c/test/auto_check_sbp_system_MsgGnssTimeOffset.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgGroupMeta.c b/c/test/auto_check_sbp_system_MsgGroupMeta.c index b4013959a5..d8938db0db 100644 --- a/c/test/auto_check_sbp_system_MsgGroupMeta.c +++ b/c/test/auto_check_sbp_system_MsgGroupMeta.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgHeartbeat.c b/c/test/auto_check_sbp_system_MsgHeartbeat.c index c991088c12..73cfe0bf50 100644 --- a/c/test/auto_check_sbp_system_MsgHeartbeat.c +++ b/c/test/auto_check_sbp_system_MsgHeartbeat.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgInsStatus.c b/c/test/auto_check_sbp_system_MsgInsStatus.c index c6bbebe6fe..503d84e181 100644 --- a/c/test/auto_check_sbp_system_MsgInsStatus.c +++ b/c/test/auto_check_sbp_system_MsgInsStatus.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgInsUpdates.c b/c/test/auto_check_sbp_system_MsgInsUpdates.c index 2a1eeb954a..7eb69d0116 100644 --- a/c/test/auto_check_sbp_system_MsgInsUpdates.c +++ b/c/test/auto_check_sbp_system_MsgInsUpdates.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgPpsTime.c b/c/test/auto_check_sbp_system_MsgPpsTime.c index da6f072b08..cd08a46a20 100644 --- a/c/test/auto_check_sbp_system_MsgPpsTime.c +++ b/c/test/auto_check_sbp_system_MsgPpsTime.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgSensorAidEvent.c b/c/test/auto_check_sbp_system_MsgSensorAidEvent.c index ee269606df..ecc0e7badf 100644 --- a/c/test/auto_check_sbp_system_MsgSensorAidEvent.c +++ b/c/test/auto_check_sbp_system_MsgSensorAidEvent.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgStartup.c b/c/test/auto_check_sbp_system_MsgStartup.c index 1b777f271d..173c595bbf 100644 --- a/c/test/auto_check_sbp_system_MsgStartup.c +++ b/c/test/auto_check_sbp_system_MsgStartup.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgStatusJournal.c b/c/test/auto_check_sbp_system_MsgStatusJournal.c index 60dc6c6ac2..92cc6a3053 100644 --- a/c/test/auto_check_sbp_system_MsgStatusJournal.c +++ b/c/test/auto_check_sbp_system_MsgStatusJournal.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_system_MsgStatusReport.c b/c/test/auto_check_sbp_system_MsgStatusReport.c index 9e23d15272..e0dfae8612 100644 --- a/c/test/auto_check_sbp_system_MsgStatusReport.c +++ b/c/test/auto_check_sbp_system_MsgStatusReport.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_telemetry_MsgTelSv.c b/c/test/auto_check_sbp_telemetry_MsgTelSv.c index 8a91a49d1d..6e98bf6211 100644 --- a/c/test/auto_check_sbp_telemetry_MsgTelSv.c +++ b/c/test/auto_check_sbp_telemetry_MsgTelSv.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgMeasurementState.c b/c/test/auto_check_sbp_tracking_MsgMeasurementState.c index 49ad060d97..6d1c172ab5 100644 --- a/c/test/auto_check_sbp_tracking_MsgMeasurementState.c +++ b/c/test/auto_check_sbp_tracking_MsgMeasurementState.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgTrackingIq.c b/c/test/auto_check_sbp_tracking_MsgTrackingIq.c index fd976f5220..a9e47d894c 100644 --- a/c/test/auto_check_sbp_tracking_MsgTrackingIq.c +++ b/c/test/auto_check_sbp_tracking_MsgTrackingIq.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgTrackingIqDepA.c b/c/test/auto_check_sbp_tracking_MsgTrackingIqDepA.c index 84a7986d66..8a326be623 100644 --- a/c/test/auto_check_sbp_tracking_MsgTrackingIqDepA.c +++ b/c/test/auto_check_sbp_tracking_MsgTrackingIqDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgTrackingIqDepB.c b/c/test/auto_check_sbp_tracking_MsgTrackingIqDepB.c index 0cc82d96a1..874bcb744e 100644 --- a/c/test/auto_check_sbp_tracking_MsgTrackingIqDepB.c +++ b/c/test/auto_check_sbp_tracking_MsgTrackingIqDepB.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgTrackingState.c b/c/test/auto_check_sbp_tracking_MsgTrackingState.c index b553bcf856..f4193ad33e 100644 --- a/c/test/auto_check_sbp_tracking_MsgTrackingState.c +++ b/c/test/auto_check_sbp_tracking_MsgTrackingState.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgTrackingStateDepB.c b/c/test/auto_check_sbp_tracking_MsgTrackingStateDepB.c index 0b62c6f6be..31f55cf56c 100644 --- a/c/test/auto_check_sbp_tracking_MsgTrackingStateDepB.c +++ b/c/test/auto_check_sbp_tracking_MsgTrackingStateDepB.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c b/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c index 27b83f077e..896d449e26 100644 --- a/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c +++ b/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c b/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c index b35f24c70d..4b86bace71 100644 --- a/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c +++ b/c/test/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_tracking_MsgtrackingStateDepA.c b/c/test/auto_check_sbp_tracking_MsgtrackingStateDepA.c index e3d8668884..f33b0dae36 100644 --- a/c/test/auto_check_sbp_tracking_MsgtrackingStateDepA.c +++ b/c/test/auto_check_sbp_tracking_MsgtrackingStateDepA.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_user_MsgUserData.c b/c/test/auto_check_sbp_user_MsgUserData.c index 7db5079f0e..4f3bbcb6bc 100644 --- a/c/test/auto_check_sbp_user_MsgUserData.c +++ b/c/test/auto_check_sbp_user_MsgUserData.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_vehicle_MsgOdometry.c b/c/test/auto_check_sbp_vehicle_MsgOdometry.c index 311e1f1105..d3509b0681 100644 --- a/c/test/auto_check_sbp_vehicle_MsgOdometry.c +++ b/c/test/auto_check_sbp_vehicle_MsgOdometry.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/c/test/auto_check_sbp_vehicle_MsgWheeltick.c b/c/test/auto_check_sbp_vehicle_MsgWheeltick.c index 4e5f93becc..555fa3a819 100644 --- a/c/test/auto_check_sbp_vehicle_MsgWheeltick.c +++ b/c/test/auto_check_sbp_vehicle_MsgWheeltick.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include // for debugging #include // for malloc diff --git a/generator/sbpg/targets/c.py b/generator/sbpg/targets/c.py index 16ac85183a..b7bfea8638 100644 --- a/generator/sbpg/targets/c.py +++ b/generator/sbpg/targets/c.py @@ -18,9 +18,10 @@ from sbpg.utils import markdown_links from sbpg import ReleaseVersion -SBP_MESSAGES_TEMPLATE_NAME = "c/include/libsbp/v4/sbp_messages_template.h" -SBP_PACKAGE_TEMPLATE_NAME = "c/include/libsbp/v4/sbp_package_template.h" -SBP_MSG_TEMPLATE_NAME = "c/include/libsbp/v4/sbp_msg_template.h" +SBP_MESSAGES_TEMPLATE_NAME = "c/include/libsbp/package/sbp_messages_template.h" +SBP_PACKAGE_TEMPLATE_NAME = "c/include/libsbp/sbp_package_template.h" +SBP_OLD_PACKAGE_TEMPLATE_NAME = "c/include/libsbp/v4/sbp_package_template.h" +SBP_MSG_TEMPLATE_NAME = "c/include/libsbp/sbp_msg_template.h" VERSION_TEMPLATE_NAME = "c/include/libsbp/sbp_version_template.h" MESSAGE_TRAITS_TEMPLATE_NAME = "c/include/libsbp/cpp/message_traits_template.h" SBP_MESSAGES_SOURCE_TEMPLATE_NAME = "c/src/sbp_messages_template.c" @@ -527,8 +528,8 @@ def __init__(self, msg, package, package_specs): self.encoded_len_value = get_encoded_len_value(self.type_name, package_specs) def render(self, output_dir): - # Public header for V4 API - include/libsbp/v4//.h - destination_filename = "%s/include/libsbp/v4/%s/%s.h" % ( + # Public header for V4 API - include/libsbp//.h + destination_filename = "%s/include/libsbp/%s/%s.h" % ( output_dir, self.package_name, self.name, @@ -567,9 +568,9 @@ def render(self, output_dir): for m in self.msgs: m.render(output_dir) - # Public header for the package - include/libsbp/v4/.h - # Includes all public message headers, include/libsbp/v4//*.h - destination_filename = "%s/include/libsbp/v4/%s.h" % (output_dir, self.name) + # Public header for the package - include/libsbp/.h + # Includes all public message headers, include/libsbp//*.h + destination_filename = "%s/include/libsbp/%s.h" % (output_dir, self.name) render_file( SBP_PACKAGE_TEMPLATE_NAME, destination_filename, @@ -577,6 +578,17 @@ def render(self, output_dir): "package": self, }, ) + # + # Old public header for the package - include/libsbp/v4/.h + # Generates a compile time message and includes the real public header - include/libsbp/.h + destination_filename = "%s/include/libsbp/v4/%s.h" % (output_dir, self.name) + render_file( + SBP_OLD_PACKAGE_TEMPLATE_NAME, + destination_filename, + { + "package": self, + }, + ) # Public macros header - include/libsbp/_macros.h # Declares certain symbols shared between legacy and V4 APIs such as @@ -649,7 +661,7 @@ def render_all(output_dir, package_specs): p.render(output_dir) # Render sbp_msg_t type, union of all real messages in V4 API - destination_filename = "%s/include/libsbp/v4/sbp_msg.h" % (output_dir) + destination_filename = "%s/include/libsbp/sbp_msg.h" % (output_dir) render_file( SBP_MSG_TEMPLATE_NAME, destination_filename, diff --git a/generator/sbpg/targets/legacy_c.py b/generator/sbpg/targets/legacy_c.py index c024a21cc7..84e4313872 100755 --- a/generator/sbpg/targets/legacy_c.py +++ b/generator/sbpg/targets/legacy_c.py @@ -21,7 +21,6 @@ from sbpg.targets.templating import JENV, indented_wordwrap from sbpg import ReleaseVersion -MESSAGES_TEMPLATE_NAME = "c/include/libsbp/sbp_messages_template.h" LEGACY_MESSAGES_TEMPLATE_NAME = "c/include/libsbp/legacy/sbp_messages_template.h" VERSION_TEMPLATE_NAME = "c/include/libsbp/sbp_version_template.h" LEGACY_MESSAGE_TRAITS_TEMPLATE_NAME = "c/include/libsbp/legacy/cpp/message_traits_template.h" @@ -113,16 +112,6 @@ def render_source(output_dir, package_spec): Render and output to a directory given a package specification. """ path, name = package_spec.filepath - destination_filename = "%s/%s.h" % (output_dir, name) - py_template = JENV.get_template(MESSAGES_TEMPLATE_NAME) - with open(destination_filename, 'w') as f: - f.write(py_template.render(msgs=package_spec.definitions, - pkg_name=name, - filepath="/".join(package_spec.filepath) + ".yaml", - max_msgid_len=package_spec.max_msgid_len, - description=package_spec.description, - timestamp=package_spec.creation_timestamp, - include=extensions(package_spec.includes))) destination_filename = "%s/legacy/%s.h" % (output_dir, name) py_template = JENV.get_template(LEGACY_MESSAGES_TEMPLATE_NAME) with open(destination_filename, 'w') as f: diff --git a/generator/sbpg/targets/resources/c/include/libsbp/cpp/message_traits_template.h b/generator/sbpg/targets/resources/c/include/libsbp/cpp/message_traits_template.h index 9eedcca093..49f1ef9a11 100644 --- a/generator/sbpg/targets/resources/c/include/libsbp/cpp/message_traits_template.h +++ b/generator/sbpg/targets/resources/c/include/libsbp/cpp/message_traits_template.h @@ -18,9 +18,9 @@ #define LIBSBP_CPP_MESSAGE_TRAITS_H ((*- for p in packages *)) -#include +#include ((*- endfor *)) -#include +#include #include namespace sbp { diff --git a/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_messages_template.h b/generator/sbpg/targets/resources/c/include/libsbp/package/sbp_messages_template.h similarity index 99% rename from generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_messages_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/package/sbp_messages_template.h index d3f1aa2071..31217b0cd8 100644 --- a/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_messages_template.h +++ b/generator/sbpg/targets/resources/c/include/libsbp/package/sbp_messages_template.h @@ -30,7 +30,7 @@ #include ((*- for i in m.type_include *)) -#include +#include ((*- endfor *)) #ifdef __cplusplus diff --git a/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_msg_template.h b/generator/sbpg/targets/resources/c/include/libsbp/sbp_msg_template.h similarity index 99% rename from generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_msg_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/sbp_msg_template.h index 689847d25a..1767156313 100644 --- a/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_msg_template.h +++ b/generator/sbpg/targets/resources/c/include/libsbp/sbp_msg_template.h @@ -24,7 +24,7 @@ #include ((*- for p in packages *)) -#include +#include ((*- endfor *)) #ifdef __cplusplus diff --git a/generator/sbpg/targets/resources/c/include/libsbp/sbp_messages_template.h b/generator/sbpg/targets/resources/c/include/libsbp/sbp_package_template.h similarity index 67% rename from generator/sbpg/targets/resources/c/include/libsbp/sbp_messages_template.h rename to generator/sbpg/targets/resources/c/include/libsbp/sbp_package_template.h index 4f6a2d91c8..77733fc884 100644 --- a/generator/sbpg/targets/resources/c/include/libsbp/sbp_messages_template.h +++ b/generator/sbpg/targets/resources/c/include/libsbp/sbp_package_template.h @@ -11,13 +11,16 @@ */ /***************************************************************************** - * Automatically generated from yaml/(((filepath))) + * Automatically generated from yaml/(((package.filepath))) * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_(((pkg_name|upper)))_MESSAGES_H -#define LIBSBP_(((pkg_name|upper)))_MESSAGES_H +#ifndef LIBSBP_V4_(((package.name|upper)))_MESSAGES_H +#define LIBSBP_V4_(((package.name|upper)))_MESSAGES_H -#include +((*- for m in package.msgs *)) +#include +((*- endfor *)) + +#endif /* LIBSBP_V4_(((package.name|upper)))_MESSAGES_H */ -#endif /* LIBSBP_(((pkg_name|upper)))_MESSAGES_H */ diff --git a/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_package_template.h b/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_package_template.h index 68e22fa96b..f0a2938e18 100644 --- a/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_package_template.h +++ b/generator/sbpg/targets/resources/c/include/libsbp/v4/sbp_package_template.h @@ -11,16 +11,20 @@ */ /***************************************************************************** - * Automatically generated from yaml/(((package.filepath))) + * Automatically generated from yaml/(((filepath))) * with generate.py. Please do not hand edit! *****************************************************************************/ -#ifndef LIBSBP_V4_(((package.name|upper)))_MESSAGES_H -#define LIBSBP_V4_(((package.name|upper)))_MESSAGES_H +#ifndef LIBSBP_(((package.name|upper)))_MESSAGES_H +#define LIBSBP_(((package.name|upper)))_MESSAGES_H -((*- for m in package.msgs *)) -#include -((*- endfor *)) +#include -#endif /* LIBSBP_V4_(((package.name|upper)))_MESSAGES_H */ +SBP_MESSAGE( + "SBP message definitions have moved. To continue using these types include " + "`libsbp/(((package.name))).h instead. Access to SBP types via this header file " + " will be removed in version 6.") +#include + +#endif /* LIBSBP_(((package.name|upper)))_MESSAGES_H */ diff --git a/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h b/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h index a5faa1192f..886abf5e80 100644 --- a/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h +++ b/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h @@ -20,7 +20,7 @@ #include -#include +#include #include ((*- for i in package.includes *)) #include diff --git a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c index 4aa5e51c9c..45d6811403 100644 --- a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c +++ b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include #include diff --git a/generator/sbpg/targets/resources/c/test/v4/sbp_c_test.c.j2 b/generator/sbpg/targets/resources/c/test/v4/sbp_c_test.c.j2 index e5d5a2ed94..16a3e6cb78 100644 --- a/generator/sbpg/targets/resources/c/test/v4/sbp_c_test.c.j2 +++ b/generator/sbpg/targets/resources/c/test/v4/sbp_c_test.c.j2 @@ -16,7 +16,7 @@ #include // for debugging #include // for malloc #include -#include +#include static struct { u32 n_callbacks_logged; From 698c5489b3d9e8c06fefdf1fadb9bc595e68b237 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 08:46:55 +1100 Subject: [PATCH 04/19] Move public headers for sbp_string to top level include directory --- c/include/libsbp/acquisition/AcqSvProfile.h | 2 +- .../libsbp/acquisition/AcqSvProfileDep.h | 2 +- c/include/libsbp/acquisition/MSG_ACQ_RESULT.h | 2 +- .../libsbp/acquisition/MSG_ACQ_RESULT_DEP_A.h | 2 +- .../libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h | 2 +- .../libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h | 2 +- .../libsbp/acquisition/MSG_ACQ_SV_PROFILE.h | 2 +- .../acquisition/MSG_ACQ_SV_PROFILE_DEP.h | 2 +- .../bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h | 2 +- .../bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h | 2 +- .../bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h | 2 +- .../bootload/MSG_BOOTLOADER_JUMP_TO_APP.h | 2 +- .../libsbp/bootload/MSG_NAP_DEVICE_DNA_REQ.h | 2 +- .../libsbp/bootload/MSG_NAP_DEVICE_DNA_RESP.h | 2 +- c/include/libsbp/ext_events/MSG_EXT_EVENT.h | 2 +- .../libsbp/file_io/MSG_FILEIO_CONFIG_REQ.h | 2 +- .../libsbp/file_io/MSG_FILEIO_CONFIG_RESP.h | 2 +- .../libsbp/file_io/MSG_FILEIO_READ_DIR_REQ.h | 2 +- .../libsbp/file_io/MSG_FILEIO_READ_DIR_RESP.h | 2 +- .../libsbp/file_io/MSG_FILEIO_READ_REQ.h | 2 +- .../libsbp/file_io/MSG_FILEIO_READ_RESP.h | 2 +- c/include/libsbp/file_io/MSG_FILEIO_REMOVE.h | 2 +- .../libsbp/file_io/MSG_FILEIO_WRITE_REQ.h | 2 +- .../libsbp/file_io/MSG_FILEIO_WRITE_RESP.h | 2 +- c/include/libsbp/flash/MSG_FLASH_DONE.h | 2 +- c/include/libsbp/flash/MSG_FLASH_ERASE.h | 2 +- c/include/libsbp/flash/MSG_FLASH_PROGRAM.h | 2 +- c/include/libsbp/flash/MSG_FLASH_READ_REQ.h | 2 +- c/include/libsbp/flash/MSG_FLASH_READ_RESP.h | 2 +- .../libsbp/flash/MSG_M25_FLASH_WRITE_STATUS.h | 2 +- .../libsbp/flash/MSG_STM_FLASH_LOCK_SECTOR.h | 2 +- .../flash/MSG_STM_FLASH_UNLOCK_SECTOR.h | 2 +- .../libsbp/flash/MSG_STM_UNIQUE_ID_REQ.h | 2 +- .../libsbp/flash/MSG_STM_UNIQUE_ID_RESP.h | 2 +- c/include/libsbp/gnss/CarrierPhase.h | 2 +- c/include/libsbp/gnss/GPSTime.h | 2 +- c/include/libsbp/gnss/GPSTimeDep.h | 2 +- c/include/libsbp/gnss/GPSTimeSec.h | 2 +- c/include/libsbp/gnss/GnssSignal.h | 2 +- c/include/libsbp/gnss/GnssSignalDep.h | 2 +- c/include/libsbp/gnss/SvId.h | 2 +- c/include/libsbp/imu/MSG_IMU_AUX.h | 2 +- c/include/libsbp/imu/MSG_IMU_RAW.h | 2 +- .../libsbp/integrity/IntegritySSRHeader.h | 2 +- c/include/libsbp/integrity/MSG_ACKNOWLEDGE.h | 2 +- .../integrity/MSG_SSR_FLAG_HIGH_LEVEL.h | 2 +- .../integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h | 2 +- .../MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h | 2 +- .../MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h | 2 +- .../integrity/MSG_SSR_FLAG_SATELLITES.h | 2 +- .../MSG_SSR_FLAG_TROPO_GRID_POINTS.h | 2 +- c/include/libsbp/linux/MSG_LINUX_CPU_STATE.h | 2 +- .../libsbp/linux/MSG_LINUX_CPU_STATE_DEP_A.h | 2 +- c/include/libsbp/linux/MSG_LINUX_MEM_STATE.h | 2 +- .../libsbp/linux/MSG_LINUX_MEM_STATE_DEP_A.h | 2 +- .../libsbp/linux/MSG_LINUX_PROCESS_FD_COUNT.h | 2 +- .../linux/MSG_LINUX_PROCESS_FD_SUMMARY.h | 2 +- .../linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h | 2 +- .../linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h | 2 +- .../libsbp/linux/MSG_LINUX_SOCKET_USAGE.h | 2 +- c/include/libsbp/linux/MSG_LINUX_SYS_STATE.h | 2 +- .../libsbp/linux/MSG_LINUX_SYS_STATE_DEP_A.h | 2 +- c/include/libsbp/logging/MSG_FWD.h | 2 +- c/include/libsbp/logging/MSG_LOG.h | 2 +- c/include/libsbp/logging/MSG_PRINT_DEP.h | 2 +- c/include/libsbp/mag/MSG_MAG_RAW.h | 2 +- .../EstimatedHorizontalErrorEllipse.h | 2 +- .../libsbp/navigation/MSG_AGE_CORRECTIONS.h | 2 +- .../libsbp/navigation/MSG_BASELINE_ECEF.h | 2 +- .../navigation/MSG_BASELINE_ECEF_DEP_A.h | 2 +- .../navigation/MSG_BASELINE_HEADING_DEP_A.h | 2 +- .../libsbp/navigation/MSG_BASELINE_NED.h | 2 +- .../navigation/MSG_BASELINE_NED_DEP_A.h | 2 +- c/include/libsbp/navigation/MSG_DOPS.h | 2 +- c/include/libsbp/navigation/MSG_DOPS_DEP_A.h | 2 +- c/include/libsbp/navigation/MSG_GPS_TIME.h | 2 +- .../libsbp/navigation/MSG_GPS_TIME_DEP_A.h | 2 +- .../libsbp/navigation/MSG_GPS_TIME_GNSS.h | 2 +- .../libsbp/navigation/MSG_POSE_RELATIVE.h | 2 +- c/include/libsbp/navigation/MSG_POS_ECEF.h | 2 +- .../libsbp/navigation/MSG_POS_ECEF_COV.h | 2 +- .../libsbp/navigation/MSG_POS_ECEF_COV_GNSS.h | 2 +- .../libsbp/navigation/MSG_POS_ECEF_DEP_A.h | 2 +- .../libsbp/navigation/MSG_POS_ECEF_GNSS.h | 2 +- c/include/libsbp/navigation/MSG_POS_LLH.h | 2 +- c/include/libsbp/navigation/MSG_POS_LLH_ACC.h | 2 +- c/include/libsbp/navigation/MSG_POS_LLH_COV.h | 2 +- .../libsbp/navigation/MSG_POS_LLH_COV_GNSS.h | 2 +- .../libsbp/navigation/MSG_POS_LLH_DEP_A.h | 2 +- .../libsbp/navigation/MSG_POS_LLH_GNSS.h | 2 +- .../libsbp/navigation/MSG_PROTECTION_LEVEL.h | 2 +- .../navigation/MSG_PROTECTION_LEVEL_DEP_A.h | 2 +- .../navigation/MSG_REFERENCE_FRAME_PARAM.h | 2 +- .../libsbp/navigation/MSG_UTC_LEAP_SECOND.h | 2 +- c/include/libsbp/navigation/MSG_UTC_TIME.h | 2 +- .../libsbp/navigation/MSG_UTC_TIME_GNSS.h | 2 +- c/include/libsbp/navigation/MSG_VEL_BODY.h | 2 +- c/include/libsbp/navigation/MSG_VEL_COG.h | 2 +- c/include/libsbp/navigation/MSG_VEL_ECEF.h | 2 +- .../libsbp/navigation/MSG_VEL_ECEF_COV.h | 2 +- .../libsbp/navigation/MSG_VEL_ECEF_COV_GNSS.h | 2 +- .../libsbp/navigation/MSG_VEL_ECEF_DEP_A.h | 2 +- .../libsbp/navigation/MSG_VEL_ECEF_GNSS.h | 2 +- c/include/libsbp/navigation/MSG_VEL_NED.h | 2 +- c/include/libsbp/navigation/MSG_VEL_NED_COV.h | 2 +- .../libsbp/navigation/MSG_VEL_NED_COV_GNSS.h | 2 +- .../libsbp/navigation/MSG_VEL_NED_DEP_A.h | 2 +- .../libsbp/navigation/MSG_VEL_NED_GNSS.h | 2 +- c/include/libsbp/ndb/MSG_NDB_EVENT.h | 2 +- .../libsbp/observation/AlmanacCommonContent.h | 2 +- .../observation/AlmanacCommonContentDep.h | 2 +- .../libsbp/observation/CarrierPhaseDepA.h | 2 +- c/include/libsbp/observation/Doppler.h | 2 +- .../observation/EphemerisCommonContent.h | 2 +- .../observation/EphemerisCommonContentDepA.h | 2 +- .../observation/EphemerisCommonContentDepB.h | 2 +- c/include/libsbp/observation/GnssCapb.h | 2 +- .../libsbp/observation/MSG_ALMANAC_GLO.h | 2 +- .../libsbp/observation/MSG_ALMANAC_GLO_DEP.h | 2 +- .../libsbp/observation/MSG_ALMANAC_GPS.h | 2 +- .../libsbp/observation/MSG_ALMANAC_GPS_DEP.h | 2 +- .../libsbp/observation/MSG_BASE_POS_ECEF.h | 2 +- .../libsbp/observation/MSG_BASE_POS_LLH.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_BDS.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_DEP_A.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_DEP_B.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_DEP_C.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_DEP_D.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_GAL.h | 2 +- .../observation/MSG_EPHEMERIS_GAL_DEP_A.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_GLO.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_A.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_B.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_C.h | 2 +- .../observation/MSG_EPHEMERIS_GLO_DEP_D.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_GPS.h | 2 +- .../observation/MSG_EPHEMERIS_GPS_DEP_E.h | 2 +- .../observation/MSG_EPHEMERIS_GPS_DEP_F.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_QZSS.h | 2 +- .../libsbp/observation/MSG_EPHEMERIS_SBAS.h | 2 +- .../observation/MSG_EPHEMERIS_SBAS_DEP_A.h | 2 +- .../observation/MSG_EPHEMERIS_SBAS_DEP_B.h | 2 +- c/include/libsbp/observation/MSG_GLO_BIASES.h | 2 +- c/include/libsbp/observation/MSG_GNSS_CAPB.h | 2 +- .../libsbp/observation/MSG_GROUP_DELAY.h | 2 +- .../observation/MSG_GROUP_DELAY_DEP_A.h | 2 +- .../observation/MSG_GROUP_DELAY_DEP_B.h | 2 +- c/include/libsbp/observation/MSG_IONO.h | 2 +- c/include/libsbp/observation/MSG_OBS.h | 2 +- c/include/libsbp/observation/MSG_OBS_DEP_A.h | 2 +- c/include/libsbp/observation/MSG_OBS_DEP_B.h | 2 +- c/include/libsbp/observation/MSG_OBS_DEP_C.h | 2 +- c/include/libsbp/observation/MSG_OSR.h | 2 +- c/include/libsbp/observation/MSG_SV_AZ_EL.h | 2 +- .../MSG_SV_CONFIGURATION_GPS_DEP.h | 2 +- .../libsbp/observation/ObservationHeader.h | 2 +- .../libsbp/observation/ObservationHeaderDep.h | 2 +- .../libsbp/observation/PackedObsContent.h | 2 +- .../libsbp/observation/PackedObsContentDepA.h | 2 +- .../libsbp/observation/PackedObsContentDepB.h | 2 +- .../libsbp/observation/PackedObsContentDepC.h | 2 +- .../libsbp/observation/PackedOsrContent.h | 2 +- c/include/libsbp/observation/SvAzEl.h | 2 +- .../libsbp/orientation/MSG_ANGULAR_RATE.h | 2 +- .../libsbp/orientation/MSG_BASELINE_HEADING.h | 2 +- .../libsbp/orientation/MSG_ORIENT_EULER.h | 2 +- .../libsbp/orientation/MSG_ORIENT_QUAT.h | 2 +- c/include/libsbp/piksi/Latency.h | 2 +- c/include/libsbp/piksi/MSG_ALMANAC.h | 2 +- .../libsbp/piksi/MSG_CELL_MODEM_STATUS.h | 2 +- c/include/libsbp/piksi/MSG_COMMAND_OUTPUT.h | 2 +- c/include/libsbp/piksi/MSG_COMMAND_REQ.h | 2 +- c/include/libsbp/piksi/MSG_COMMAND_RESP.h | 2 +- c/include/libsbp/piksi/MSG_CW_RESULTS.h | 2 +- c/include/libsbp/piksi/MSG_CW_START.h | 2 +- c/include/libsbp/piksi/MSG_DEVICE_MONITOR.h | 2 +- c/include/libsbp/piksi/MSG_FRONT_END_GAIN.h | 2 +- c/include/libsbp/piksi/MSG_IAR_STATE.h | 2 +- c/include/libsbp/piksi/MSG_INIT_BASE_DEP.h | 2 +- c/include/libsbp/piksi/MSG_MASK_SATELLITE.h | 2 +- .../libsbp/piksi/MSG_MASK_SATELLITE_DEP.h | 2 +- .../piksi/MSG_NETWORK_BANDWIDTH_USAGE.h | 2 +- .../libsbp/piksi/MSG_NETWORK_STATE_REQ.h | 2 +- .../libsbp/piksi/MSG_NETWORK_STATE_RESP.h | 2 +- c/include/libsbp/piksi/MSG_RESET.h | 2 +- c/include/libsbp/piksi/MSG_RESET_DEP.h | 2 +- c/include/libsbp/piksi/MSG_RESET_FILTERS.h | 2 +- c/include/libsbp/piksi/MSG_SET_TIME.h | 2 +- c/include/libsbp/piksi/MSG_SPECAN.h | 2 +- c/include/libsbp/piksi/MSG_SPECAN_DEP.h | 2 +- c/include/libsbp/piksi/MSG_THREAD_STATE.h | 2 +- c/include/libsbp/piksi/MSG_UART_STATE.h | 2 +- c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h | 2 +- c/include/libsbp/piksi/NetworkUsage.h | 2 +- c/include/libsbp/piksi/Period.h | 2 +- c/include/libsbp/piksi/UARTChannel.h | 2 +- c/include/libsbp/sbas/MSG_SBAS_RAW.h | 2 +- .../MSG_SETTINGS_READ_BY_INDEX_DONE.h | 2 +- .../settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h | 2 +- .../MSG_SETTINGS_READ_BY_INDEX_RESP.h | 2 +- .../libsbp/settings/MSG_SETTINGS_READ_REQ.h | 2 +- .../libsbp/settings/MSG_SETTINGS_READ_RESP.h | 2 +- .../libsbp/settings/MSG_SETTINGS_REGISTER.h | 2 +- .../settings/MSG_SETTINGS_REGISTER_RESP.h | 2 +- c/include/libsbp/settings/MSG_SETTINGS_SAVE.h | 2 +- .../libsbp/settings/MSG_SETTINGS_WRITE.h | 2 +- .../libsbp/settings/MSG_SETTINGS_WRITE_RESP.h | 2 +- c/include/libsbp/signing/ECDSASignature.h | 2 +- .../libsbp/signing/MSG_CERTIFICATE_CHAIN.h | 2 +- .../signing/MSG_CERTIFICATE_CHAIN_DEP.h | 2 +- .../libsbp/signing/MSG_ECDSA_CERTIFICATE.h | 2 +- .../libsbp/signing/MSG_ECDSA_SIGNATURE.h | 2 +- .../signing/MSG_ECDSA_SIGNATURE_DEP_A.h | 2 +- .../signing/MSG_ECDSA_SIGNATURE_DEP_B.h | 2 +- .../signing/MSG_ED25519_CERTIFICATE_DEP.h | 2 +- .../signing/MSG_ED25519_SIGNATURE_DEP_A.h | 2 +- .../signing/MSG_ED25519_SIGNATURE_DEP_B.h | 2 +- c/include/libsbp/signing/UtcTime.h | 2 +- .../libsbp/solution_meta/GNSSInputType.h | 2 +- c/include/libsbp/solution_meta/IMUInputType.h | 2 +- .../libsbp/solution_meta/MSG_SOLN_META.h | 2 +- .../solution_meta/MSG_SOLN_META_DEP_A.h | 2 +- c/include/libsbp/solution_meta/OdoInputType.h | 2 +- .../libsbp/solution_meta/SolutionInputType.h | 2 +- c/include/libsbp/ssr/BoundsHeader.h | 2 +- c/include/libsbp/ssr/CodeBiasesContent.h | 2 +- c/include/libsbp/ssr/CodePhaseBiasesSatSig.h | 2 +- .../libsbp/ssr/GridDefinitionHeaderDepA.h | 2 +- .../libsbp/ssr/GriddedCorrectionHeader.h | 2 +- .../libsbp/ssr/GriddedCorrectionHeaderDepA.h | 2 +- c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h | 2 +- .../ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h | 2 +- .../libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h | 2 +- .../ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h | 2 +- .../ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h | 2 +- .../MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h | 2 +- .../ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h | 2 +- c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h | 2 +- .../libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h | 2 +- .../MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h | 2 +- .../libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h | 2 +- c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h | 2 +- c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h | 2 +- .../libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h | 2 +- .../libsbp/ssr/MSG_SSR_STEC_CORRECTION.h | 2 +- .../libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h | 2 +- .../ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h | 2 +- .../libsbp/ssr/MSG_SSR_TILE_DEFINITION.h | 2 +- .../ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h | 2 +- .../ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h | 2 +- c/include/libsbp/ssr/OrbitClockBound.h | 2 +- .../libsbp/ssr/OrbitClockBoundDegradation.h | 2 +- c/include/libsbp/ssr/PhaseBiasesContent.h | 2 +- c/include/libsbp/ssr/STECHeader.h | 2 +- c/include/libsbp/ssr/STECHeaderDepA.h | 2 +- c/include/libsbp/ssr/STECResidual.h | 2 +- c/include/libsbp/ssr/STECResidualNoStd.h | 2 +- c/include/libsbp/ssr/STECSatElement.h | 2 +- .../libsbp/ssr/STECSatElementIntegrity.h | 2 +- c/include/libsbp/ssr/SatelliteAPC.h | 2 +- .../libsbp/ssr/TroposphericDelayCorrection.h | 2 +- .../ssr/TroposphericDelayCorrectionNoStd.h | 2 +- c/include/libsbp/{v4 => }/string/sbp_string.h | 0 c/include/libsbp/system/MSG_CSAC_TELEMETRY.h | 2 +- .../libsbp/system/MSG_CSAC_TELEMETRY_LABELS.h | 2 +- c/include/libsbp/system/MSG_DGNSS_STATUS.h | 2 +- .../libsbp/system/MSG_GNSS_TIME_OFFSET.h | 2 +- c/include/libsbp/system/MSG_GROUP_META.h | 2 +- c/include/libsbp/system/MSG_HEARTBEAT.h | 2 +- c/include/libsbp/system/MSG_INS_STATUS.h | 2 +- c/include/libsbp/system/MSG_INS_UPDATES.h | 2 +- c/include/libsbp/system/MSG_PPS_TIME.h | 2 +- .../libsbp/system/MSG_SENSOR_AID_EVENT.h | 2 +- c/include/libsbp/system/MSG_STARTUP.h | 2 +- c/include/libsbp/system/MSG_STATUS_JOURNAL.h | 2 +- c/include/libsbp/system/MSG_STATUS_REPORT.h | 2 +- c/include/libsbp/system/StatusJournalItem.h | 2 +- c/include/libsbp/system/SubSystemReport.h | 2 +- c/include/libsbp/telemetry/MSG_TEL_SV.h | 2 +- c/include/libsbp/telemetry/TelemetrySV.h | 2 +- .../libsbp/tracking/MSG_MEASUREMENT_STATE.h | 2 +- c/include/libsbp/tracking/MSG_TRACKING_IQ.h | 2 +- .../libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h | 2 +- .../libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h | 2 +- .../libsbp/tracking/MSG_TRACKING_STATE.h | 2 +- .../tracking/MSG_TRACKING_STATE_DEP_A.h | 2 +- .../tracking/MSG_TRACKING_STATE_DEP_B.h | 2 +- .../MSG_TRACKING_STATE_DETAILED_DEP.h | 2 +- .../MSG_TRACKING_STATE_DETAILED_DEP_A.h | 2 +- c/include/libsbp/tracking/MeasurementState.h | 2 +- .../tracking/TrackingChannelCorrelation.h | 2 +- .../tracking/TrackingChannelCorrelationDep.h | 2 +- .../libsbp/tracking/TrackingChannelState.h | 2 +- .../tracking/TrackingChannelStateDepA.h | 2 +- .../tracking/TrackingChannelStateDepB.h | 2 +- c/include/libsbp/user/MSG_USER_DATA.h | 2 +- c/include/libsbp/vehicle/MSG_ODOMETRY.h | 2 +- c/include/libsbp/vehicle/MSG_WHEELTICK.h | 2 +- .../v4/string/double_null_terminated.h | 24 +++++----- .../libsbp/internal/v4/string/multipart.h | 17 +++---- .../internal/v4/string/null_terminated.h | 30 ++++++------- .../libsbp/internal/v4/string/sbp_string.h | 14 +++--- .../libsbp/internal/v4/string/unterminated.h | 45 ++++++++++--------- c/src/v4/string/sbp_string.c | 13 +++--- .../libsbp/package/sbp_messages_template.h | 2 +- 305 files changed, 367 insertions(+), 372 deletions(-) rename c/include/libsbp/{v4 => }/string/sbp_string.h (100%) diff --git a/c/include/libsbp/acquisition/AcqSvProfile.h b/c/include/libsbp/acquisition/AcqSvProfile.h index 08383b8b2d..f9eaa76dac 100644 --- a/c/include/libsbp/acquisition/AcqSvProfile.h +++ b/c/include/libsbp/acquisition/AcqSvProfile.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/acquisition/AcqSvProfileDep.h b/c/include/libsbp/acquisition/AcqSvProfileDep.h index c44a7885fb..c143ab55fa 100644 --- a/c/include/libsbp/acquisition/AcqSvProfileDep.h +++ b/c/include/libsbp/acquisition/AcqSvProfileDep.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/acquisition/MSG_ACQ_RESULT.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT.h index 80c4a2c3b9..fae18d7411 100644 --- a/c/include/libsbp/acquisition/MSG_ACQ_RESULT.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_RESULT.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_A.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_A.h index 48908fc9f6..058b63f43d 100644 --- a/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_A.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h index 1b16f69291..73f3e28e03 100644 --- a/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_B.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h index fdfd2b372f..e5f34376dd 100644 --- a/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_RESULT_DEP_C.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE.h b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE.h index 44dec598a9..65ebad9f8d 100644 --- a/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE_DEP.h b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE_DEP.h index 0cffd7b6b4..cb517afc6b 100644 --- a/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE_DEP.h +++ b/c/include/libsbp/acquisition/MSG_ACQ_SV_PROFILE_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h index 4b3f8d6b09..0ce25e5589 100644 --- a/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h +++ b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h index f0a39566fb..8033fcbc01 100644 --- a/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h +++ b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h index ca6c9b9848..196c7270ef 100644 --- a/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h +++ b/c/include/libsbp/bootload/MSG_BOOTLOADER_HANDSHAKE_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h b/c/include/libsbp/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h index c90d9bfcf4..851bff9b33 100644 --- a/c/include/libsbp/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h +++ b/c/include/libsbp/bootload/MSG_BOOTLOADER_JUMP_TO_APP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_REQ.h b/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_REQ.h index 375c11f338..26c0f4247c 100644 --- a/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_REQ.h +++ b/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_RESP.h b/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_RESP.h index 6f75a9c240..5a6edcd318 100644 --- a/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_RESP.h +++ b/c/include/libsbp/bootload/MSG_NAP_DEVICE_DNA_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ext_events/MSG_EXT_EVENT.h b/c/include/libsbp/ext_events/MSG_EXT_EVENT.h index 3a8bcc557e..72f830b6fa 100644 --- a/c/include/libsbp/ext_events/MSG_EXT_EVENT.h +++ b/c/include/libsbp/ext_events/MSG_EXT_EVENT.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_REQ.h index 21f53b0585..8fcbb10134 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_REQ.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_RESP.h index dddc7c04f5..25f622e244 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_RESP.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_CONFIG_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_REQ.h index ef7a179dde..50eaeb2fcf 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_REQ.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_RESP.h index 2aaea8be2c..aeb71f1c20 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_RESP.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_READ_DIR_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_READ_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_REQ.h index 6d03b22d1d..3f44760981 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_READ_REQ.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_READ_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_READ_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_READ_RESP.h index e714acad77..13b232b721 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_READ_RESP.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_READ_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_REMOVE.h b/c/include/libsbp/file_io/MSG_FILEIO_REMOVE.h index 9373b9a7ae..65e33ebc6a 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_REMOVE.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_REMOVE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_WRITE_REQ.h b/c/include/libsbp/file_io/MSG_FILEIO_WRITE_REQ.h index 0cb8daae08..73a4afbc23 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_WRITE_REQ.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_WRITE_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/file_io/MSG_FILEIO_WRITE_RESP.h b/c/include/libsbp/file_io/MSG_FILEIO_WRITE_RESP.h index 6f4c3141ae..e6cbf227f4 100644 --- a/c/include/libsbp/file_io/MSG_FILEIO_WRITE_RESP.h +++ b/c/include/libsbp/file_io/MSG_FILEIO_WRITE_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_FLASH_DONE.h b/c/include/libsbp/flash/MSG_FLASH_DONE.h index 4ebc4c4328..2b66ebcc13 100644 --- a/c/include/libsbp/flash/MSG_FLASH_DONE.h +++ b/c/include/libsbp/flash/MSG_FLASH_DONE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_FLASH_ERASE.h b/c/include/libsbp/flash/MSG_FLASH_ERASE.h index 399e2d5e38..100fe44352 100644 --- a/c/include/libsbp/flash/MSG_FLASH_ERASE.h +++ b/c/include/libsbp/flash/MSG_FLASH_ERASE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_FLASH_PROGRAM.h b/c/include/libsbp/flash/MSG_FLASH_PROGRAM.h index cde05eac7b..92ebc32a35 100644 --- a/c/include/libsbp/flash/MSG_FLASH_PROGRAM.h +++ b/c/include/libsbp/flash/MSG_FLASH_PROGRAM.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_FLASH_READ_REQ.h b/c/include/libsbp/flash/MSG_FLASH_READ_REQ.h index 7843c07581..5f0ab67f58 100644 --- a/c/include/libsbp/flash/MSG_FLASH_READ_REQ.h +++ b/c/include/libsbp/flash/MSG_FLASH_READ_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_FLASH_READ_RESP.h b/c/include/libsbp/flash/MSG_FLASH_READ_RESP.h index c27f61c0a1..6927da58f5 100644 --- a/c/include/libsbp/flash/MSG_FLASH_READ_RESP.h +++ b/c/include/libsbp/flash/MSG_FLASH_READ_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_M25_FLASH_WRITE_STATUS.h b/c/include/libsbp/flash/MSG_M25_FLASH_WRITE_STATUS.h index 766013cdf0..89844362a4 100644 --- a/c/include/libsbp/flash/MSG_M25_FLASH_WRITE_STATUS.h +++ b/c/include/libsbp/flash/MSG_M25_FLASH_WRITE_STATUS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_STM_FLASH_LOCK_SECTOR.h b/c/include/libsbp/flash/MSG_STM_FLASH_LOCK_SECTOR.h index b4c93742f9..cc68ec087c 100644 --- a/c/include/libsbp/flash/MSG_STM_FLASH_LOCK_SECTOR.h +++ b/c/include/libsbp/flash/MSG_STM_FLASH_LOCK_SECTOR.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h b/c/include/libsbp/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h index 6105a354b6..6f5ba4061a 100644 --- a/c/include/libsbp/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h +++ b/c/include/libsbp/flash/MSG_STM_FLASH_UNLOCK_SECTOR.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_REQ.h b/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_REQ.h index 86a9ca476a..aea7b9517f 100644 --- a/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_REQ.h +++ b/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_RESP.h b/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_RESP.h index c9b73e79c7..a49c595e3f 100644 --- a/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_RESP.h +++ b/c/include/libsbp/flash/MSG_STM_UNIQUE_ID_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/gnss/CarrierPhase.h b/c/include/libsbp/gnss/CarrierPhase.h index bacfd77667..b0930878a1 100644 --- a/c/include/libsbp/gnss/CarrierPhase.h +++ b/c/include/libsbp/gnss/CarrierPhase.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/gnss/GPSTime.h b/c/include/libsbp/gnss/GPSTime.h index c6cb776120..0bae6919a6 100644 --- a/c/include/libsbp/gnss/GPSTime.h +++ b/c/include/libsbp/gnss/GPSTime.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/gnss/GPSTimeDep.h b/c/include/libsbp/gnss/GPSTimeDep.h index 1b1157bb80..b92e944d4b 100644 --- a/c/include/libsbp/gnss/GPSTimeDep.h +++ b/c/include/libsbp/gnss/GPSTimeDep.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/gnss/GPSTimeSec.h b/c/include/libsbp/gnss/GPSTimeSec.h index 184cb18f13..81bb141311 100644 --- a/c/include/libsbp/gnss/GPSTimeSec.h +++ b/c/include/libsbp/gnss/GPSTimeSec.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/gnss/GnssSignal.h b/c/include/libsbp/gnss/GnssSignal.h index 009c4671ad..f7816fb37d 100644 --- a/c/include/libsbp/gnss/GnssSignal.h +++ b/c/include/libsbp/gnss/GnssSignal.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/gnss/GnssSignalDep.h b/c/include/libsbp/gnss/GnssSignalDep.h index 9212303355..1429ef1e09 100644 --- a/c/include/libsbp/gnss/GnssSignalDep.h +++ b/c/include/libsbp/gnss/GnssSignalDep.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/gnss/SvId.h b/c/include/libsbp/gnss/SvId.h index 8a695e3dd9..90b8a17980 100644 --- a/c/include/libsbp/gnss/SvId.h +++ b/c/include/libsbp/gnss/SvId.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/imu/MSG_IMU_AUX.h b/c/include/libsbp/imu/MSG_IMU_AUX.h index 2efc7cb673..23dfe0e95e 100644 --- a/c/include/libsbp/imu/MSG_IMU_AUX.h +++ b/c/include/libsbp/imu/MSG_IMU_AUX.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/imu/MSG_IMU_RAW.h b/c/include/libsbp/imu/MSG_IMU_RAW.h index 0ef96ca41f..b041586576 100644 --- a/c/include/libsbp/imu/MSG_IMU_RAW.h +++ b/c/include/libsbp/imu/MSG_IMU_RAW.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/IntegritySSRHeader.h b/c/include/libsbp/integrity/IntegritySSRHeader.h index 0f279827b9..5fff278761 100644 --- a/c/include/libsbp/integrity/IntegritySSRHeader.h +++ b/c/include/libsbp/integrity/IntegritySSRHeader.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/MSG_ACKNOWLEDGE.h b/c/include/libsbp/integrity/MSG_ACKNOWLEDGE.h index 180eb3741c..d8b4abe2b1 100644 --- a/c/include/libsbp/integrity/MSG_ACKNOWLEDGE.h +++ b/c/include/libsbp/integrity/MSG_ACKNOWLEDGE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h index 9f45e77deb..03af7a3fd6 100644 --- a/c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h index 475f023c4e..e51ddf0c0a 100644 --- a/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h index f5957f0936..9f32d79f73 100644 --- a/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h index ed71b4a06c..2b2cf82610 100644 --- a/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/MSG_SSR_FLAG_SATELLITES.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_SATELLITES.h index 5814322985..0754a695ab 100644 --- a/c/include/libsbp/integrity/MSG_SSR_FLAG_SATELLITES.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_SATELLITES.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h b/c/include/libsbp/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h index ead8b154e4..0f802238d9 100644 --- a/c/include/libsbp/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h +++ b/c/include/libsbp/integrity/MSG_SSR_FLAG_TROPO_GRID_POINTS.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_CPU_STATE.h b/c/include/libsbp/linux/MSG_LINUX_CPU_STATE.h index 9fa9ee24b3..a177a83898 100644 --- a/c/include/libsbp/linux/MSG_LINUX_CPU_STATE.h +++ b/c/include/libsbp/linux/MSG_LINUX_CPU_STATE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_CPU_STATE_DEP_A.h b/c/include/libsbp/linux/MSG_LINUX_CPU_STATE_DEP_A.h index a5cf76650e..cf77ec990c 100644 --- a/c/include/libsbp/linux/MSG_LINUX_CPU_STATE_DEP_A.h +++ b/c/include/libsbp/linux/MSG_LINUX_CPU_STATE_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_MEM_STATE.h b/c/include/libsbp/linux/MSG_LINUX_MEM_STATE.h index 2f94e3b7a5..2df5f30d17 100644 --- a/c/include/libsbp/linux/MSG_LINUX_MEM_STATE.h +++ b/c/include/libsbp/linux/MSG_LINUX_MEM_STATE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_MEM_STATE_DEP_A.h b/c/include/libsbp/linux/MSG_LINUX_MEM_STATE_DEP_A.h index 76abcef686..07b65c3e41 100644 --- a/c/include/libsbp/linux/MSG_LINUX_MEM_STATE_DEP_A.h +++ b/c/include/libsbp/linux/MSG_LINUX_MEM_STATE_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_COUNT.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_COUNT.h index 01529b8dc8..1d38c38030 100644 --- a/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_COUNT.h +++ b/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_COUNT.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h index b047a61b29..9f3bcf39fe 100644 --- a/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h +++ b/c/include/libsbp/linux/MSG_LINUX_PROCESS_FD_SUMMARY.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h index 63443628f2..87018b21d2 100644 --- a/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h +++ b/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_COUNTS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h b/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h index 395b24fd78..1192148514 100644 --- a/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h +++ b/c/include/libsbp/linux/MSG_LINUX_PROCESS_SOCKET_QUEUES.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_SOCKET_USAGE.h b/c/include/libsbp/linux/MSG_LINUX_SOCKET_USAGE.h index 60a537e4d5..ede2eb0689 100644 --- a/c/include/libsbp/linux/MSG_LINUX_SOCKET_USAGE.h +++ b/c/include/libsbp/linux/MSG_LINUX_SOCKET_USAGE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_SYS_STATE.h b/c/include/libsbp/linux/MSG_LINUX_SYS_STATE.h index a9bc5415ae..dacd37dd48 100644 --- a/c/include/libsbp/linux/MSG_LINUX_SYS_STATE.h +++ b/c/include/libsbp/linux/MSG_LINUX_SYS_STATE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/linux/MSG_LINUX_SYS_STATE_DEP_A.h b/c/include/libsbp/linux/MSG_LINUX_SYS_STATE_DEP_A.h index c2dbdc76dc..6fa944ccf3 100644 --- a/c/include/libsbp/linux/MSG_LINUX_SYS_STATE_DEP_A.h +++ b/c/include/libsbp/linux/MSG_LINUX_SYS_STATE_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/logging/MSG_FWD.h b/c/include/libsbp/logging/MSG_FWD.h index 00c9560aa5..b559603cee 100644 --- a/c/include/libsbp/logging/MSG_FWD.h +++ b/c/include/libsbp/logging/MSG_FWD.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/logging/MSG_LOG.h b/c/include/libsbp/logging/MSG_LOG.h index 3d406f2cf8..92823eb02f 100644 --- a/c/include/libsbp/logging/MSG_LOG.h +++ b/c/include/libsbp/logging/MSG_LOG.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/logging/MSG_PRINT_DEP.h b/c/include/libsbp/logging/MSG_PRINT_DEP.h index f2538eef0c..7b0951a833 100644 --- a/c/include/libsbp/logging/MSG_PRINT_DEP.h +++ b/c/include/libsbp/logging/MSG_PRINT_DEP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/mag/MSG_MAG_RAW.h b/c/include/libsbp/mag/MSG_MAG_RAW.h index f25dd9ff42..91501b59bc 100644 --- a/c/include/libsbp/mag/MSG_MAG_RAW.h +++ b/c/include/libsbp/mag/MSG_MAG_RAW.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/EstimatedHorizontalErrorEllipse.h b/c/include/libsbp/navigation/EstimatedHorizontalErrorEllipse.h index de6ba093f6..fd7ccef471 100644 --- a/c/include/libsbp/navigation/EstimatedHorizontalErrorEllipse.h +++ b/c/include/libsbp/navigation/EstimatedHorizontalErrorEllipse.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_AGE_CORRECTIONS.h b/c/include/libsbp/navigation/MSG_AGE_CORRECTIONS.h index d27e0db14a..cb2759ebdd 100644 --- a/c/include/libsbp/navigation/MSG_AGE_CORRECTIONS.h +++ b/c/include/libsbp/navigation/MSG_AGE_CORRECTIONS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_BASELINE_ECEF.h b/c/include/libsbp/navigation/MSG_BASELINE_ECEF.h index a5539410d4..de883b0195 100644 --- a/c/include/libsbp/navigation/MSG_BASELINE_ECEF.h +++ b/c/include/libsbp/navigation/MSG_BASELINE_ECEF.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_BASELINE_ECEF_DEP_A.h b/c/include/libsbp/navigation/MSG_BASELINE_ECEF_DEP_A.h index 7af86dd05f..2c75708742 100644 --- a/c/include/libsbp/navigation/MSG_BASELINE_ECEF_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_BASELINE_ECEF_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_BASELINE_HEADING_DEP_A.h b/c/include/libsbp/navigation/MSG_BASELINE_HEADING_DEP_A.h index 54c6cb495d..5f58e914a0 100644 --- a/c/include/libsbp/navigation/MSG_BASELINE_HEADING_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_BASELINE_HEADING_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_BASELINE_NED.h b/c/include/libsbp/navigation/MSG_BASELINE_NED.h index d1f4e5a7a0..cf61c0c7ea 100644 --- a/c/include/libsbp/navigation/MSG_BASELINE_NED.h +++ b/c/include/libsbp/navigation/MSG_BASELINE_NED.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_BASELINE_NED_DEP_A.h b/c/include/libsbp/navigation/MSG_BASELINE_NED_DEP_A.h index 56fdf5869b..35e0de5012 100644 --- a/c/include/libsbp/navigation/MSG_BASELINE_NED_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_BASELINE_NED_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_DOPS.h b/c/include/libsbp/navigation/MSG_DOPS.h index a21db140dd..41ef92c040 100644 --- a/c/include/libsbp/navigation/MSG_DOPS.h +++ b/c/include/libsbp/navigation/MSG_DOPS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_DOPS_DEP_A.h b/c/include/libsbp/navigation/MSG_DOPS_DEP_A.h index 724aa7ff6b..ec0f120014 100644 --- a/c/include/libsbp/navigation/MSG_DOPS_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_DOPS_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_GPS_TIME.h b/c/include/libsbp/navigation/MSG_GPS_TIME.h index 78bd6b2c78..b4d4bbf49e 100644 --- a/c/include/libsbp/navigation/MSG_GPS_TIME.h +++ b/c/include/libsbp/navigation/MSG_GPS_TIME.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_GPS_TIME_DEP_A.h b/c/include/libsbp/navigation/MSG_GPS_TIME_DEP_A.h index 4ee1ec081c..910324db1a 100644 --- a/c/include/libsbp/navigation/MSG_GPS_TIME_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_GPS_TIME_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_GPS_TIME_GNSS.h b/c/include/libsbp/navigation/MSG_GPS_TIME_GNSS.h index 4ddce11d32..73bc320604 100644 --- a/c/include/libsbp/navigation/MSG_GPS_TIME_GNSS.h +++ b/c/include/libsbp/navigation/MSG_GPS_TIME_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POSE_RELATIVE.h b/c/include/libsbp/navigation/MSG_POSE_RELATIVE.h index e191705cdd..e0f1ea45eb 100644 --- a/c/include/libsbp/navigation/MSG_POSE_RELATIVE.h +++ b/c/include/libsbp/navigation/MSG_POSE_RELATIVE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_ECEF.h b/c/include/libsbp/navigation/MSG_POS_ECEF.h index 3ff1e6d753..c2cc566e9f 100644 --- a/c/include/libsbp/navigation/MSG_POS_ECEF.h +++ b/c/include/libsbp/navigation/MSG_POS_ECEF.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_ECEF_COV.h b/c/include/libsbp/navigation/MSG_POS_ECEF_COV.h index d64328ee1b..fd11fe09dc 100644 --- a/c/include/libsbp/navigation/MSG_POS_ECEF_COV.h +++ b/c/include/libsbp/navigation/MSG_POS_ECEF_COV.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_ECEF_COV_GNSS.h b/c/include/libsbp/navigation/MSG_POS_ECEF_COV_GNSS.h index d138281d51..4efc445aac 100644 --- a/c/include/libsbp/navigation/MSG_POS_ECEF_COV_GNSS.h +++ b/c/include/libsbp/navigation/MSG_POS_ECEF_COV_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_ECEF_DEP_A.h b/c/include/libsbp/navigation/MSG_POS_ECEF_DEP_A.h index cd63e443c7..eef53af983 100644 --- a/c/include/libsbp/navigation/MSG_POS_ECEF_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_POS_ECEF_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_ECEF_GNSS.h b/c/include/libsbp/navigation/MSG_POS_ECEF_GNSS.h index 7f28f5341d..00784ff29f 100644 --- a/c/include/libsbp/navigation/MSG_POS_ECEF_GNSS.h +++ b/c/include/libsbp/navigation/MSG_POS_ECEF_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_LLH.h b/c/include/libsbp/navigation/MSG_POS_LLH.h index 376e0649aa..f021607394 100644 --- a/c/include/libsbp/navigation/MSG_POS_LLH.h +++ b/c/include/libsbp/navigation/MSG_POS_LLH.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_LLH_ACC.h b/c/include/libsbp/navigation/MSG_POS_LLH_ACC.h index a587c77957..6e74a49a75 100644 --- a/c/include/libsbp/navigation/MSG_POS_LLH_ACC.h +++ b/c/include/libsbp/navigation/MSG_POS_LLH_ACC.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_LLH_COV.h b/c/include/libsbp/navigation/MSG_POS_LLH_COV.h index 6c76b7acb7..2a4e07b9d5 100644 --- a/c/include/libsbp/navigation/MSG_POS_LLH_COV.h +++ b/c/include/libsbp/navigation/MSG_POS_LLH_COV.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_LLH_COV_GNSS.h b/c/include/libsbp/navigation/MSG_POS_LLH_COV_GNSS.h index 9f4012726a..2e56f77092 100644 --- a/c/include/libsbp/navigation/MSG_POS_LLH_COV_GNSS.h +++ b/c/include/libsbp/navigation/MSG_POS_LLH_COV_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_LLH_DEP_A.h b/c/include/libsbp/navigation/MSG_POS_LLH_DEP_A.h index c9746ae365..5bab315bbd 100644 --- a/c/include/libsbp/navigation/MSG_POS_LLH_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_POS_LLH_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_POS_LLH_GNSS.h b/c/include/libsbp/navigation/MSG_POS_LLH_GNSS.h index c8bb4e4541..a21a760a0b 100644 --- a/c/include/libsbp/navigation/MSG_POS_LLH_GNSS.h +++ b/c/include/libsbp/navigation/MSG_POS_LLH_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL.h b/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL.h index 6e0c6581a5..cf096e055f 100644 --- a/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL.h +++ b/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL_DEP_A.h b/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL_DEP_A.h index f2966f6a3d..597fa0bc98 100644 --- a/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_PROTECTION_LEVEL_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_REFERENCE_FRAME_PARAM.h b/c/include/libsbp/navigation/MSG_REFERENCE_FRAME_PARAM.h index 754e3d3628..ec41d6b54c 100644 --- a/c/include/libsbp/navigation/MSG_REFERENCE_FRAME_PARAM.h +++ b/c/include/libsbp/navigation/MSG_REFERENCE_FRAME_PARAM.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_UTC_LEAP_SECOND.h b/c/include/libsbp/navigation/MSG_UTC_LEAP_SECOND.h index 726522837e..8d6de9b303 100644 --- a/c/include/libsbp/navigation/MSG_UTC_LEAP_SECOND.h +++ b/c/include/libsbp/navigation/MSG_UTC_LEAP_SECOND.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_UTC_TIME.h b/c/include/libsbp/navigation/MSG_UTC_TIME.h index f75b73d10a..ffa1802c9c 100644 --- a/c/include/libsbp/navigation/MSG_UTC_TIME.h +++ b/c/include/libsbp/navigation/MSG_UTC_TIME.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_UTC_TIME_GNSS.h b/c/include/libsbp/navigation/MSG_UTC_TIME_GNSS.h index 919cbeb824..85674fc3d0 100644 --- a/c/include/libsbp/navigation/MSG_UTC_TIME_GNSS.h +++ b/c/include/libsbp/navigation/MSG_UTC_TIME_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_BODY.h b/c/include/libsbp/navigation/MSG_VEL_BODY.h index 4d5307586b..7b92d715e0 100644 --- a/c/include/libsbp/navigation/MSG_VEL_BODY.h +++ b/c/include/libsbp/navigation/MSG_VEL_BODY.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_COG.h b/c/include/libsbp/navigation/MSG_VEL_COG.h index 76ff9492fd..03319659f1 100644 --- a/c/include/libsbp/navigation/MSG_VEL_COG.h +++ b/c/include/libsbp/navigation/MSG_VEL_COG.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_ECEF.h b/c/include/libsbp/navigation/MSG_VEL_ECEF.h index a86849a59f..25a72a1af1 100644 --- a/c/include/libsbp/navigation/MSG_VEL_ECEF.h +++ b/c/include/libsbp/navigation/MSG_VEL_ECEF.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_ECEF_COV.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_COV.h index 4992107dfa..edae51c977 100644 --- a/c/include/libsbp/navigation/MSG_VEL_ECEF_COV.h +++ b/c/include/libsbp/navigation/MSG_VEL_ECEF_COV.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_ECEF_COV_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_COV_GNSS.h index dccc05c028..0582094d29 100644 --- a/c/include/libsbp/navigation/MSG_VEL_ECEF_COV_GNSS.h +++ b/c/include/libsbp/navigation/MSG_VEL_ECEF_COV_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_ECEF_DEP_A.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_DEP_A.h index 1f645b1c96..46bc16f9b2 100644 --- a/c/include/libsbp/navigation/MSG_VEL_ECEF_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_VEL_ECEF_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_ECEF_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_ECEF_GNSS.h index f6e993da8f..6e1c769502 100644 --- a/c/include/libsbp/navigation/MSG_VEL_ECEF_GNSS.h +++ b/c/include/libsbp/navigation/MSG_VEL_ECEF_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_NED.h b/c/include/libsbp/navigation/MSG_VEL_NED.h index c80713babb..97bb82185c 100644 --- a/c/include/libsbp/navigation/MSG_VEL_NED.h +++ b/c/include/libsbp/navigation/MSG_VEL_NED.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_NED_COV.h b/c/include/libsbp/navigation/MSG_VEL_NED_COV.h index acd7cdc291..0877ffdea2 100644 --- a/c/include/libsbp/navigation/MSG_VEL_NED_COV.h +++ b/c/include/libsbp/navigation/MSG_VEL_NED_COV.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_NED_COV_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_NED_COV_GNSS.h index 539d2bf01c..721bc715fd 100644 --- a/c/include/libsbp/navigation/MSG_VEL_NED_COV_GNSS.h +++ b/c/include/libsbp/navigation/MSG_VEL_NED_COV_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_NED_DEP_A.h b/c/include/libsbp/navigation/MSG_VEL_NED_DEP_A.h index c82df5be75..391b1803dd 100644 --- a/c/include/libsbp/navigation/MSG_VEL_NED_DEP_A.h +++ b/c/include/libsbp/navigation/MSG_VEL_NED_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/navigation/MSG_VEL_NED_GNSS.h b/c/include/libsbp/navigation/MSG_VEL_NED_GNSS.h index 0e49f16bbb..25656ae0fe 100644 --- a/c/include/libsbp/navigation/MSG_VEL_NED_GNSS.h +++ b/c/include/libsbp/navigation/MSG_VEL_NED_GNSS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ndb/MSG_NDB_EVENT.h b/c/include/libsbp/ndb/MSG_NDB_EVENT.h index 64253262c2..5ce9debfa2 100644 --- a/c/include/libsbp/ndb/MSG_NDB_EVENT.h +++ b/c/include/libsbp/ndb/MSG_NDB_EVENT.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/AlmanacCommonContent.h b/c/include/libsbp/observation/AlmanacCommonContent.h index f4d987b0c1..ce840dc4f6 100644 --- a/c/include/libsbp/observation/AlmanacCommonContent.h +++ b/c/include/libsbp/observation/AlmanacCommonContent.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/AlmanacCommonContentDep.h b/c/include/libsbp/observation/AlmanacCommonContentDep.h index f90ab156cf..dad83444b9 100644 --- a/c/include/libsbp/observation/AlmanacCommonContentDep.h +++ b/c/include/libsbp/observation/AlmanacCommonContentDep.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/CarrierPhaseDepA.h b/c/include/libsbp/observation/CarrierPhaseDepA.h index 9db2e4c1ff..39e93cd58d 100644 --- a/c/include/libsbp/observation/CarrierPhaseDepA.h +++ b/c/include/libsbp/observation/CarrierPhaseDepA.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/Doppler.h b/c/include/libsbp/observation/Doppler.h index 8fdab80fe9..2a612d8cd4 100644 --- a/c/include/libsbp/observation/Doppler.h +++ b/c/include/libsbp/observation/Doppler.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/EphemerisCommonContent.h b/c/include/libsbp/observation/EphemerisCommonContent.h index 7ca32b8642..62fa8f0a03 100644 --- a/c/include/libsbp/observation/EphemerisCommonContent.h +++ b/c/include/libsbp/observation/EphemerisCommonContent.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/EphemerisCommonContentDepA.h b/c/include/libsbp/observation/EphemerisCommonContentDepA.h index ae2c22f11d..9ce8527a98 100644 --- a/c/include/libsbp/observation/EphemerisCommonContentDepA.h +++ b/c/include/libsbp/observation/EphemerisCommonContentDepA.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/EphemerisCommonContentDepB.h b/c/include/libsbp/observation/EphemerisCommonContentDepB.h index ef68825ba1..6ab8f5ca41 100644 --- a/c/include/libsbp/observation/EphemerisCommonContentDepB.h +++ b/c/include/libsbp/observation/EphemerisCommonContentDepB.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/GnssCapb.h b/c/include/libsbp/observation/GnssCapb.h index 1ff0e77896..2ec5814303 100644 --- a/c/include/libsbp/observation/GnssCapb.h +++ b/c/include/libsbp/observation/GnssCapb.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_ALMANAC_GLO.h b/c/include/libsbp/observation/MSG_ALMANAC_GLO.h index 4e2c8a3f1d..91e7292772 100644 --- a/c/include/libsbp/observation/MSG_ALMANAC_GLO.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GLO.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_ALMANAC_GLO_DEP.h b/c/include/libsbp/observation/MSG_ALMANAC_GLO_DEP.h index 0a7c26d19d..fe17c85f6e 100644 --- a/c/include/libsbp/observation/MSG_ALMANAC_GLO_DEP.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GLO_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_ALMANAC_GPS.h b/c/include/libsbp/observation/MSG_ALMANAC_GPS.h index 78be3f91f7..57c565edb0 100644 --- a/c/include/libsbp/observation/MSG_ALMANAC_GPS.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GPS.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_ALMANAC_GPS_DEP.h b/c/include/libsbp/observation/MSG_ALMANAC_GPS_DEP.h index 0c914ca836..71ce3ae4f9 100644 --- a/c/include/libsbp/observation/MSG_ALMANAC_GPS_DEP.h +++ b/c/include/libsbp/observation/MSG_ALMANAC_GPS_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_BASE_POS_ECEF.h b/c/include/libsbp/observation/MSG_BASE_POS_ECEF.h index 9d77524ba7..b86c24b8fc 100644 --- a/c/include/libsbp/observation/MSG_BASE_POS_ECEF.h +++ b/c/include/libsbp/observation/MSG_BASE_POS_ECEF.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_BASE_POS_LLH.h b/c/include/libsbp/observation/MSG_BASE_POS_LLH.h index 9a074a72e1..119a34b795 100644 --- a/c/include/libsbp/observation/MSG_BASE_POS_LLH.h +++ b/c/include/libsbp/observation/MSG_BASE_POS_LLH.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_BDS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_BDS.h index bce67a684c..2aa4f82749 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_BDS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_BDS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_A.h index 6cfaee2450..cdd2050540 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_A.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_B.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_B.h index d41c171fde..c534289854 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_B.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_B.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_C.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_C.h index 9a3b6a74c6..7e222e573d 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_C.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_C.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_D.h b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_D.h index 2eff2ab6d0..15c8ec73cc 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_D.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_DEP_D.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GAL.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL.h index d8dca3f21d..f3fb9ba9bf 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GAL.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GAL_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL_DEP_A.h index e2a88c3761..80f979fd9e 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GAL_DEP_A.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GAL_DEP_A.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO.h index 64e067adbf..46aa3bafd2 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_A.h index ae05d53ee8..450d9b47f4 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_A.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_A.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_B.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_B.h index 0e9191db38..e217c95186 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_B.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_B.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_C.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_C.h index a5d8de4c4f..47a999ae1c 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_C.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_C.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_D.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_D.h index cfb267ae54..20c4020fd0 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_D.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GLO_DEP_D.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GPS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS.h index 4b97446c5b..db859f52fd 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GPS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_E.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_E.h index 56f068d29e..19263bab79 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_E.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_E.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_F.h b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_F.h index b80ee4c5f2..83eabb6d8c 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_F.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_GPS_DEP_F.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_QZSS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_QZSS.h index ea7a207be5..a6af65be07 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_QZSS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_QZSS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS.h b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS.h index e3bfaba1e8..8b03c321bd 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_A.h b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_A.h index a3225a1811..d741ad0d36 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_A.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_A.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_B.h b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_B.h index a73032209d..d5984019c4 100644 --- a/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_B.h +++ b/c/include/libsbp/observation/MSG_EPHEMERIS_SBAS_DEP_B.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_GLO_BIASES.h b/c/include/libsbp/observation/MSG_GLO_BIASES.h index 1aba728e90..240ddc68d9 100644 --- a/c/include/libsbp/observation/MSG_GLO_BIASES.h +++ b/c/include/libsbp/observation/MSG_GLO_BIASES.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_GNSS_CAPB.h b/c/include/libsbp/observation/MSG_GNSS_CAPB.h index d7fa7d7d57..b24da56f38 100644 --- a/c/include/libsbp/observation/MSG_GNSS_CAPB.h +++ b/c/include/libsbp/observation/MSG_GNSS_CAPB.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_GROUP_DELAY.h b/c/include/libsbp/observation/MSG_GROUP_DELAY.h index 8e7cd1bab9..f8ce71bd18 100644 --- a/c/include/libsbp/observation/MSG_GROUP_DELAY.h +++ b/c/include/libsbp/observation/MSG_GROUP_DELAY.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_A.h b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_A.h index 96480b4542..a35ada8222 100644 --- a/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_A.h +++ b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_A.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_B.h b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_B.h index e1db611539..6342490481 100644 --- a/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_B.h +++ b/c/include/libsbp/observation/MSG_GROUP_DELAY_DEP_B.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_IONO.h b/c/include/libsbp/observation/MSG_IONO.h index a3d55213a0..bd2d0c7c77 100644 --- a/c/include/libsbp/observation/MSG_IONO.h +++ b/c/include/libsbp/observation/MSG_IONO.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_OBS.h b/c/include/libsbp/observation/MSG_OBS.h index e70c7ede7c..545c4db4b6 100644 --- a/c/include/libsbp/observation/MSG_OBS.h +++ b/c/include/libsbp/observation/MSG_OBS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_OBS_DEP_A.h b/c/include/libsbp/observation/MSG_OBS_DEP_A.h index ae37e47a52..b413719def 100644 --- a/c/include/libsbp/observation/MSG_OBS_DEP_A.h +++ b/c/include/libsbp/observation/MSG_OBS_DEP_A.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_OBS_DEP_B.h b/c/include/libsbp/observation/MSG_OBS_DEP_B.h index ff81f87ac2..283986504f 100644 --- a/c/include/libsbp/observation/MSG_OBS_DEP_B.h +++ b/c/include/libsbp/observation/MSG_OBS_DEP_B.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_OBS_DEP_C.h b/c/include/libsbp/observation/MSG_OBS_DEP_C.h index e02619cd1f..1ad78f1a58 100644 --- a/c/include/libsbp/observation/MSG_OBS_DEP_C.h +++ b/c/include/libsbp/observation/MSG_OBS_DEP_C.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_OSR.h b/c/include/libsbp/observation/MSG_OSR.h index f9da0ae2c0..6cb6a08044 100644 --- a/c/include/libsbp/observation/MSG_OSR.h +++ b/c/include/libsbp/observation/MSG_OSR.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_SV_AZ_EL.h b/c/include/libsbp/observation/MSG_SV_AZ_EL.h index 391dba283f..18096413e9 100644 --- a/c/include/libsbp/observation/MSG_SV_AZ_EL.h +++ b/c/include/libsbp/observation/MSG_SV_AZ_EL.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/MSG_SV_CONFIGURATION_GPS_DEP.h b/c/include/libsbp/observation/MSG_SV_CONFIGURATION_GPS_DEP.h index 5da59543d7..26fcc478a8 100644 --- a/c/include/libsbp/observation/MSG_SV_CONFIGURATION_GPS_DEP.h +++ b/c/include/libsbp/observation/MSG_SV_CONFIGURATION_GPS_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/ObservationHeader.h b/c/include/libsbp/observation/ObservationHeader.h index fa4e850d73..c3c91a4f49 100644 --- a/c/include/libsbp/observation/ObservationHeader.h +++ b/c/include/libsbp/observation/ObservationHeader.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/ObservationHeaderDep.h b/c/include/libsbp/observation/ObservationHeaderDep.h index 92d590f819..08c403a553 100644 --- a/c/include/libsbp/observation/ObservationHeaderDep.h +++ b/c/include/libsbp/observation/ObservationHeaderDep.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/PackedObsContent.h b/c/include/libsbp/observation/PackedObsContent.h index f58984a559..e1d0552072 100644 --- a/c/include/libsbp/observation/PackedObsContent.h +++ b/c/include/libsbp/observation/PackedObsContent.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/PackedObsContentDepA.h b/c/include/libsbp/observation/PackedObsContentDepA.h index f28d5243ea..faf97699b2 100644 --- a/c/include/libsbp/observation/PackedObsContentDepA.h +++ b/c/include/libsbp/observation/PackedObsContentDepA.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/PackedObsContentDepB.h b/c/include/libsbp/observation/PackedObsContentDepB.h index f2c87565aa..ac9d2c4d40 100644 --- a/c/include/libsbp/observation/PackedObsContentDepB.h +++ b/c/include/libsbp/observation/PackedObsContentDepB.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/PackedObsContentDepC.h b/c/include/libsbp/observation/PackedObsContentDepC.h index 5d116df865..b1cd0dbc7f 100644 --- a/c/include/libsbp/observation/PackedObsContentDepC.h +++ b/c/include/libsbp/observation/PackedObsContentDepC.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/PackedOsrContent.h b/c/include/libsbp/observation/PackedOsrContent.h index 3537c3c157..a0e430f267 100644 --- a/c/include/libsbp/observation/PackedOsrContent.h +++ b/c/include/libsbp/observation/PackedOsrContent.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/observation/SvAzEl.h b/c/include/libsbp/observation/SvAzEl.h index 3e40045a69..dbfc171066 100644 --- a/c/include/libsbp/observation/SvAzEl.h +++ b/c/include/libsbp/observation/SvAzEl.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/orientation/MSG_ANGULAR_RATE.h b/c/include/libsbp/orientation/MSG_ANGULAR_RATE.h index 36be54acdc..b2958ae3e0 100644 --- a/c/include/libsbp/orientation/MSG_ANGULAR_RATE.h +++ b/c/include/libsbp/orientation/MSG_ANGULAR_RATE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/orientation/MSG_BASELINE_HEADING.h b/c/include/libsbp/orientation/MSG_BASELINE_HEADING.h index ec60214f44..81d54bf5bf 100644 --- a/c/include/libsbp/orientation/MSG_BASELINE_HEADING.h +++ b/c/include/libsbp/orientation/MSG_BASELINE_HEADING.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/orientation/MSG_ORIENT_EULER.h b/c/include/libsbp/orientation/MSG_ORIENT_EULER.h index 47a6ea9e6a..f95d61b645 100644 --- a/c/include/libsbp/orientation/MSG_ORIENT_EULER.h +++ b/c/include/libsbp/orientation/MSG_ORIENT_EULER.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/orientation/MSG_ORIENT_QUAT.h b/c/include/libsbp/orientation/MSG_ORIENT_QUAT.h index b2340e1168..3a30236d19 100644 --- a/c/include/libsbp/orientation/MSG_ORIENT_QUAT.h +++ b/c/include/libsbp/orientation/MSG_ORIENT_QUAT.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/Latency.h b/c/include/libsbp/piksi/Latency.h index c004e70adf..77024e7b1f 100644 --- a/c/include/libsbp/piksi/Latency.h +++ b/c/include/libsbp/piksi/Latency.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_ALMANAC.h b/c/include/libsbp/piksi/MSG_ALMANAC.h index f3519d75f1..d1c4511f1c 100644 --- a/c/include/libsbp/piksi/MSG_ALMANAC.h +++ b/c/include/libsbp/piksi/MSG_ALMANAC.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_CELL_MODEM_STATUS.h b/c/include/libsbp/piksi/MSG_CELL_MODEM_STATUS.h index d2f1b3cadc..4545873711 100644 --- a/c/include/libsbp/piksi/MSG_CELL_MODEM_STATUS.h +++ b/c/include/libsbp/piksi/MSG_CELL_MODEM_STATUS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_COMMAND_OUTPUT.h b/c/include/libsbp/piksi/MSG_COMMAND_OUTPUT.h index 842fac0dc9..209c2ce5f1 100644 --- a/c/include/libsbp/piksi/MSG_COMMAND_OUTPUT.h +++ b/c/include/libsbp/piksi/MSG_COMMAND_OUTPUT.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_COMMAND_REQ.h b/c/include/libsbp/piksi/MSG_COMMAND_REQ.h index 50f1b71702..35c6298ff2 100644 --- a/c/include/libsbp/piksi/MSG_COMMAND_REQ.h +++ b/c/include/libsbp/piksi/MSG_COMMAND_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_COMMAND_RESP.h b/c/include/libsbp/piksi/MSG_COMMAND_RESP.h index 44bc8fdb09..f8a79bd2e6 100644 --- a/c/include/libsbp/piksi/MSG_COMMAND_RESP.h +++ b/c/include/libsbp/piksi/MSG_COMMAND_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_CW_RESULTS.h b/c/include/libsbp/piksi/MSG_CW_RESULTS.h index a6a8aba190..0b001d468f 100644 --- a/c/include/libsbp/piksi/MSG_CW_RESULTS.h +++ b/c/include/libsbp/piksi/MSG_CW_RESULTS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_CW_START.h b/c/include/libsbp/piksi/MSG_CW_START.h index 58b62711ad..30d584ebc5 100644 --- a/c/include/libsbp/piksi/MSG_CW_START.h +++ b/c/include/libsbp/piksi/MSG_CW_START.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_DEVICE_MONITOR.h b/c/include/libsbp/piksi/MSG_DEVICE_MONITOR.h index 5be3c8baf9..1e087cfc12 100644 --- a/c/include/libsbp/piksi/MSG_DEVICE_MONITOR.h +++ b/c/include/libsbp/piksi/MSG_DEVICE_MONITOR.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_FRONT_END_GAIN.h b/c/include/libsbp/piksi/MSG_FRONT_END_GAIN.h index efdc38861e..78c5589151 100644 --- a/c/include/libsbp/piksi/MSG_FRONT_END_GAIN.h +++ b/c/include/libsbp/piksi/MSG_FRONT_END_GAIN.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_IAR_STATE.h b/c/include/libsbp/piksi/MSG_IAR_STATE.h index 53cb3312a5..966a1c9a45 100644 --- a/c/include/libsbp/piksi/MSG_IAR_STATE.h +++ b/c/include/libsbp/piksi/MSG_IAR_STATE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_INIT_BASE_DEP.h b/c/include/libsbp/piksi/MSG_INIT_BASE_DEP.h index dd9b1927e2..e0eafea708 100644 --- a/c/include/libsbp/piksi/MSG_INIT_BASE_DEP.h +++ b/c/include/libsbp/piksi/MSG_INIT_BASE_DEP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_MASK_SATELLITE.h b/c/include/libsbp/piksi/MSG_MASK_SATELLITE.h index 7bc5a47792..79723a4e67 100644 --- a/c/include/libsbp/piksi/MSG_MASK_SATELLITE.h +++ b/c/include/libsbp/piksi/MSG_MASK_SATELLITE.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_MASK_SATELLITE_DEP.h b/c/include/libsbp/piksi/MSG_MASK_SATELLITE_DEP.h index a9f8105012..0d20c62683 100644 --- a/c/include/libsbp/piksi/MSG_MASK_SATELLITE_DEP.h +++ b/c/include/libsbp/piksi/MSG_MASK_SATELLITE_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h b/c/include/libsbp/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h index a9f156cb4a..4b05698349 100644 --- a/c/include/libsbp/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h +++ b/c/include/libsbp/piksi/MSG_NETWORK_BANDWIDTH_USAGE.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_NETWORK_STATE_REQ.h b/c/include/libsbp/piksi/MSG_NETWORK_STATE_REQ.h index fe8ba1abd8..12220cb90c 100644 --- a/c/include/libsbp/piksi/MSG_NETWORK_STATE_REQ.h +++ b/c/include/libsbp/piksi/MSG_NETWORK_STATE_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_NETWORK_STATE_RESP.h b/c/include/libsbp/piksi/MSG_NETWORK_STATE_RESP.h index 3206a04249..923406a564 100644 --- a/c/include/libsbp/piksi/MSG_NETWORK_STATE_RESP.h +++ b/c/include/libsbp/piksi/MSG_NETWORK_STATE_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_RESET.h b/c/include/libsbp/piksi/MSG_RESET.h index f2ef9dcf02..4553725dff 100644 --- a/c/include/libsbp/piksi/MSG_RESET.h +++ b/c/include/libsbp/piksi/MSG_RESET.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_RESET_DEP.h b/c/include/libsbp/piksi/MSG_RESET_DEP.h index 9722f04434..590b03042f 100644 --- a/c/include/libsbp/piksi/MSG_RESET_DEP.h +++ b/c/include/libsbp/piksi/MSG_RESET_DEP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_RESET_FILTERS.h b/c/include/libsbp/piksi/MSG_RESET_FILTERS.h index a3bd8ae2df..2d0f7a43e9 100644 --- a/c/include/libsbp/piksi/MSG_RESET_FILTERS.h +++ b/c/include/libsbp/piksi/MSG_RESET_FILTERS.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_SET_TIME.h b/c/include/libsbp/piksi/MSG_SET_TIME.h index b554142eb4..fd14ba9414 100644 --- a/c/include/libsbp/piksi/MSG_SET_TIME.h +++ b/c/include/libsbp/piksi/MSG_SET_TIME.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_SPECAN.h b/c/include/libsbp/piksi/MSG_SPECAN.h index 38f3eac4b8..0e96299a0b 100644 --- a/c/include/libsbp/piksi/MSG_SPECAN.h +++ b/c/include/libsbp/piksi/MSG_SPECAN.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_SPECAN_DEP.h b/c/include/libsbp/piksi/MSG_SPECAN_DEP.h index 7662fb8e78..9e8af65792 100644 --- a/c/include/libsbp/piksi/MSG_SPECAN_DEP.h +++ b/c/include/libsbp/piksi/MSG_SPECAN_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_THREAD_STATE.h b/c/include/libsbp/piksi/MSG_THREAD_STATE.h index c10a8c9ac0..e8e35e6407 100644 --- a/c/include/libsbp/piksi/MSG_THREAD_STATE.h +++ b/c/include/libsbp/piksi/MSG_THREAD_STATE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_UART_STATE.h b/c/include/libsbp/piksi/MSG_UART_STATE.h index 3fd46e7a16..487c8ee0a9 100644 --- a/c/include/libsbp/piksi/MSG_UART_STATE.h +++ b/c/include/libsbp/piksi/MSG_UART_STATE.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h b/c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h index 36b5d02c38..4cbbf3b533 100644 --- a/c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h +++ b/c/include/libsbp/piksi/MSG_UART_STATE_DEPA.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/NetworkUsage.h b/c/include/libsbp/piksi/NetworkUsage.h index c5629ca5ed..9ad2aac15c 100644 --- a/c/include/libsbp/piksi/NetworkUsage.h +++ b/c/include/libsbp/piksi/NetworkUsage.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/Period.h b/c/include/libsbp/piksi/Period.h index ad987fff52..2fb7cd89b5 100644 --- a/c/include/libsbp/piksi/Period.h +++ b/c/include/libsbp/piksi/Period.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/piksi/UARTChannel.h b/c/include/libsbp/piksi/UARTChannel.h index e752413867..1a53d7092d 100644 --- a/c/include/libsbp/piksi/UARTChannel.h +++ b/c/include/libsbp/piksi/UARTChannel.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/sbas/MSG_SBAS_RAW.h b/c/include/libsbp/sbas/MSG_SBAS_RAW.h index 6c4fb4bae2..23b0c01d1e 100644 --- a/c/include/libsbp/sbas/MSG_SBAS_RAW.h +++ b/c/include/libsbp/sbas/MSG_SBAS_RAW.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h index 71ecb53239..9c287b268f 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_DONE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h index 2ccda71872..32bbc067f7 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h index 744a8c38ca..afaa6124e4 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_READ_REQ.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_REQ.h index 807d890076..976b8d7a12 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_READ_REQ.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_READ_REQ.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_READ_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_READ_RESP.h index e22be21749..9cf279039f 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_READ_RESP.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_READ_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_REGISTER.h b/c/include/libsbp/settings/MSG_SETTINGS_REGISTER.h index 4cf6295a92..f954564741 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_REGISTER.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_REGISTER.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_REGISTER_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_REGISTER_RESP.h index 0946620865..e60bf44c2c 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_REGISTER_RESP.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_REGISTER_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_SAVE.h b/c/include/libsbp/settings/MSG_SETTINGS_SAVE.h index 5ec2e898b4..b5f05ab22a 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_SAVE.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_SAVE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_WRITE.h b/c/include/libsbp/settings/MSG_SETTINGS_WRITE.h index d59a9340af..57f08e3e1d 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_WRITE.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_WRITE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/settings/MSG_SETTINGS_WRITE_RESP.h b/c/include/libsbp/settings/MSG_SETTINGS_WRITE_RESP.h index 2485f8d100..72d125c14f 100644 --- a/c/include/libsbp/settings/MSG_SETTINGS_WRITE_RESP.h +++ b/c/include/libsbp/settings/MSG_SETTINGS_WRITE_RESP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/ECDSASignature.h b/c/include/libsbp/signing/ECDSASignature.h index 7964d9200d..f6568ef0aa 100644 --- a/c/include/libsbp/signing/ECDSASignature.h +++ b/c/include/libsbp/signing/ECDSASignature.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN.h b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN.h index 50016dd131..5e96b773dc 100644 --- a/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN.h +++ b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN_DEP.h b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN_DEP.h index f964b7a04e..5ffbf9e87e 100644 --- a/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN_DEP.h +++ b/c/include/libsbp/signing/MSG_CERTIFICATE_CHAIN_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_ECDSA_CERTIFICATE.h b/c/include/libsbp/signing/MSG_ECDSA_CERTIFICATE.h index d441a01c67..afaaa69122 100644 --- a/c/include/libsbp/signing/MSG_ECDSA_CERTIFICATE.h +++ b/c/include/libsbp/signing/MSG_ECDSA_CERTIFICATE.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE.h b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE.h index 2d019b8f82..22e1f961d8 100644 --- a/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE.h +++ b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_A.h b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_A.h index 13d44b97a2..2d94be52e7 100644 --- a/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_A.h +++ b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_B.h b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_B.h index d98e54c515..d24c6fd7a0 100644 --- a/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_B.h +++ b/c/include/libsbp/signing/MSG_ECDSA_SIGNATURE_DEP_B.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_ED25519_CERTIFICATE_DEP.h b/c/include/libsbp/signing/MSG_ED25519_CERTIFICATE_DEP.h index 1303b28222..db566d25aa 100644 --- a/c/include/libsbp/signing/MSG_ED25519_CERTIFICATE_DEP.h +++ b/c/include/libsbp/signing/MSG_ED25519_CERTIFICATE_DEP.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_A.h b/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_A.h index 4b57eb6c8e..4ecc7ced56 100644 --- a/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_A.h +++ b/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_B.h b/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_B.h index c9f07657c8..8798ec50c2 100644 --- a/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_B.h +++ b/c/include/libsbp/signing/MSG_ED25519_SIGNATURE_DEP_B.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/signing/UtcTime.h b/c/include/libsbp/signing/UtcTime.h index 8368dc2003..d2143fe5d1 100644 --- a/c/include/libsbp/signing/UtcTime.h +++ b/c/include/libsbp/signing/UtcTime.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/solution_meta/GNSSInputType.h b/c/include/libsbp/solution_meta/GNSSInputType.h index 8455a7d0c2..1d4587cb04 100644 --- a/c/include/libsbp/solution_meta/GNSSInputType.h +++ b/c/include/libsbp/solution_meta/GNSSInputType.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/solution_meta/IMUInputType.h b/c/include/libsbp/solution_meta/IMUInputType.h index 5aa62a5b38..44243d1bdb 100644 --- a/c/include/libsbp/solution_meta/IMUInputType.h +++ b/c/include/libsbp/solution_meta/IMUInputType.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/solution_meta/MSG_SOLN_META.h b/c/include/libsbp/solution_meta/MSG_SOLN_META.h index 0fd0df20e5..02839da14d 100644 --- a/c/include/libsbp/solution_meta/MSG_SOLN_META.h +++ b/c/include/libsbp/solution_meta/MSG_SOLN_META.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/solution_meta/MSG_SOLN_META_DEP_A.h b/c/include/libsbp/solution_meta/MSG_SOLN_META_DEP_A.h index e132cea206..1dc171ea07 100644 --- a/c/include/libsbp/solution_meta/MSG_SOLN_META_DEP_A.h +++ b/c/include/libsbp/solution_meta/MSG_SOLN_META_DEP_A.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/solution_meta/OdoInputType.h b/c/include/libsbp/solution_meta/OdoInputType.h index a3df39a265..4c37b588b5 100644 --- a/c/include/libsbp/solution_meta/OdoInputType.h +++ b/c/include/libsbp/solution_meta/OdoInputType.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/solution_meta/SolutionInputType.h b/c/include/libsbp/solution_meta/SolutionInputType.h index 4599163a29..9449a12ce9 100644 --- a/c/include/libsbp/solution_meta/SolutionInputType.h +++ b/c/include/libsbp/solution_meta/SolutionInputType.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/BoundsHeader.h b/c/include/libsbp/ssr/BoundsHeader.h index e1d64c414b..c4ce5065c2 100644 --- a/c/include/libsbp/ssr/BoundsHeader.h +++ b/c/include/libsbp/ssr/BoundsHeader.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/CodeBiasesContent.h b/c/include/libsbp/ssr/CodeBiasesContent.h index a7a9c09288..2d5ed3df8c 100644 --- a/c/include/libsbp/ssr/CodeBiasesContent.h +++ b/c/include/libsbp/ssr/CodeBiasesContent.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/CodePhaseBiasesSatSig.h b/c/include/libsbp/ssr/CodePhaseBiasesSatSig.h index b59d344b75..4d6973954e 100644 --- a/c/include/libsbp/ssr/CodePhaseBiasesSatSig.h +++ b/c/include/libsbp/ssr/CodePhaseBiasesSatSig.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/GridDefinitionHeaderDepA.h b/c/include/libsbp/ssr/GridDefinitionHeaderDepA.h index a679dcba83..0b4e13a94d 100644 --- a/c/include/libsbp/ssr/GridDefinitionHeaderDepA.h +++ b/c/include/libsbp/ssr/GridDefinitionHeaderDepA.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/GriddedCorrectionHeader.h b/c/include/libsbp/ssr/GriddedCorrectionHeader.h index 5ddaf7bc83..1e92a7a878 100644 --- a/c/include/libsbp/ssr/GriddedCorrectionHeader.h +++ b/c/include/libsbp/ssr/GriddedCorrectionHeader.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/GriddedCorrectionHeaderDepA.h b/c/include/libsbp/ssr/GriddedCorrectionHeaderDepA.h index e26074bceb..afc84432da 100644 --- a/c/include/libsbp/ssr/GriddedCorrectionHeaderDepA.h +++ b/c/include/libsbp/ssr/GriddedCorrectionHeaderDepA.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h b/c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h index 45b1961a35..4b27844b4f 100644 --- a/c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h +++ b/c/include/libsbp/ssr/MSG_SSR_CODE_BIASES.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h b/c/include/libsbp/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h index d380b41ad6..eb7e1f382b 100644 --- a/c/include/libsbp/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h +++ b/c/include/libsbp/ssr/MSG_SSR_CODE_PHASE_BIASES_BOUNDS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h index 1393c1306b..fa909d513a 100644 --- a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h index 21cf312cf3..595c47414b 100644 --- a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_BOUNDS.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h index 970578bd17..6610513865 100644 --- a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_DEP_A.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h index 0d531914e3..98661e97c6 100644 --- a/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h index 85eca65894..3cee82dbeb 100644 --- a/c/include/libsbp/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_GRID_DEFINITION_DEP_A.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h index f01d5e3276..678e78da43 100644 --- a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h index 78cd3de26e..5c91151e5c 100644 --- a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h index 3e8665e1d5..195a436c2a 100644 --- a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h index 9a808c50ed..2225445fe4 100644 --- a/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_ORBIT_CLOCK_DEP_A.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h b/c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h index 41e79bc29b..828112c822 100644 --- a/c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h +++ b/c/include/libsbp/ssr/MSG_SSR_PHASE_BIASES.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h index 3684177291..784128b22c 100644 --- a/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h +++ b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h index c2df8f675b..82abea97e4 100644 --- a/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h +++ b/c/include/libsbp/ssr/MSG_SSR_SATELLITE_APC_DEP.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION.h b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION.h index e5653dca44..b081295d95 100644 --- a/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION.h +++ b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h index d7918baa16..8e82cd4a5c 100644 --- a/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h +++ b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h index ebdbc8040e..c9b060a307 100644 --- a/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_STEC_CORRECTION_DEP_A.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION.h b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION.h index 1f34d62cfd..8ae70421e8 100644 --- a/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION.h +++ b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h index ba6849f32b..53e630fcad 100644 --- a/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h +++ b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_A.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h index d58704b052..884485f3ee 100644 --- a/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h +++ b/c/include/libsbp/ssr/MSG_SSR_TILE_DEFINITION_DEP_B.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/OrbitClockBound.h b/c/include/libsbp/ssr/OrbitClockBound.h index b11222da54..3918737b0d 100644 --- a/c/include/libsbp/ssr/OrbitClockBound.h +++ b/c/include/libsbp/ssr/OrbitClockBound.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/OrbitClockBoundDegradation.h b/c/include/libsbp/ssr/OrbitClockBoundDegradation.h index 97ea42a2a1..3d53140413 100644 --- a/c/include/libsbp/ssr/OrbitClockBoundDegradation.h +++ b/c/include/libsbp/ssr/OrbitClockBoundDegradation.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/PhaseBiasesContent.h b/c/include/libsbp/ssr/PhaseBiasesContent.h index 0e8255e70d..814e2820e2 100644 --- a/c/include/libsbp/ssr/PhaseBiasesContent.h +++ b/c/include/libsbp/ssr/PhaseBiasesContent.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/STECHeader.h b/c/include/libsbp/ssr/STECHeader.h index cc77e05773..e5b5540015 100644 --- a/c/include/libsbp/ssr/STECHeader.h +++ b/c/include/libsbp/ssr/STECHeader.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/STECHeaderDepA.h b/c/include/libsbp/ssr/STECHeaderDepA.h index 0aa6d72ae3..d95a8be0a2 100644 --- a/c/include/libsbp/ssr/STECHeaderDepA.h +++ b/c/include/libsbp/ssr/STECHeaderDepA.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/STECResidual.h b/c/include/libsbp/ssr/STECResidual.h index f5d872654e..133d17ee4c 100644 --- a/c/include/libsbp/ssr/STECResidual.h +++ b/c/include/libsbp/ssr/STECResidual.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/STECResidualNoStd.h b/c/include/libsbp/ssr/STECResidualNoStd.h index 5156b78ca7..89f938623a 100644 --- a/c/include/libsbp/ssr/STECResidualNoStd.h +++ b/c/include/libsbp/ssr/STECResidualNoStd.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/STECSatElement.h b/c/include/libsbp/ssr/STECSatElement.h index 18e954bb51..777547b6ea 100644 --- a/c/include/libsbp/ssr/STECSatElement.h +++ b/c/include/libsbp/ssr/STECSatElement.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/STECSatElementIntegrity.h b/c/include/libsbp/ssr/STECSatElementIntegrity.h index 01863e043d..2ec44f7e0a 100644 --- a/c/include/libsbp/ssr/STECSatElementIntegrity.h +++ b/c/include/libsbp/ssr/STECSatElementIntegrity.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/SatelliteAPC.h b/c/include/libsbp/ssr/SatelliteAPC.h index 6fbc9a20b7..607dd07029 100644 --- a/c/include/libsbp/ssr/SatelliteAPC.h +++ b/c/include/libsbp/ssr/SatelliteAPC.h @@ -28,7 +28,7 @@ #include #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/TroposphericDelayCorrection.h b/c/include/libsbp/ssr/TroposphericDelayCorrection.h index 6202f5f451..f263997e00 100644 --- a/c/include/libsbp/ssr/TroposphericDelayCorrection.h +++ b/c/include/libsbp/ssr/TroposphericDelayCorrection.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/ssr/TroposphericDelayCorrectionNoStd.h b/c/include/libsbp/ssr/TroposphericDelayCorrectionNoStd.h index 76591dcb66..914e3541f4 100644 --- a/c/include/libsbp/ssr/TroposphericDelayCorrectionNoStd.h +++ b/c/include/libsbp/ssr/TroposphericDelayCorrectionNoStd.h @@ -27,7 +27,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/v4/string/sbp_string.h b/c/include/libsbp/string/sbp_string.h similarity index 100% rename from c/include/libsbp/v4/string/sbp_string.h rename to c/include/libsbp/string/sbp_string.h diff --git a/c/include/libsbp/system/MSG_CSAC_TELEMETRY.h b/c/include/libsbp/system/MSG_CSAC_TELEMETRY.h index 8cf7de6859..a0d2523237 100644 --- a/c/include/libsbp/system/MSG_CSAC_TELEMETRY.h +++ b/c/include/libsbp/system/MSG_CSAC_TELEMETRY.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_CSAC_TELEMETRY_LABELS.h b/c/include/libsbp/system/MSG_CSAC_TELEMETRY_LABELS.h index 9b9a083548..dcc770258e 100644 --- a/c/include/libsbp/system/MSG_CSAC_TELEMETRY_LABELS.h +++ b/c/include/libsbp/system/MSG_CSAC_TELEMETRY_LABELS.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_DGNSS_STATUS.h b/c/include/libsbp/system/MSG_DGNSS_STATUS.h index 59bd20f787..36514f29c0 100644 --- a/c/include/libsbp/system/MSG_DGNSS_STATUS.h +++ b/c/include/libsbp/system/MSG_DGNSS_STATUS.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h b/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h index 0ce2e3fd7d..8c5e6261ba 100644 --- a/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h +++ b/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_GROUP_META.h b/c/include/libsbp/system/MSG_GROUP_META.h index 7038ca59d8..b94bb47062 100644 --- a/c/include/libsbp/system/MSG_GROUP_META.h +++ b/c/include/libsbp/system/MSG_GROUP_META.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_HEARTBEAT.h b/c/include/libsbp/system/MSG_HEARTBEAT.h index e8e1e70aa6..c17c44d96b 100644 --- a/c/include/libsbp/system/MSG_HEARTBEAT.h +++ b/c/include/libsbp/system/MSG_HEARTBEAT.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_INS_STATUS.h b/c/include/libsbp/system/MSG_INS_STATUS.h index ca7cce11be..691eba96f0 100644 --- a/c/include/libsbp/system/MSG_INS_STATUS.h +++ b/c/include/libsbp/system/MSG_INS_STATUS.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_INS_UPDATES.h b/c/include/libsbp/system/MSG_INS_UPDATES.h index e3aa3c87fa..530c167138 100644 --- a/c/include/libsbp/system/MSG_INS_UPDATES.h +++ b/c/include/libsbp/system/MSG_INS_UPDATES.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_PPS_TIME.h b/c/include/libsbp/system/MSG_PPS_TIME.h index c879439cdd..dffb162e6b 100644 --- a/c/include/libsbp/system/MSG_PPS_TIME.h +++ b/c/include/libsbp/system/MSG_PPS_TIME.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_SENSOR_AID_EVENT.h b/c/include/libsbp/system/MSG_SENSOR_AID_EVENT.h index 1aadd0cffb..a39104332a 100644 --- a/c/include/libsbp/system/MSG_SENSOR_AID_EVENT.h +++ b/c/include/libsbp/system/MSG_SENSOR_AID_EVENT.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_STARTUP.h b/c/include/libsbp/system/MSG_STARTUP.h index ba55461c4e..6e24a21af2 100644 --- a/c/include/libsbp/system/MSG_STARTUP.h +++ b/c/include/libsbp/system/MSG_STARTUP.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_STATUS_JOURNAL.h b/c/include/libsbp/system/MSG_STATUS_JOURNAL.h index 6b1c4eba87..23ecda763c 100644 --- a/c/include/libsbp/system/MSG_STATUS_JOURNAL.h +++ b/c/include/libsbp/system/MSG_STATUS_JOURNAL.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/MSG_STATUS_REPORT.h b/c/include/libsbp/system/MSG_STATUS_REPORT.h index 5a045fac29..6a84bd7839 100644 --- a/c/include/libsbp/system/MSG_STATUS_REPORT.h +++ b/c/include/libsbp/system/MSG_STATUS_REPORT.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/StatusJournalItem.h b/c/include/libsbp/system/StatusJournalItem.h index 610535c9be..6997e22091 100644 --- a/c/include/libsbp/system/StatusJournalItem.h +++ b/c/include/libsbp/system/StatusJournalItem.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/system/SubSystemReport.h b/c/include/libsbp/system/SubSystemReport.h index f23ef03149..68dbfac776 100644 --- a/c/include/libsbp/system/SubSystemReport.h +++ b/c/include/libsbp/system/SubSystemReport.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/telemetry/MSG_TEL_SV.h b/c/include/libsbp/telemetry/MSG_TEL_SV.h index a0df562b7e..2b997fd036 100644 --- a/c/include/libsbp/telemetry/MSG_TEL_SV.h +++ b/c/include/libsbp/telemetry/MSG_TEL_SV.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/telemetry/TelemetrySV.h b/c/include/libsbp/telemetry/TelemetrySV.h index 2ef6c0ee51..4a5819d49f 100644 --- a/c/include/libsbp/telemetry/TelemetrySV.h +++ b/c/include/libsbp/telemetry/TelemetrySV.h @@ -27,8 +27,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_MEASUREMENT_STATE.h b/c/include/libsbp/tracking/MSG_MEASUREMENT_STATE.h index cf458f1d17..b5bdf28db2 100644 --- a/c/include/libsbp/tracking/MSG_MEASUREMENT_STATE.h +++ b/c/include/libsbp/tracking/MSG_MEASUREMENT_STATE.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_IQ.h b/c/include/libsbp/tracking/MSG_TRACKING_IQ.h index 77c77f8de6..0ea9145923 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_IQ.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_IQ.h @@ -27,9 +27,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h index d19e29a14f..86a1b8c032 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_A.h @@ -27,9 +27,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h index 534c9d0836..87d6507acd 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_IQ_DEP_B.h @@ -27,9 +27,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_STATE.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE.h index a6b99a9b8a..6fe3c3cca9 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_STATE.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_A.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_A.h index 7dc71e4f8c..d3b9defa0f 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_A.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_A.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_B.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_B.h index 5f0854209f..5c0eacb29b 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_B.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DEP_B.h @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h index 0bc284deda..1d73f413fa 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP.h @@ -29,8 +29,8 @@ #include #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h index 371619ebb2..e9872b3c85 100644 --- a/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h +++ b/c/include/libsbp/tracking/MSG_TRACKING_STATE_DETAILED_DEP_A.h @@ -29,8 +29,8 @@ #include #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/MeasurementState.h b/c/include/libsbp/tracking/MeasurementState.h index d4cad2594e..0bdbfcead8 100644 --- a/c/include/libsbp/tracking/MeasurementState.h +++ b/c/include/libsbp/tracking/MeasurementState.h @@ -27,8 +27,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/TrackingChannelCorrelation.h b/c/include/libsbp/tracking/TrackingChannelCorrelation.h index ce155470b4..d2d2057ae8 100644 --- a/c/include/libsbp/tracking/TrackingChannelCorrelation.h +++ b/c/include/libsbp/tracking/TrackingChannelCorrelation.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/TrackingChannelCorrelationDep.h b/c/include/libsbp/tracking/TrackingChannelCorrelationDep.h index 15d895cb5e..b1751dd999 100644 --- a/c/include/libsbp/tracking/TrackingChannelCorrelationDep.h +++ b/c/include/libsbp/tracking/TrackingChannelCorrelationDep.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/TrackingChannelState.h b/c/include/libsbp/tracking/TrackingChannelState.h index c59003e715..e3ceb4ade9 100644 --- a/c/include/libsbp/tracking/TrackingChannelState.h +++ b/c/include/libsbp/tracking/TrackingChannelState.h @@ -27,8 +27,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/TrackingChannelStateDepA.h b/c/include/libsbp/tracking/TrackingChannelStateDepA.h index e04fd90eb3..3aec985472 100644 --- a/c/include/libsbp/tracking/TrackingChannelStateDepA.h +++ b/c/include/libsbp/tracking/TrackingChannelStateDepA.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/tracking/TrackingChannelStateDepB.h b/c/include/libsbp/tracking/TrackingChannelStateDepB.h index 80374744a7..d62bfd50f2 100644 --- a/c/include/libsbp/tracking/TrackingChannelStateDepB.h +++ b/c/include/libsbp/tracking/TrackingChannelStateDepB.h @@ -27,8 +27,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/user/MSG_USER_DATA.h b/c/include/libsbp/user/MSG_USER_DATA.h index 50eb513f29..ac99f628f0 100644 --- a/c/include/libsbp/user/MSG_USER_DATA.h +++ b/c/include/libsbp/user/MSG_USER_DATA.h @@ -26,8 +26,8 @@ #include #include +#include #include -#include #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/vehicle/MSG_ODOMETRY.h b/c/include/libsbp/vehicle/MSG_ODOMETRY.h index d1fa783c30..a61c5d69cd 100644 --- a/c/include/libsbp/vehicle/MSG_ODOMETRY.h +++ b/c/include/libsbp/vehicle/MSG_ODOMETRY.h @@ -26,7 +26,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/include/libsbp/vehicle/MSG_WHEELTICK.h b/c/include/libsbp/vehicle/MSG_WHEELTICK.h index 69c12a0bc4..d017fd98d4 100644 --- a/c/include/libsbp/vehicle/MSG_WHEELTICK.h +++ b/c/include/libsbp/vehicle/MSG_WHEELTICK.h @@ -26,7 +26,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/double_null_terminated.h b/c/src/include/libsbp/internal/v4/string/double_null_terminated.h index e4e78b74cd..b4cc510012 100644 --- a/c/src/include/libsbp/internal/v4/string/double_null_terminated.h +++ b/c/src/include/libsbp/internal/v4/string/double_null_terminated.h @@ -70,7 +70,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { @@ -153,9 +153,8 @@ size_t sbp_double_null_terminated_string_encoded_len(const sbp_string_t *s, * @param maxlen Maximum encoded length * @return Available space */ -size_t -sbp_double_null_terminated_string_space_remaining(const sbp_string_t *s, - size_t maxlen); +size_t sbp_double_null_terminated_string_space_remaining(const sbp_string_t *s, + size_t maxlen); /** * Count sections in a double null terminated string @@ -204,8 +203,10 @@ bool sbp_double_null_terminated_string_add_section(sbp_string_t *s, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_double_null_terminated_string_add_section_vprintf( - sbp_string_t *s, size_t maxlen, const char *fmt, va_list ap) +bool sbp_double_null_terminated_string_add_section_vprintf(sbp_string_t *s, + size_t maxlen, + const char *fmt, + va_list ap) SBP_ATTR_VFORMAT(3); /** @@ -227,8 +228,7 @@ bool sbp_double_null_terminated_string_add_section_vprintf( * @param new_str String to append * @return true on success, false otherwise */ -bool sbp_double_null_terminated_string_append(sbp_string_t *s, - size_t maxlen, +bool sbp_double_null_terminated_string_append(sbp_string_t *s, size_t maxlen, const char *new_str); /** @@ -277,8 +277,9 @@ bool sbp_double_null_terminated_string_append_vprintf(sbp_string_t *s, * @param section Section number * @return Requested section, or NULL */ -const char *sbp_double_null_terminated_string_get_section( - const sbp_string_t *s, size_t maxlen, size_t section); +const char *sbp_double_null_terminated_string_get_section(const sbp_string_t *s, + size_t maxlen, + size_t section); /** * Get length of a section in a double null terminated string @@ -327,8 +328,7 @@ bool sbp_double_null_terminated_string_encode(const sbp_string_t *s, * @param ctx Decode context * @return true on success, false otherwise */ -bool sbp_double_null_terminated_string_decode(sbp_string_t *s, - size_t maxlen, +bool sbp_double_null_terminated_string_decode(sbp_string_t *s, size_t maxlen, sbp_decode_ctx_t *ctx); #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/multipart.h b/c/src/include/libsbp/internal/v4/string/multipart.h index 35e73b16c8..0a4dfd66cb 100644 --- a/c/src/include/libsbp/internal/v4/string/multipart.h +++ b/c/src/include/libsbp/internal/v4/string/multipart.h @@ -63,7 +63,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { @@ -127,8 +127,7 @@ int sbp_multipart_string_strcmp(const sbp_string_t *a, const sbp_string_t *b, * @param maxlen Maximum encoded length * @return Encoded length */ -size_t sbp_multipart_string_encoded_len(const sbp_string_t *s, - size_t maxlen); +size_t sbp_multipart_string_encoded_len(const sbp_string_t *s, size_t maxlen); /** * Get available space in a multipart string @@ -170,8 +169,7 @@ size_t sbp_multipart_string_count_sections(const sbp_string_t *s, * @param section Section number * @return Length of section */ -size_t sbp_multipart_string_section_strlen(const sbp_string_t *s, - size_t maxlen, +size_t sbp_multipart_string_section_strlen(const sbp_string_t *s, size_t maxlen, size_t section); /** @@ -209,8 +207,7 @@ bool sbp_multipart_string_add_section(sbp_string_t *s, size_t maxlen, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_multipart_string_add_section_vprintf(sbp_string_t *s, - size_t maxlen, +bool sbp_multipart_string_add_section_vprintf(sbp_string_t *s, size_t maxlen, const char *fmt, va_list ap) SBP_ATTR_VFORMAT(3); @@ -262,8 +259,7 @@ bool sbp_multipart_string_append(sbp_string_t *s, size_t maxlen, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_multipart_string_append_vprintf(sbp_string_t *s, - size_t maxlen, +bool sbp_multipart_string_append_vprintf(sbp_string_t *s, size_t maxlen, const char *fmt, va_list ap) SBP_ATTR_VFORMAT(3); @@ -283,8 +279,7 @@ bool sbp_multipart_string_append_vprintf(sbp_string_t *s, * @return Requested section, or NULL */ const char *sbp_multipart_string_get_section(const sbp_string_t *s, - size_t maxlen, - size_t section); + size_t maxlen, size_t section); /** * Encode a multipart string to a buffer diff --git a/c/src/include/libsbp/internal/v4/string/null_terminated.h b/c/src/include/libsbp/internal/v4/string/null_terminated.h index 86522d6bb4..1866754f28 100644 --- a/c/src/include/libsbp/internal/v4/string/null_terminated.h +++ b/c/src/include/libsbp/internal/v4/string/null_terminated.h @@ -44,7 +44,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { @@ -83,8 +83,7 @@ void sbp_null_terminated_string_init(sbp_string_t *s); * @param maxlen Maximum encoded length * @return true if valid, false otherwise */ -bool sbp_null_terminated_string_valid(const sbp_string_t *s, - size_t maxlen); +bool sbp_null_terminated_string_valid(const sbp_string_t *s, size_t maxlen); /** * Compare two null terminated strings @@ -100,8 +99,7 @@ bool sbp_null_terminated_string_valid(const sbp_string_t *s, * @return Comparison result */ int sbp_null_terminated_string_strcmp(const sbp_string_t *a, - const sbp_string_t *b, - size_t maxlen); + const sbp_string_t *b, size_t maxlen); /** * Get encoded length of a double null terminated string @@ -135,8 +133,7 @@ size_t sbp_null_terminated_string_space_remaining(const sbp_string_t *s, * @param maxlen Maximum encoded length * @return Length of string */ -size_t sbp_null_terminated_string_strlen(const sbp_string_t *s, - size_t maxlen); +size_t sbp_null_terminated_string_strlen(const sbp_string_t *s, size_t maxlen); /** * Set a null terminated string from a raw buffer @@ -160,8 +157,9 @@ size_t sbp_null_terminated_string_strlen(const sbp_string_t *s, * @return true on success, false otherwise */ bool sbp_null_terminated_string_set_raw(sbp_string_t *s, size_t maxlen, - bool should_trunc, size_t *n_written, const char *new_buf, - size_t new_buf_len); + bool should_trunc, size_t *n_written, + const char *new_buf, + size_t new_buf_len); /** * Set a null terminated string @@ -183,7 +181,8 @@ bool sbp_null_terminated_string_set_raw(sbp_string_t *s, size_t maxlen, * @return true on success, false otherwise */ bool sbp_null_terminated_string_set(sbp_string_t *s, size_t maxlen, - bool should_trunc, size_t *n_written, const char *new_str); + bool should_trunc, size_t *n_written, + const char *new_str); /** * Set a null terminated string with printf style formatting @@ -202,7 +201,8 @@ bool sbp_null_terminated_string_set(sbp_string_t *s, size_t maxlen, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_null_terminated_string_vprintf(sbp_string_t *s, size_t maxlen, bool should_trunc, size_t *n_written, +bool sbp_null_terminated_string_vprintf(sbp_string_t *s, size_t maxlen, + bool should_trunc, size_t *n_written, const char *fmt, va_list ap) SBP_ATTR_VFORMAT(5); @@ -246,8 +246,9 @@ bool sbp_null_terminated_string_append(sbp_string_t *s, size_t maxlen, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_null_terminated_string_append_vprintf(sbp_string_t *s, - size_t maxlen, bool should_trunc, size_t *n_written, +bool sbp_null_terminated_string_append_vprintf(sbp_string_t *s, size_t maxlen, + bool should_trunc, + size_t *n_written, const char *fmt, va_list ap) SBP_ATTR_VFORMAT(5); @@ -274,8 +275,7 @@ const char *sbp_null_terminated_string_get(const sbp_string_t *s, * @param ctx Encode context * @return true on success, false otherwise */ -bool sbp_null_terminated_string_encode(const sbp_string_t *s, - size_t maxlen, +bool sbp_null_terminated_string_encode(const sbp_string_t *s, size_t maxlen, sbp_encode_ctx_t *ctx); /** diff --git a/c/src/include/libsbp/internal/v4/string/sbp_string.h b/c/src/include/libsbp/internal/v4/string/sbp_string.h index b370fcc5cc..6aac28ce54 100644 --- a/c/src/include/libsbp/internal/v4/string/sbp_string.h +++ b/c/src/include/libsbp/internal/v4/string/sbp_string.h @@ -19,7 +19,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { @@ -74,8 +74,8 @@ typedef struct { * @param maxlen Maximum encoded length * @param params string params */ -int sbp_string_cmp(const sbp_string_t *a, const sbp_string_t *b, - size_t maxlen, const sbp_string_params_t *params); +int sbp_string_cmp(const sbp_string_t *a, const sbp_string_t *b, size_t maxlen, + const sbp_string_params_t *params); /** * Copy exactly n bytes from str to buf. @@ -110,8 +110,9 @@ bool sbp_string_copy_to_buf(char *buf, size_t *copied, size_t max, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_string_vprintf_to_buf(char *buf, size_t *copied, size_t max, bool should_trunc, - const char *fmt, va_list ap) SBP_ATTR_VFORMAT(5); +bool sbp_string_vprintf_to_buf(char *buf, size_t *copied, size_t max, + bool should_trunc, const char *fmt, va_list ap) + SBP_ATTR_VFORMAT(5); /** * Write a string to a buffer @@ -150,8 +151,7 @@ bool sbp_string_encode(const sbp_string_t *s, size_t maxlen, * @param params string params * @return true on success, false otherwise */ -bool sbp_string_decode(sbp_string_t *s, size_t maxlen, - sbp_decode_ctx_t *ctx, +bool sbp_string_decode(sbp_string_t *s, size_t maxlen, sbp_decode_ctx_t *ctx, const sbp_string_params_t *params); #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/unterminated.h b/c/src/include/libsbp/internal/v4/string/unterminated.h index ec8bbade9a..665a8595e5 100644 --- a/c/src/include/libsbp/internal/v4/string/unterminated.h +++ b/c/src/include/libsbp/internal/v4/string/unterminated.h @@ -53,7 +53,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { @@ -96,8 +96,7 @@ void sbp_unterminated_string_init(sbp_string_t *s); * @param maxlen Maximum encoded length * @return true if valid, false otherwise */ -bool sbp_unterminated_string_valid(const sbp_string_t *s, - size_t maxlen); +bool sbp_unterminated_string_valid(const sbp_string_t *s, size_t maxlen); /** * Compare two unterminated string @@ -149,17 +148,18 @@ size_t sbp_unterminated_string_space_remaining(const sbp_string_t *s, * @param maxlen Maximum encoded length * @return String length */ -size_t sbp_unterminated_string_strlen(const sbp_string_t *s, - size_t maxlen); +size_t sbp_unterminated_string_strlen(const sbp_string_t *s, size_t maxlen); /** * Set an unterminated string from a raw buffer * - * If the should_trunc parameter is true, and new string contents are larger than - * can be stored, then as much as possible will be written from new_str to s + * If the should_trunc parameter is true, and new string contents are larger + * than can be stored, then as much as possible will be written from new_str to + * s * - * If the should_trunc parameter is false, and new string contents are larger than - * can be stored, the string will not be modified and false will be returned + * If the should_trunc parameter is false, and new string contents are larger + * than can be stored, the string will not be modified and false will be + * returned * * @param s string * @param maxlen Maximum encoded length @@ -167,12 +167,13 @@ size_t sbp_unterminated_string_strlen(const sbp_string_t *s, * @param n_written If not null, on success will be set to the number of bytes * written to s * @param new_buf New buffer contents - * @param new_buf_len Length of the new buffer, not including NULL terminator (if present) + * @param new_buf_len Length of the new buffer, not including NULL terminator + * (if present) * @return Number of characters written from new_buf to s */ bool sbp_unterminated_string_set_raw(sbp_string_t *s, size_t maxlen, - bool should_trunc, size_t *n_written, const char *new_buf, - size_t new_buf_len); + bool should_trunc, size_t *n_written, + const char *new_buf, size_t new_buf_len); /** * Set an unterminated string @@ -194,7 +195,8 @@ bool sbp_unterminated_string_set_raw(sbp_string_t *s, size_t maxlen, * @return true on success, false otherwise */ bool sbp_unterminated_string_set(sbp_string_t *s, size_t maxlen, - bool should_trunc, size_t *n_written, const char *new_str); + bool should_trunc, size_t *n_written, + const char *new_str); /** * Set an unterminated string with printf style formatting * @@ -212,7 +214,8 @@ bool sbp_unterminated_string_set(sbp_string_t *s, size_t maxlen, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_unterminated_string_vprintf(sbp_string_t *s, size_t maxlen, bool should_trunc, size_t *n_written, +bool sbp_unterminated_string_vprintf(sbp_string_t *s, size_t maxlen, + bool should_trunc, size_t *n_written, const char *fmt, va_list ap) SBP_ATTR_VFORMAT(5); @@ -256,10 +259,10 @@ bool sbp_unterminated_string_append(sbp_string_t *s, size_t maxlen, * @param ap Argument list * @return true on success, false otherwise */ -bool sbp_unterminated_string_append_vprintf(sbp_string_t *s, - size_t maxlen, bool should_trunc, size_t *n_written, - const char *fmt, va_list ap) - SBP_ATTR_VFORMAT(5); +bool sbp_unterminated_string_append_vprintf(sbp_string_t *s, size_t maxlen, + bool should_trunc, + size_t *n_written, const char *fmt, + va_list ap) SBP_ATTR_VFORMAT(5); /** * Get contents of an unterminated @@ -270,8 +273,7 @@ bool sbp_unterminated_string_append_vprintf(sbp_string_t *s, * @param maxlen Maximum encoded length * @return String contents or NULL */ -const char *sbp_unterminated_string_get(const sbp_string_t *s, - size_t maxlen); +const char *sbp_unterminated_string_get(const sbp_string_t *s, size_t maxlen); /** * Encode an unterminated string @@ -284,8 +286,7 @@ const char *sbp_unterminated_string_get(const sbp_string_t *s, * @param ctx Encode context * @return true on success, false otherwise */ -bool sbp_unterminated_string_encode(const sbp_string_t *s, - size_t maxlen, +bool sbp_unterminated_string_encode(const sbp_string_t *s, size_t maxlen, sbp_encode_ctx_t *ctx); /** diff --git a/c/src/v4/string/sbp_string.c b/c/src/v4/string/sbp_string.c index 3dc5357692..d33e00c139 100644 --- a/c/src/v4/string/sbp_string.c +++ b/c/src/v4/string/sbp_string.c @@ -6,10 +6,10 @@ #include #include #include -#include +#include -int sbp_string_cmp(const sbp_string_t *a, const sbp_string_t *b, - size_t maxlen, const sbp_string_params_t *params) { +int sbp_string_cmp(const sbp_string_t *a, const sbp_string_t *b, size_t maxlen, + const sbp_string_params_t *params) { bool avalid = params->valid(a, maxlen); bool bvalid = params->valid(b, maxlen); if (!avalid) { @@ -51,8 +51,8 @@ bool sbp_string_copy_to_buf(char *buf, size_t *copied, size_t max, return copy_str(buf, copied, max, str, n); } -bool sbp_string_vprintf_to_buf(char *buf, size_t *copied, size_t max, bool should_trunc, - const char *fmt, va_list ap) { +bool sbp_string_vprintf_to_buf(char *buf, size_t *copied, size_t max, + bool should_trunc, const char *fmt, va_list ap) { char tmp[256]; int n = vsnprintf(tmp, sizeof(tmp), fmt, ap); if (n < 0) { @@ -83,8 +83,7 @@ bool sbp_string_encode(const sbp_string_t *s, size_t maxlen, return true; } -bool sbp_string_decode(sbp_string_t *s, size_t maxlen, - sbp_decode_ctx_t *ctx, +bool sbp_string_decode(sbp_string_t *s, size_t maxlen, sbp_decode_ctx_t *ctx, const sbp_string_params_t *params) { params->init(s); size_t available = ctx->buf_len - ctx->offset; diff --git a/generator/sbpg/targets/resources/c/include/libsbp/package/sbp_messages_template.h b/generator/sbpg/targets/resources/c/include/libsbp/package/sbp_messages_template.h index 31217b0cd8..77d3fac100 100644 --- a/generator/sbpg/targets/resources/c/include/libsbp/package/sbp_messages_template.h +++ b/generator/sbpg/targets/resources/c/include/libsbp/package/sbp_messages_template.h @@ -26,7 +26,7 @@ #include #include -#include +#include #include ((*- for i in m.type_include *)) From c5dac024d123a15dba766ce1fae8e33e2e5e7c1a Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 08:56:56 +1100 Subject: [PATCH 05/19] Merge v4 API definitions in to main sbp header file --- c/include/libsbp/sbp.h | 12 +++++++++++- c/include/libsbp/v4/api.h | 37 ------------------------------------- 2 files changed, 11 insertions(+), 38 deletions(-) delete mode 100644 c/include/libsbp/v4/api.h diff --git a/c/include/libsbp/sbp.h b/c/include/libsbp/sbp.h index cdf7fb4879..687a5ef4ea 100644 --- a/c/include/libsbp/sbp.h +++ b/c/include/libsbp/sbp.h @@ -16,8 +16,8 @@ #include #include #include -#include #include +#include #ifdef __cplusplus extern "C" { @@ -75,6 +75,8 @@ extern "C" { /** Get message payload pointer from frame */ #define SBP_FRAME_MSG_PAYLOAD(frame_ptr) (&((frame_ptr)[SBP_FRAME_OFFSET_MSG])) +typedef void (*sbp_decoded_callback_t)(u16 sender_id, sbp_msg_type_t msg_type, const sbp_msg_t *msg, void *context); + /** SBP callback function prototype definitions. */ typedef union { sbp_msg_callback_t msg; @@ -149,6 +151,14 @@ SBP_EXPORT void sbp_state_init(sbp_state_t *s); SBP_EXPORT void sbp_state_set_io_context(sbp_state_t *s, void* context); SBP_EXPORT s8 sbp_process(sbp_state_t *s, sbp_read_fn_t read); +SBP_EXPORT s8 sbp_callback_register(sbp_state_t* s, sbp_msg_type_t msg_type, sbp_decoded_callback_t cb, void* context, + sbp_msg_callbacks_node_t *node); +SBP_EXPORT s8 sbp_all_message_callback_register(sbp_state_t *s, sbp_decoded_callback_t cb, void* context, + sbp_msg_callbacks_node_t *node); +SBP_EXPORT s8 sbp_message_process(sbp_state_t *s, u16 sender_id, sbp_msg_type_t msg_type, const sbp_msg_t *msg); +SBP_EXPORT s8 sbp_message_send(sbp_state_t *s, sbp_msg_type_t msg_type, u16 sender_id, const sbp_msg_t *msg, + sbp_write_fn_t write); + #ifdef __cplusplus } #endif diff --git a/c/include/libsbp/v4/api.h b/c/include/libsbp/v4/api.h deleted file mode 100644 index e0029b60cf..0000000000 --- a/c/include/libsbp/v4/api.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2021 Swift Navigation Inc. - * Contact: Swift Navigation - * - * This source is subject to the license found in the file 'LICENSE' which must - * be be distributed together with this source. All other rights reserved. - * - * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, - * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. - */ - -#ifndef LIBSBP_V4_API_H -#define LIBSBP_V4_API_H - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef void (*sbp_decoded_callback_t)(u16 sender_id, sbp_msg_type_t msg_type, const sbp_msg_t *msg, void *context); - -SBP_EXPORT s8 sbp_callback_register(sbp_state_t* s, sbp_msg_type_t msg_type, sbp_decoded_callback_t cb, void* context, - sbp_msg_callbacks_node_t *node); -SBP_EXPORT s8 sbp_all_message_callback_register(sbp_state_t *s, sbp_decoded_callback_t cb, void* context, - sbp_msg_callbacks_node_t *node); -SBP_EXPORT s8 sbp_message_process(sbp_state_t *s, u16 sender_id, sbp_msg_type_t msg_type, const sbp_msg_t *msg); -SBP_EXPORT s8 sbp_message_send(sbp_state_t *s, sbp_msg_type_t msg_type, u16 sender_id, const sbp_msg_t *msg, - sbp_write_fn_t write); - -#ifdef __cplusplus -} -#endif - -#endif /* LIBSBP_V4_API_H */ From d5b7c1a72df21e560ed562900a10266895c83e0a Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 09:17:09 +1100 Subject: [PATCH 06/19] Remove implicit access to legacy API through main sbp header file --- c/include/libsbp/cpp/state.h | 1 + c/include/libsbp/legacy/api.h | 7 +----- c/include/libsbp/legacy/callbacks.h | 25 +++++++++++++++++++ c/include/libsbp/legacy/cpp/payload_handler.h | 1 + c/include/libsbp/sbp.h | 3 +-- c/src/v4/acquisition.c | 1 + c/src/v4/bootload.c | 1 + c/src/v4/ext_events.c | 1 + c/src/v4/file_io.c | 1 + c/src/v4/flash.c | 1 + c/src/v4/gnss.c | 1 + c/src/v4/imu.c | 1 + c/src/v4/integrity.c | 1 + c/src/v4/linux.c | 1 + c/src/v4/logging.c | 1 + c/src/v4/mag.c | 1 + c/src/v4/navigation.c | 1 + c/src/v4/ndb.c | 1 + c/src/v4/observation.c | 1 + c/src/v4/orientation.c | 1 + c/src/v4/piksi.c | 1 + c/src/v4/sbas.c | 1 + c/src/v4/settings.c | 1 + c/src/v4/signing.c | 1 + c/src/v4/solution_meta.c | 1 + c/src/v4/ssr.c | 1 + c/src/v4/system.c | 1 + c/src/v4/telemetry.c | 1 + c/src/v4/tracking.c | 1 + c/src/v4/user.c | 1 + c/src/v4/vehicle.c | 1 + c/test/check_sbp.c | 1 + .../resources/c/src/sbp_messages_template.c | 1 + 33 files changed, 57 insertions(+), 8 deletions(-) create mode 100644 c/include/libsbp/legacy/callbacks.h diff --git a/c/include/libsbp/cpp/state.h b/c/include/libsbp/cpp/state.h index aa75db3f19..ed6d5e20a8 100644 --- a/c/include/libsbp/cpp/state.h +++ b/c/include/libsbp/cpp/state.h @@ -15,6 +15,7 @@ #include #include +#include namespace sbp { diff --git a/c/include/libsbp/legacy/api.h b/c/include/libsbp/legacy/api.h index 287d75af84..f7c7492baa 100644 --- a/c/include/libsbp/legacy/api.h +++ b/c/include/libsbp/legacy/api.h @@ -14,17 +14,12 @@ #define LIBSBP_LEGACY_API_H #include +#include #ifdef __cplusplus extern "C" { #endif -/** SBP callback function prototype definitions. */ -typedef void (*sbp_msg_callback_t)(u16 sender_id, u8 len, u8 msg[], void *context); -typedef void (*sbp_frame_callback_t)(u16 sender_id, u16 msg_type, - u8 payload_len, u8 payload[], - u16 frame_len, u8 frame[], void *context); - /** Register a payload callback for a message type. * * Register a payload callback that is called when a message diff --git a/c/include/libsbp/legacy/callbacks.h b/c/include/libsbp/legacy/callbacks.h new file mode 100644 index 0000000000..fa840ebba3 --- /dev/null +++ b/c/include/libsbp/legacy/callbacks.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2011-2021 Swift Navigation Inc. + * Contact: Swift Navigation + * + * This source is subject to the license found in the file 'LICENSE' which must + * be be distributed together with this source. All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef LIBSBP_SBP_CALLBACKS_H +#define LIBSBP_SBP_CALLBACKS_H + +#include + +/** SBP callback function prototype definitions. */ +typedef void (*sbp_msg_callback_t)(u16 sender_id, u8 len, u8 msg[], void *context); +typedef void (*sbp_frame_callback_t)(u16 sender_id, u16 msg_type, + u8 payload_len, u8 payload[], + u16 frame_len, u8 frame[], void *context); + +#endif + diff --git a/c/include/libsbp/legacy/cpp/payload_handler.h b/c/include/libsbp/legacy/cpp/payload_handler.h index 67cbbd31c1..e5194af782 100644 --- a/c/include/libsbp/legacy/cpp/payload_handler.h +++ b/c/include/libsbp/legacy/cpp/payload_handler.h @@ -18,6 +18,7 @@ #include #include +#include namespace sbp { diff --git a/c/include/libsbp/sbp.h b/c/include/libsbp/sbp.h index 687a5ef4ea..dcbdc260d2 100644 --- a/c/include/libsbp/sbp.h +++ b/c/include/libsbp/sbp.h @@ -14,8 +14,7 @@ #define LIBSBP_SBP_H #include -#include -#include +#include #include #include diff --git a/c/src/v4/acquisition.c b/c/src/v4/acquisition.c index f167d9890a..28b1941f85 100644 --- a/c/src/v4/acquisition.c +++ b/c/src/v4/acquisition.c @@ -14,6 +14,7 @@ #include #include #include +#include #include bool sbp_msg_acq_result_encode_internal(sbp_encode_ctx_t *ctx, diff --git a/c/src/v4/bootload.c b/c/src/v4/bootload.c index ccb8e434bd..f0f9904caf 100644 --- a/c/src/v4/bootload.c +++ b/c/src/v4/bootload.c @@ -14,6 +14,7 @@ #include #include #include +#include #include bool sbp_msg_bootloader_handshake_req_encode_internal( diff --git a/c/src/v4/ext_events.c b/c/src/v4/ext_events.c index 934630e248..08c05ceb76 100644 --- a/c/src/v4/ext_events.c +++ b/c/src/v4/ext_events.c @@ -14,6 +14,7 @@ #include #include #include +#include #include bool sbp_msg_ext_event_encode_internal(sbp_encode_ctx_t *ctx, diff --git a/c/src/v4/file_io.c b/c/src/v4/file_io.c index 4bc4ad2771..91a48c9af0 100644 --- a/c/src/v4/file_io.c +++ b/c/src/v4/file_io.c @@ -14,6 +14,7 @@ #include #include #include +#include #include void sbp_msg_fileio_read_req_filename_init(sbp_msg_fileio_read_req_t *msg) { diff --git a/c/src/v4/flash.c b/c/src/v4/flash.c index 5fd6352a78..5b585b139e 100644 --- a/c/src/v4/flash.c +++ b/c/src/v4/flash.c @@ -14,6 +14,7 @@ #include #include #include +#include #include bool sbp_msg_flash_program_encode_internal(sbp_encode_ctx_t *ctx, diff --git a/c/src/v4/gnss.c b/c/src/v4/gnss.c index 224dc37a23..7279685c41 100644 --- a/c/src/v4/gnss.c +++ b/c/src/v4/gnss.c @@ -14,6 +14,7 @@ #include #include #include +#include #include bool sbp_v4_gnss_signal_encode_internal(sbp_encode_ctx_t *ctx, diff --git a/c/src/v4/imu.c b/c/src/v4/imu.c index 56da420f94..e367c5b31a 100644 --- a/c/src/v4/imu.c +++ b/c/src/v4/imu.c @@ -14,6 +14,7 @@ #include #include #include +#include #include bool sbp_msg_imu_raw_encode_internal(sbp_encode_ctx_t *ctx, diff --git a/c/src/v4/integrity.c b/c/src/v4/integrity.c index aa9367e861..9a8fc111b4 100644 --- a/c/src/v4/integrity.c +++ b/c/src/v4/integrity.c @@ -14,6 +14,7 @@ #include #include #include +#include #include bool sbp_integrity_ssr_header_encode_internal( diff --git a/c/src/v4/linux.c b/c/src/v4/linux.c index 99041bddfc..a2c86eae19 100644 --- a/c/src/v4/linux.c +++ b/c/src/v4/linux.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/logging.c b/c/src/v4/logging.c index 6d07d932d3..a46ea82c4b 100644 --- a/c/src/v4/logging.c +++ b/c/src/v4/logging.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/mag.c b/c/src/v4/mag.c index 6b46711565..ba3b5149f6 100644 --- a/c/src/v4/mag.c +++ b/c/src/v4/mag.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/navigation.c b/c/src/v4/navigation.c index cf99f92216..b0cdd94379 100644 --- a/c/src/v4/navigation.c +++ b/c/src/v4/navigation.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/ndb.c b/c/src/v4/ndb.c index 6e38171598..0b23e2aeea 100644 --- a/c/src/v4/ndb.c +++ b/c/src/v4/ndb.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/observation.c b/c/src/v4/observation.c index c33de87c79..2fec4e2f4f 100644 --- a/c/src/v4/observation.c +++ b/c/src/v4/observation.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/orientation.c b/c/src/v4/orientation.c index 55cd256ce5..415741fe5b 100644 --- a/c/src/v4/orientation.c +++ b/c/src/v4/orientation.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/piksi.c b/c/src/v4/piksi.c index ed012c2934..fe264c0b62 100644 --- a/c/src/v4/piksi.c +++ b/c/src/v4/piksi.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/sbas.c b/c/src/v4/sbas.c index 95d5a1f111..5d9be8f49d 100644 --- a/c/src/v4/sbas.c +++ b/c/src/v4/sbas.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/settings.c b/c/src/v4/settings.c index bf8a88664f..20e0a7c892 100644 --- a/c/src/v4/settings.c +++ b/c/src/v4/settings.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/signing.c b/c/src/v4/signing.c index 5c6f3da7e8..eccc214750 100644 --- a/c/src/v4/signing.c +++ b/c/src/v4/signing.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/solution_meta.c b/c/src/v4/solution_meta.c index d32bca5b7d..fa0950d2dc 100644 --- a/c/src/v4/solution_meta.c +++ b/c/src/v4/solution_meta.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/ssr.c b/c/src/v4/ssr.c index afbc10cfbc..59f8a6465a 100644 --- a/c/src/v4/ssr.c +++ b/c/src/v4/ssr.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/system.c b/c/src/v4/system.c index d8edd0b505..4d6a305a91 100644 --- a/c/src/v4/system.c +++ b/c/src/v4/system.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/telemetry.c b/c/src/v4/telemetry.c index 756836a2a4..af225288a3 100644 --- a/c/src/v4/telemetry.c +++ b/c/src/v4/telemetry.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/tracking.c b/c/src/v4/tracking.c index 4d8b320213..d4f9ef40cb 100644 --- a/c/src/v4/tracking.c +++ b/c/src/v4/tracking.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/user.c b/c/src/v4/user.c index 12a74ce26c..75397bdc1e 100644 --- a/c/src/v4/user.c +++ b/c/src/v4/user.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/src/v4/vehicle.c b/c/src/v4/vehicle.c index b4d05bf327..d1b7a850c7 100644 --- a/c/src/v4/vehicle.c +++ b/c/src/v4/vehicle.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/c/test/check_sbp.c b/c/test/check_sbp.c index 20b164e9e7..1ca8c89920 100644 --- a/c/test/check_sbp.c +++ b/c/test/check_sbp.c @@ -12,6 +12,7 @@ #include #include +#include #include int DUMMY_MEMORY_FOR_CALLBACKS = (int)0xdeadbeef; diff --git a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c index 45d6811403..52adf3cc0a 100644 --- a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c +++ b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c @@ -15,6 +15,7 @@ #include #include #include +#include ((*- for m in package.msgs *)) From 6d91b8d87d0b2b16ac3bbd0bfe8be15df3d86b4d Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 09:34:58 +1100 Subject: [PATCH 07/19] Move source and private header files to get rid of 'v4' directory --- c/src/CMakeLists.txt | 39 +++++++++++++++---- c/src/{v4 => }/acquisition.c | 12 +++--- c/src/{v4 => }/bootload.c | 12 +++--- c/src/{v4 => }/ext_events.c | 12 +++--- c/src/{v4 => }/file_io.c | 12 +++--- c/src/{v4 => }/flash.c | 12 +++--- c/src/{v4 => }/gnss.c | 12 +++--- c/src/{v4 => }/imu.c | 12 +++--- .../libsbp/internal/{v4 => }/acquisition.h | 4 +- .../libsbp/internal/{v4 => }/bootload.h | 2 +- .../include/libsbp/internal/{v4 => }/common.h | 0 .../libsbp/internal/{v4 => }/ext_events.h | 2 +- .../libsbp/internal/{v4 => }/file_io.h | 2 +- .../include/libsbp/internal/{v4 => }/flash.h | 2 +- c/src/include/libsbp/internal/{v4 => }/gnss.h | 2 +- c/src/include/libsbp/internal/{v4 => }/imu.h | 2 +- .../libsbp/internal/{v4 => }/integrity.h | 4 +- .../include/libsbp/internal/{v4 => }/linux.h | 2 +- .../libsbp/internal/{v4 => }/logging.h | 2 +- c/src/include/libsbp/internal/{v4 => }/mag.h | 2 +- .../libsbp/internal/{v4 => }/navigation.h | 2 +- c/src/include/libsbp/internal/{v4 => }/ndb.h | 4 +- .../libsbp/internal/{v4 => }/observation.h | 4 +- .../libsbp/internal/{v4 => }/orientation.h | 2 +- .../include/libsbp/internal/{v4 => }/piksi.h | 4 +- c/src/include/libsbp/internal/{v4 => }/sbas.h | 4 +- .../libsbp/internal/{v4 => }/settings.h | 2 +- .../libsbp/internal/{v4 => }/signing.h | 2 +- .../libsbp/internal/{v4 => }/solution_meta.h | 2 +- c/src/include/libsbp/internal/{v4 => }/ssr.h | 4 +- .../{v4 => }/string/double_null_terminated.h | 2 +- .../internal/{v4 => }/string/multipart.h | 2 +- .../{v4 => }/string/null_terminated.h | 2 +- .../internal/{v4 => }/string/sbp_string.h | 2 +- .../internal/{v4 => }/string/sbp_strnlen.h | 0 .../internal/{v4 => }/string/unterminated.h | 2 +- .../include/libsbp/internal/{v4 => }/system.h | 2 +- .../libsbp/internal/{v4 => }/telemetry.h | 4 +- .../libsbp/internal/{v4 => }/tracking.h | 4 +- c/src/include/libsbp/internal/{v4 => }/user.h | 2 +- .../libsbp/internal/{v4 => }/vehicle.h | 2 +- c/src/{v4 => }/integrity.c | 12 +++--- c/src/{v4 => }/linux.c | 12 +++--- c/src/{v4 => }/logging.c | 12 +++--- c/src/{v4 => }/mag.c | 12 +++--- c/src/{v4 => }/navigation.c | 12 +++--- c/src/{v4 => }/ndb.c | 12 +++--- c/src/{v4 => }/observation.c | 12 +++--- c/src/{v4 => }/orientation.c | 12 +++--- c/src/{v4 => }/piksi.c | 12 +++--- c/src/{v4 => }/sbas.c | 12 +++--- c/src/{v4 => }/settings.c | 12 +++--- c/src/{v4 => }/signing.c | 12 +++--- c/src/{v4 => }/solution_meta.c | 12 +++--- c/src/{v4 => }/ssr.c | 12 +++--- .../{v4 => }/string/double_null_terminated.c | 6 +-- c/src/{v4 => }/string/multipart.c | 6 +-- c/src/{v4 => }/string/null_terminated.c | 6 +-- c/src/{v4 => }/string/sbp_string.c | 6 +-- c/src/{v4 => }/string/unterminated.c | 6 +-- c/src/{v4 => }/system.c | 12 +++--- c/src/{v4 => }/telemetry.c | 12 +++--- c/src/{v4 => }/tracking.c | 12 +++--- c/src/{v4 => }/user.c | 12 +++--- c/src/{v4 => }/vehicle.c | 12 +++--- c/test/check_sbp.c | 2 +- c/test/string/test_double_null_terminated.cc | 2 +- c/test/string/test_multipart.cc | 2 +- c/test/string/test_null_terminated.cc | 2 +- c/test/string/test_unterminated.cc | 2 +- generator/sbpg/targets/c.py | 9 +++-- .../c/src/sbp_messages_private_template.h | 4 +- .../resources/c/src/sbp_messages_template.c | 12 +++--- 73 files changed, 261 insertions(+), 235 deletions(-) rename c/src/{v4 => }/acquisition.c (98%) rename c/src/{v4 => }/bootload.c (98%) rename c/src/{v4 => }/ext_events.c (91%) rename c/src/{v4 => }/file_io.c (99%) rename c/src/{v4 => }/flash.c (98%) rename c/src/{v4 => }/gnss.c (97%) rename c/src/{v4 => }/imu.c (95%) rename c/src/include/libsbp/internal/{v4 => }/acquisition.h (98%) rename c/src/include/libsbp/internal/{v4 => }/bootload.h (99%) rename c/src/include/libsbp/internal/{v4 => }/common.h (100%) rename c/src/include/libsbp/internal/{v4 => }/ext_events.h (97%) rename c/src/include/libsbp/internal/{v4 => }/file_io.h (99%) rename c/src/include/libsbp/internal/{v4 => }/flash.h (99%) rename c/src/include/libsbp/internal/{v4 => }/gnss.h (99%) rename c/src/include/libsbp/internal/{v4 => }/imu.h (98%) rename c/src/include/libsbp/internal/{v4 => }/integrity.h (98%) rename c/src/include/libsbp/internal/{v4 => }/linux.h (99%) rename c/src/include/libsbp/internal/{v4 => }/logging.h (98%) rename c/src/include/libsbp/internal/{v4 => }/mag.h (97%) rename c/src/include/libsbp/internal/{v4 => }/navigation.h (99%) rename c/src/include/libsbp/internal/{v4 => }/ndb.h (95%) rename c/src/include/libsbp/internal/{v4 => }/observation.h (99%) rename c/src/include/libsbp/internal/{v4 => }/orientation.h (98%) rename c/src/include/libsbp/internal/{v4 => }/piksi.h (99%) rename c/src/include/libsbp/internal/{v4 => }/sbas.h (95%) rename c/src/include/libsbp/internal/{v4 => }/settings.h (99%) rename c/src/include/libsbp/internal/{v4 => }/signing.h (99%) rename c/src/include/libsbp/internal/{v4 => }/solution_meta.h (99%) rename c/src/include/libsbp/internal/{v4 => }/ssr.h (99%) rename c/src/include/libsbp/internal/{v4 => }/string/double_null_terminated.h (99%) rename c/src/include/libsbp/internal/{v4 => }/string/multipart.h (99%) rename c/src/include/libsbp/internal/{v4 => }/string/null_terminated.h (99%) rename c/src/include/libsbp/internal/{v4 => }/string/sbp_string.h (99%) rename c/src/include/libsbp/internal/{v4 => }/string/sbp_strnlen.h (100%) rename c/src/include/libsbp/internal/{v4 => }/string/unterminated.h (99%) rename c/src/include/libsbp/internal/{v4 => }/system.h (99%) rename c/src/include/libsbp/internal/{v4 => }/telemetry.h (96%) rename c/src/include/libsbp/internal/{v4 => }/tracking.h (99%) rename c/src/include/libsbp/internal/{v4 => }/user.h (97%) rename c/src/include/libsbp/internal/{v4 => }/vehicle.h (98%) rename c/src/{v4 => }/integrity.c (98%) rename c/src/{v4 => }/linux.c (99%) rename c/src/{v4 => }/logging.c (97%) rename c/src/{v4 => }/mag.c (91%) rename c/src/{v4 => }/navigation.c (99%) rename c/src/{v4 => }/ndb.c (93%) rename c/src/{v4 => }/observation.c (99%) rename c/src/{v4 => }/orientation.c (97%) rename c/src/{v4 => }/piksi.c (99%) rename c/src/{v4 => }/sbas.c (91%) rename c/src/{v4 => }/settings.c (99%) rename c/src/{v4 => }/signing.c (99%) rename c/src/{v4 => }/solution_meta.c (98%) rename c/src/{v4 => }/ssr.c (99%) rename c/src/{v4 => }/string/double_null_terminated.c (97%) rename c/src/{v4 => }/string/multipart.c (97%) rename c/src/{v4 => }/string/null_terminated.c (97%) rename c/src/{v4 => }/string/sbp_string.c (95%) rename c/src/{v4 => }/string/unterminated.c (96%) rename c/src/{v4 => }/system.c (99%) rename c/src/{v4 => }/telemetry.c (95%) rename c/src/{v4 => }/tracking.c (99%) rename c/src/{v4 => }/user.c (90%) rename c/src/{v4 => }/vehicle.c (94%) diff --git a/c/src/CMakeLists.txt b/c/src/CMakeLists.txt index e024ea2de1..dc42729978 100644 --- a/c/src/CMakeLists.txt +++ b/c/src/CMakeLists.txt @@ -1,14 +1,39 @@ -FILE(GLOB generated_c_sources v4/*.c) set(libsbp_SRCS edc.c sbp.c - v4/string/sbp_string.c - v4/string/multipart.c - v4/string/unterminated.c - v4/string/null_terminated.c - v4/string/double_null_terminated.c - ${generated_c_sources} + string/sbp_string.c + string/multipart.c + string/unterminated.c + string/null_terminated.c + string/double_null_terminated.c + #generated files + acquisition.c + bootload.c + ext_events.c + file_io.c + flash.c + gnss.c + imu.c + integrity.c + linux.c + logging.c + mag.c + navigation.c + ndb.c + observation.c + orientation.c + piksi.c + sbas.c + settings.c + signing.c + solution_meta.c + ssr.c + system.c + telemetry.c + tracking.c + user.c + vehicle.c ) swift_add_library(sbp diff --git a/c/src/v4/acquisition.c b/c/src/acquisition.c similarity index 98% rename from c/src/v4/acquisition.c rename to c/src/acquisition.c index 28b1941f85..b33e64fcf8 100644 --- a/c/src/v4/acquisition.c +++ b/c/src/acquisition.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/v4/bootload.c b/c/src/bootload.c similarity index 98% rename from c/src/v4/bootload.c rename to c/src/bootload.c index f0f9904caf..d120c3348d 100644 --- a/c/src/v4/bootload.c +++ b/c/src/bootload.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/v4/ext_events.c b/c/src/ext_events.c similarity index 91% rename from c/src/v4/ext_events.c rename to c/src/ext_events.c index 08c05ceb76..fc23da39eb 100644 --- a/c/src/v4/ext_events.c +++ b/c/src/ext_events.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/v4/file_io.c b/c/src/file_io.c similarity index 99% rename from c/src/v4/file_io.c rename to c/src/file_io.c index 91a48c9af0..d6daf6beb3 100644 --- a/c/src/v4/file_io.c +++ b/c/src/file_io.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/v4/flash.c b/c/src/flash.c similarity index 98% rename from c/src/v4/flash.c rename to c/src/flash.c index 5b585b139e..ab329a9ae5 100644 --- a/c/src/v4/flash.c +++ b/c/src/flash.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/v4/gnss.c b/c/src/gnss.c similarity index 97% rename from c/src/v4/gnss.c rename to c/src/gnss.c index 7279685c41..39048d55e4 100644 --- a/c/src/v4/gnss.c +++ b/c/src/gnss.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/v4/imu.c b/c/src/imu.c similarity index 95% rename from c/src/v4/imu.c rename to c/src/imu.c index e367c5b31a..2775575c7c 100644 --- a/c/src/v4/imu.c +++ b/c/src/imu.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/include/libsbp/internal/v4/acquisition.h b/c/src/include/libsbp/internal/acquisition.h similarity index 98% rename from c/src/include/libsbp/internal/v4/acquisition.h rename to c/src/include/libsbp/internal/acquisition.h index 863a68025b..8980371978 100644 --- a/c/src/include/libsbp/internal/v4/acquisition.h +++ b/c/src/include/libsbp/internal/acquisition.h @@ -21,8 +21,8 @@ #include #include -#include -#include +#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/bootload.h b/c/src/include/libsbp/internal/bootload.h similarity index 99% rename from c/src/include/libsbp/internal/v4/bootload.h rename to c/src/include/libsbp/internal/bootload.h index 51f2449e74..814fd26c5f 100644 --- a/c/src/include/libsbp/internal/v4/bootload.h +++ b/c/src/include/libsbp/internal/bootload.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/common.h b/c/src/include/libsbp/internal/common.h similarity index 100% rename from c/src/include/libsbp/internal/v4/common.h rename to c/src/include/libsbp/internal/common.h diff --git a/c/src/include/libsbp/internal/v4/ext_events.h b/c/src/include/libsbp/internal/ext_events.h similarity index 97% rename from c/src/include/libsbp/internal/v4/ext_events.h rename to c/src/include/libsbp/internal/ext_events.h index 53b27a34bb..4fa6351e49 100644 --- a/c/src/include/libsbp/internal/v4/ext_events.h +++ b/c/src/include/libsbp/internal/ext_events.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/file_io.h b/c/src/include/libsbp/internal/file_io.h similarity index 99% rename from c/src/include/libsbp/internal/v4/file_io.h rename to c/src/include/libsbp/internal/file_io.h index c094cd7972..2423bcbb14 100644 --- a/c/src/include/libsbp/internal/v4/file_io.h +++ b/c/src/include/libsbp/internal/file_io.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/flash.h b/c/src/include/libsbp/internal/flash.h similarity index 99% rename from c/src/include/libsbp/internal/v4/flash.h rename to c/src/include/libsbp/internal/flash.h index fd39155770..81989cf4f9 100644 --- a/c/src/include/libsbp/internal/v4/flash.h +++ b/c/src/include/libsbp/internal/flash.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/gnss.h b/c/src/include/libsbp/internal/gnss.h similarity index 99% rename from c/src/include/libsbp/internal/v4/gnss.h rename to c/src/include/libsbp/internal/gnss.h index 74f421456b..dc5669640f 100644 --- a/c/src/include/libsbp/internal/v4/gnss.h +++ b/c/src/include/libsbp/internal/gnss.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/imu.h b/c/src/include/libsbp/internal/imu.h similarity index 98% rename from c/src/include/libsbp/internal/v4/imu.h rename to c/src/include/libsbp/internal/imu.h index a947878cf7..eed5c364bd 100644 --- a/c/src/include/libsbp/internal/v4/imu.h +++ b/c/src/include/libsbp/internal/imu.h @@ -21,7 +21,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/integrity.h b/c/src/include/libsbp/internal/integrity.h similarity index 98% rename from c/src/include/libsbp/internal/v4/integrity.h rename to c/src/include/libsbp/internal/integrity.h index 4be25c6065..6d751d1407 100644 --- a/c/src/include/libsbp/internal/v4/integrity.h +++ b/c/src/include/libsbp/internal/integrity.h @@ -21,8 +21,8 @@ #include #include -#include -#include +#include +#include #ifdef __cplusplus extern "C" { diff --git a/c/src/include/libsbp/internal/v4/linux.h b/c/src/include/libsbp/internal/linux.h similarity index 99% rename from c/src/include/libsbp/internal/v4/linux.h rename to c/src/include/libsbp/internal/linux.h index a270878361..95306aaa6e 100644 --- a/c/src/include/libsbp/internal/v4/linux.h +++ b/c/src/include/libsbp/internal/linux.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/logging.h b/c/src/include/libsbp/internal/logging.h similarity index 98% rename from c/src/include/libsbp/internal/v4/logging.h rename to c/src/include/libsbp/internal/logging.h index e44f5f6aa0..ad719ab511 100644 --- a/c/src/include/libsbp/internal/v4/logging.h +++ b/c/src/include/libsbp/internal/logging.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/mag.h b/c/src/include/libsbp/internal/mag.h similarity index 97% rename from c/src/include/libsbp/internal/v4/mag.h rename to c/src/include/libsbp/internal/mag.h index 8a835c0eb6..c044e987a6 100644 --- a/c/src/include/libsbp/internal/v4/mag.h +++ b/c/src/include/libsbp/internal/mag.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/navigation.h b/c/src/include/libsbp/internal/navigation.h similarity index 99% rename from c/src/include/libsbp/internal/v4/navigation.h rename to c/src/include/libsbp/internal/navigation.h index 3ff8ce5065..db7e4d5c03 100644 --- a/c/src/include/libsbp/internal/v4/navigation.h +++ b/c/src/include/libsbp/internal/navigation.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/ndb.h b/c/src/include/libsbp/internal/ndb.h similarity index 95% rename from c/src/include/libsbp/internal/v4/ndb.h rename to c/src/include/libsbp/internal/ndb.h index 53927199d4..03d0cb7c1a 100644 --- a/c/src/include/libsbp/internal/v4/ndb.h +++ b/c/src/include/libsbp/internal/ndb.h @@ -20,8 +20,8 @@ #include -#include -#include +#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/observation.h b/c/src/include/libsbp/internal/observation.h similarity index 99% rename from c/src/include/libsbp/internal/v4/observation.h rename to c/src/include/libsbp/internal/observation.h index 77f2f7b5b0..19800e5d58 100644 --- a/c/src/include/libsbp/internal/v4/observation.h +++ b/c/src/include/libsbp/internal/observation.h @@ -20,8 +20,8 @@ #include -#include -#include +#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/orientation.h b/c/src/include/libsbp/internal/orientation.h similarity index 98% rename from c/src/include/libsbp/internal/v4/orientation.h rename to c/src/include/libsbp/internal/orientation.h index 03fbab74c6..25049cc449 100644 --- a/c/src/include/libsbp/internal/v4/orientation.h +++ b/c/src/include/libsbp/internal/orientation.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/piksi.h b/c/src/include/libsbp/internal/piksi.h similarity index 99% rename from c/src/include/libsbp/internal/v4/piksi.h rename to c/src/include/libsbp/internal/piksi.h index 2e1d5c711b..0918d4a56d 100644 --- a/c/src/include/libsbp/internal/v4/piksi.h +++ b/c/src/include/libsbp/internal/piksi.h @@ -20,8 +20,8 @@ #include -#include -#include +#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/sbas.h b/c/src/include/libsbp/internal/sbas.h similarity index 95% rename from c/src/include/libsbp/internal/v4/sbas.h rename to c/src/include/libsbp/internal/sbas.h index 636f9a326a..ff1413bd68 100644 --- a/c/src/include/libsbp/internal/v4/sbas.h +++ b/c/src/include/libsbp/internal/sbas.h @@ -20,8 +20,8 @@ #include -#include -#include +#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/settings.h b/c/src/include/libsbp/internal/settings.h similarity index 99% rename from c/src/include/libsbp/internal/v4/settings.h rename to c/src/include/libsbp/internal/settings.h index dabf001f81..d2ebb36bcc 100644 --- a/c/src/include/libsbp/internal/v4/settings.h +++ b/c/src/include/libsbp/internal/settings.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/signing.h b/c/src/include/libsbp/internal/signing.h similarity index 99% rename from c/src/include/libsbp/internal/v4/signing.h rename to c/src/include/libsbp/internal/signing.h index d79306f3dc..21b18cc665 100644 --- a/c/src/include/libsbp/internal/v4/signing.h +++ b/c/src/include/libsbp/internal/signing.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/solution_meta.h b/c/src/include/libsbp/internal/solution_meta.h similarity index 99% rename from c/src/include/libsbp/internal/v4/solution_meta.h rename to c/src/include/libsbp/internal/solution_meta.h index 9624378094..b10f43f3cb 100644 --- a/c/src/include/libsbp/internal/v4/solution_meta.h +++ b/c/src/include/libsbp/internal/solution_meta.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/ssr.h b/c/src/include/libsbp/internal/ssr.h similarity index 99% rename from c/src/include/libsbp/internal/v4/ssr.h rename to c/src/include/libsbp/internal/ssr.h index 717ca5570e..ce82dba999 100644 --- a/c/src/include/libsbp/internal/v4/ssr.h +++ b/c/src/include/libsbp/internal/ssr.h @@ -20,8 +20,8 @@ #include -#include -#include +#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/double_null_terminated.h b/c/src/include/libsbp/internal/string/double_null_terminated.h similarity index 99% rename from c/src/include/libsbp/internal/v4/string/double_null_terminated.h rename to c/src/include/libsbp/internal/string/double_null_terminated.h index b4cc510012..479106b6ca 100644 --- a/c/src/include/libsbp/internal/v4/string/double_null_terminated.h +++ b/c/src/include/libsbp/internal/string/double_null_terminated.h @@ -69,7 +69,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/multipart.h b/c/src/include/libsbp/internal/string/multipart.h similarity index 99% rename from c/src/include/libsbp/internal/v4/string/multipart.h rename to c/src/include/libsbp/internal/string/multipart.h index 0a4dfd66cb..bb04ba3ef2 100644 --- a/c/src/include/libsbp/internal/v4/string/multipart.h +++ b/c/src/include/libsbp/internal/string/multipart.h @@ -62,7 +62,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/null_terminated.h b/c/src/include/libsbp/internal/string/null_terminated.h similarity index 99% rename from c/src/include/libsbp/internal/v4/string/null_terminated.h rename to c/src/include/libsbp/internal/string/null_terminated.h index 1866754f28..bcf764adb8 100644 --- a/c/src/include/libsbp/internal/v4/string/null_terminated.h +++ b/c/src/include/libsbp/internal/string/null_terminated.h @@ -43,7 +43,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/sbp_string.h b/c/src/include/libsbp/internal/string/sbp_string.h similarity index 99% rename from c/src/include/libsbp/internal/v4/string/sbp_string.h rename to c/src/include/libsbp/internal/string/sbp_string.h index 6aac28ce54..b89ab2d887 100644 --- a/c/src/include/libsbp/internal/v4/string/sbp_string.h +++ b/c/src/include/libsbp/internal/string/sbp_string.h @@ -18,7 +18,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/string/sbp_strnlen.h b/c/src/include/libsbp/internal/string/sbp_strnlen.h similarity index 100% rename from c/src/include/libsbp/internal/v4/string/sbp_strnlen.h rename to c/src/include/libsbp/internal/string/sbp_strnlen.h diff --git a/c/src/include/libsbp/internal/v4/string/unterminated.h b/c/src/include/libsbp/internal/string/unterminated.h similarity index 99% rename from c/src/include/libsbp/internal/v4/string/unterminated.h rename to c/src/include/libsbp/internal/string/unterminated.h index 665a8595e5..d80fe4e8ed 100644 --- a/c/src/include/libsbp/internal/v4/string/unterminated.h +++ b/c/src/include/libsbp/internal/string/unterminated.h @@ -52,7 +52,7 @@ #include #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/system.h b/c/src/include/libsbp/internal/system.h similarity index 99% rename from c/src/include/libsbp/internal/v4/system.h rename to c/src/include/libsbp/internal/system.h index 58a1a9c2c7..8b7df88341 100644 --- a/c/src/include/libsbp/internal/v4/system.h +++ b/c/src/include/libsbp/internal/system.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/telemetry.h b/c/src/include/libsbp/internal/telemetry.h similarity index 96% rename from c/src/include/libsbp/internal/v4/telemetry.h rename to c/src/include/libsbp/internal/telemetry.h index 62e449fd4b..f31c5aabb5 100644 --- a/c/src/include/libsbp/internal/v4/telemetry.h +++ b/c/src/include/libsbp/internal/telemetry.h @@ -20,8 +20,8 @@ #include -#include -#include +#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/tracking.h b/c/src/include/libsbp/internal/tracking.h similarity index 99% rename from c/src/include/libsbp/internal/v4/tracking.h rename to c/src/include/libsbp/internal/tracking.h index 77a1bbc3a1..a486cf4628 100644 --- a/c/src/include/libsbp/internal/v4/tracking.h +++ b/c/src/include/libsbp/internal/tracking.h @@ -20,8 +20,8 @@ #include -#include -#include +#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/user.h b/c/src/include/libsbp/internal/user.h similarity index 97% rename from c/src/include/libsbp/internal/v4/user.h rename to c/src/include/libsbp/internal/user.h index 55ca9b6232..238d7517d5 100644 --- a/c/src/include/libsbp/internal/v4/user.h +++ b/c/src/include/libsbp/internal/user.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/include/libsbp/internal/v4/vehicle.h b/c/src/include/libsbp/internal/vehicle.h similarity index 98% rename from c/src/include/libsbp/internal/v4/vehicle.h rename to c/src/include/libsbp/internal/vehicle.h index f8c3a2869a..000931f142 100644 --- a/c/src/include/libsbp/internal/v4/vehicle.h +++ b/c/src/include/libsbp/internal/vehicle.h @@ -20,7 +20,7 @@ #include -#include +#include #include #ifdef __cplusplus diff --git a/c/src/v4/integrity.c b/c/src/integrity.c similarity index 98% rename from c/src/v4/integrity.c rename to c/src/integrity.c index 9a8fc111b4..abe2e8ae87 100644 --- a/c/src/v4/integrity.c +++ b/c/src/integrity.c @@ -8,12 +8,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/c/src/v4/linux.c b/c/src/linux.c similarity index 99% rename from c/src/v4/linux.c rename to c/src/linux.c index a2c86eae19..8a2b6a7125 100644 --- a/c/src/v4/linux.c +++ b/c/src/linux.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/logging.c b/c/src/logging.c similarity index 97% rename from c/src/v4/logging.c rename to c/src/logging.c index a46ea82c4b..5b06b22524 100644 --- a/c/src/v4/logging.c +++ b/c/src/logging.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/mag.c b/c/src/mag.c similarity index 91% rename from c/src/v4/mag.c rename to c/src/mag.c index ba3b5149f6..d7ff952b4d 100644 --- a/c/src/v4/mag.c +++ b/c/src/mag.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/navigation.c b/c/src/navigation.c similarity index 99% rename from c/src/v4/navigation.c rename to c/src/navigation.c index b0cdd94379..fbde8cde3d 100644 --- a/c/src/v4/navigation.c +++ b/c/src/navigation.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/ndb.c b/c/src/ndb.c similarity index 93% rename from c/src/v4/ndb.c rename to c/src/ndb.c index 0b23e2aeea..4ec2b4e16f 100644 --- a/c/src/v4/ndb.c +++ b/c/src/ndb.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/observation.c b/c/src/observation.c similarity index 99% rename from c/src/v4/observation.c rename to c/src/observation.c index 2fec4e2f4f..c42df914cc 100644 --- a/c/src/v4/observation.c +++ b/c/src/observation.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/orientation.c b/c/src/orientation.c similarity index 97% rename from c/src/v4/orientation.c rename to c/src/orientation.c index 415741fe5b..6e674cbe1a 100644 --- a/c/src/v4/orientation.c +++ b/c/src/orientation.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/piksi.c b/c/src/piksi.c similarity index 99% rename from c/src/v4/piksi.c rename to c/src/piksi.c index fe264c0b62..ddd40e8621 100644 --- a/c/src/v4/piksi.c +++ b/c/src/piksi.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/sbas.c b/c/src/sbas.c similarity index 91% rename from c/src/v4/sbas.c rename to c/src/sbas.c index 5d9be8f49d..15b6dd38e2 100644 --- a/c/src/v4/sbas.c +++ b/c/src/sbas.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/settings.c b/c/src/settings.c similarity index 99% rename from c/src/v4/settings.c rename to c/src/settings.c index 20e0a7c892..ddf36eac6e 100644 --- a/c/src/v4/settings.c +++ b/c/src/settings.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/signing.c b/c/src/signing.c similarity index 99% rename from c/src/v4/signing.c rename to c/src/signing.c index eccc214750..0499e4211d 100644 --- a/c/src/v4/signing.c +++ b/c/src/signing.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/solution_meta.c b/c/src/solution_meta.c similarity index 98% rename from c/src/v4/solution_meta.c rename to c/src/solution_meta.c index fa0950d2dc..a0a6650e7a 100644 --- a/c/src/v4/solution_meta.c +++ b/c/src/solution_meta.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/ssr.c b/c/src/ssr.c similarity index 99% rename from c/src/v4/ssr.c rename to c/src/ssr.c index 59f8a6465a..221b0f6c8a 100644 --- a/c/src/v4/ssr.c +++ b/c/src/ssr.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/string/double_null_terminated.c b/c/src/string/double_null_terminated.c similarity index 97% rename from c/src/v4/string/double_null_terminated.c rename to c/src/string/double_null_terminated.c index 63d4ca4307..f1c5b5ccc5 100644 --- a/c/src/v4/string/double_null_terminated.c +++ b/c/src/string/double_null_terminated.c @@ -2,9 +2,9 @@ #include #include -#include -#include -#include +#include +#include +#include #define MINIMUM_ENCODED_LEN 2 diff --git a/c/src/v4/string/multipart.c b/c/src/string/multipart.c similarity index 97% rename from c/src/v4/string/multipart.c rename to c/src/string/multipart.c index 8fcf62f938..e60c07deea 100644 --- a/c/src/v4/string/multipart.c +++ b/c/src/string/multipart.c @@ -2,9 +2,9 @@ #include #include -#include -#include -#include +#include +#include +#include static const sbp_string_params_t params = { .valid = sbp_multipart_string_valid, diff --git a/c/src/v4/string/null_terminated.c b/c/src/string/null_terminated.c similarity index 97% rename from c/src/v4/string/null_terminated.c rename to c/src/string/null_terminated.c index 9365612958..fc11ef455a 100644 --- a/c/src/v4/string/null_terminated.c +++ b/c/src/string/null_terminated.c @@ -2,9 +2,9 @@ #include #include -#include -#include -#include +#include +#include +#include static const sbp_string_params_t params = { .valid = sbp_null_terminated_string_valid, diff --git a/c/src/v4/string/sbp_string.c b/c/src/string/sbp_string.c similarity index 95% rename from c/src/v4/string/sbp_string.c rename to c/src/string/sbp_string.c index d33e00c139..310a416c0b 100644 --- a/c/src/v4/string/sbp_string.c +++ b/c/src/string/sbp_string.c @@ -3,9 +3,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include int sbp_string_cmp(const sbp_string_t *a, const sbp_string_t *b, size_t maxlen, diff --git a/c/src/v4/string/unterminated.c b/c/src/string/unterminated.c similarity index 96% rename from c/src/v4/string/unterminated.c rename to c/src/string/unterminated.c index 40b0c3f9b5..59460377fb 100644 --- a/c/src/v4/string/unterminated.c +++ b/c/src/string/unterminated.c @@ -2,9 +2,9 @@ #include #include -#include -#include -#include +#include +#include +#include static const sbp_string_params_t params = { .valid = sbp_unterminated_string_valid, diff --git a/c/src/v4/system.c b/c/src/system.c similarity index 99% rename from c/src/v4/system.c rename to c/src/system.c index 4d6a305a91..5885d77c41 100644 --- a/c/src/v4/system.c +++ b/c/src/system.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/telemetry.c b/c/src/telemetry.c similarity index 95% rename from c/src/v4/telemetry.c rename to c/src/telemetry.c index af225288a3..6024d40361 100644 --- a/c/src/v4/telemetry.c +++ b/c/src/telemetry.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/tracking.c b/c/src/tracking.c similarity index 99% rename from c/src/v4/tracking.c rename to c/src/tracking.c index d4f9ef40cb..6e5ff95deb 100644 --- a/c/src/v4/tracking.c +++ b/c/src/tracking.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/user.c b/c/src/user.c similarity index 90% rename from c/src/v4/user.c rename to c/src/user.c index 75397bdc1e..612d55ec3e 100644 --- a/c/src/v4/user.c +++ b/c/src/user.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/src/v4/vehicle.c b/c/src/vehicle.c similarity index 94% rename from c/src/v4/vehicle.c rename to c/src/vehicle.c index d1b7a850c7..c4c7df6eec 100644 --- a/c/src/v4/vehicle.c +++ b/c/src/vehicle.c @@ -7,12 +7,12 @@ #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/c/test/check_sbp.c b/c/test/check_sbp.c index 1ca8c89920..18d2fba9a6 100644 --- a/c/test/check_sbp.c +++ b/c/test/check_sbp.c @@ -11,8 +11,8 @@ */ #include -#include #include +#include #include int DUMMY_MEMORY_FOR_CALLBACKS = (int)0xdeadbeef; diff --git a/c/test/string/test_double_null_terminated.cc b/c/test/string/test_double_null_terminated.cc index cb4a719f9c..2281cc1c94 100644 --- a/c/test/string/test_double_null_terminated.cc +++ b/c/test/string/test_double_null_terminated.cc @@ -1,5 +1,5 @@ #include -#include +#include TEST(TestSequenceStringDoubleNullTerminator, InitialState) { // The string buffer is zero'd out, it should still report as valid and have a packed length according to min-sections diff --git a/c/test/string/test_multipart.cc b/c/test/string/test_multipart.cc index 6f96a74362..fafc92d098 100644 --- a/c/test/string/test_multipart.cc +++ b/c/test/string/test_multipart.cc @@ -1,5 +1,5 @@ #include -#include +#include TEST(TestMultipartString, InitialState) { // The string buffer is zero'd out, it should still report as valid and have a packed length according to min-sections diff --git a/c/test/string/test_null_terminated.cc b/c/test/string/test_null_terminated.cc index 3187bdd831..daa2c1e294 100644 --- a/c/test/string/test_null_terminated.cc +++ b/c/test/string/test_null_terminated.cc @@ -1,5 +1,5 @@ #include -#include +#include TEST(TestNullTerminatedString, InitialState) { // The string buffer is zero'd out, it should still report as valid and have a packed length of 1 diff --git a/c/test/string/test_unterminated.cc b/c/test/string/test_unterminated.cc index 3597d70e5c..3d4ad9b099 100644 --- a/c/test/string/test_unterminated.cc +++ b/c/test/string/test_unterminated.cc @@ -1,5 +1,5 @@ #include -#include +#include TEST(TestUnterminatedString, InitialState) { // The string buffer is zero'd out, it should still report as valid and have a packed length of 1 diff --git a/generator/sbpg/targets/c.py b/generator/sbpg/targets/c.py index b7bfea8638..3bb185c517 100644 --- a/generator/sbpg/targets/c.py +++ b/generator/sbpg/targets/c.py @@ -581,6 +581,7 @@ def render(self, output_dir): # # Old public header for the package - include/libsbp/v4/.h # Generates a compile time message and includes the real public header - include/libsbp/.h + # To be removed in version 6 destination_filename = "%s/include/libsbp/v4/%s.h" % (output_dir, self.name) render_file( SBP_OLD_PACKAGE_TEMPLATE_NAME, @@ -602,9 +603,9 @@ def render(self, output_dir): }, ) - # Internal header for the package - src/include/libsbp/internal/v4/.h + # Internal header for the package - src/include/libsbp/internal/.h # Declares internal encode/decode functions for all types defined in this package - destination_filename = "%s/src/include/libsbp/internal/v4/%s.h" % ( + destination_filename = "%s/src/include/libsbp/internal/%s.h" % ( output_dir, self.name, ) @@ -616,9 +617,9 @@ def render(self, output_dir): }, ) - # Source for for the package - src/v4/.h + # Source for for the package - src/.h # Implements internal and public encode/decode functions for all types defined in this package - destination_filename = "%s/src/v4/%s.c" % (output_dir, self.name) + destination_filename = "%s/src/%s.c" % (output_dir, self.name) render_file( SBP_MESSAGES_SOURCE_TEMPLATE_NAME, destination_filename, diff --git a/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h b/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h index 886abf5e80..81077bead2 100644 --- a/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h +++ b/generator/sbpg/targets/resources/c/src/sbp_messages_private_template.h @@ -21,9 +21,9 @@ #include #include -#include +#include ((*- for i in package.includes *)) -#include +#include ((*- endfor *)) #ifdef __cplusplus diff --git a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c index 52adf3cc0a..9cdaa724bc 100644 --- a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c +++ b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c @@ -8,13 +8,13 @@ #include #include -#include +#include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include ((*- for m in package.msgs *)) From b6efa56392b4d8776c251f209111b1a2fe393dab Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 10:41:01 +1100 Subject: [PATCH 08/19] Missed bazel from previous commit --- c/BUILD.bazel | 62 +++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/c/BUILD.bazel b/c/BUILD.bazel index 7411006b09..5a290dc3f3 100644 --- a/c/BUILD.bazel +++ b/c/BUILD.bazel @@ -15,38 +15,38 @@ swift_c_library( srcs = [ "src/edc.c", "src/sbp.c", - "src/v4/string/sbp_string.c", - "src/v4/string/multipart.c", - "src/v4/string/null_terminated.c", - "src/v4/string/double_null_terminated.c", - "src/v4/string/unterminated.c", + "src/string/sbp_string.c", + "src/string/multipart.c", + "src/string/null_terminated.c", + "src/string/double_null_terminated.c", + "src/string/unterminated.c", # generated files - "src/v4/acquisition.c", - "src/v4/bootload.c", - "src/v4/ext_events.c", - "src/v4/file_io.c", - "src/v4/flash.c", - "src/v4/gnss.c", - "src/v4/imu.c", - "src/v4/integrity.c", - "src/v4/linux.c", - "src/v4/logging.c", - "src/v4/mag.c", - "src/v4/navigation.c", - "src/v4/ndb.c", - "src/v4/observation.c", - "src/v4/orientation.c", - "src/v4/piksi.c", - "src/v4/sbas.c", - "src/v4/settings.c", - "src/v4/signing.c", - "src/v4/solution_meta.c", - "src/v4/ssr.c", - "src/v4/system.c", - "src/v4/telemetry.c", - "src/v4/tracking.c", - "src/v4/user.c", - "src/v4/vehicle.c", + "src/acquisition.c", + "src/bootload.c", + "src/ext_events.c", + "src/file_io.c", + "src/flash.c", + "src/gnss.c", + "src/imu.c", + "src/integrity.c", + "src/linux.c", + "src/logging.c", + "src/mag.c", + "src/navigation.c", + "src/ndb.c", + "src/observation.c", + "src/orientation.c", + "src/piksi.c", + "src/sbas.c", + "src/settings.c", + "src/signing.c", + "src/solution_meta.c", + "src/ssr.c", + "src/system.c", + "src/telemetry.c", + "src/tracking.c", + "src/user.c", + "src/vehicle.c", ], hdrs = SBP_INCLUDE + SBP_INCLUDE_INTERNAL, copts = [ From fbc5831eace16ea224a976f1af62b724b78ec6c0 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 11:47:10 +1100 Subject: [PATCH 09/19] Update example and packaging tests to refer to new location --- c/BUILD.bazel | 12 +++---- c/examples/CMakeLists.txt | 2 +- c/examples/legacy/CMakeLists.txt | 4 +-- c/examples/legacy/cpp_example/CMakeLists.txt | 6 ++-- c/examples/legacy/example/CMakeLists.txt | 6 ++-- c/examples/legacy/example/example.c | 1 + .../legacy/tcp_2sigma_example/CMakeLists.txt | 8 ++--- .../tcp_2sigma_example/tcp_2sigma_example.cc | 1 + c/examples/legacy/tcp_example/CMakeLists.txt | 6 ++-- c/examples/legacy/tcp_example/tcp_example.c | 1 + c/examples/{v4 => libsbp}/CMakeLists.txt | 2 +- .../{v4 => libsbp}/cpp_example/CMakeLists.txt | 6 ++-- .../{v4 => libsbp}/cpp_example/README.md | 0 .../{v4 => libsbp}/cpp_example/cpp_example.cc | 0 .../cpp_traits_example/CMakeLists.txt | 6 ++-- .../cpp_traits_example/README.md | 0 .../cpp_traits_example/cpp_example.cc | 35 +++++++++---------- .../{v4 => libsbp}/example/CMakeLists.txt | 6 ++-- c/examples/{v4 => libsbp}/example/README.md | 0 c/examples/{v4 => libsbp}/example/example.c | 0 c/test/CMakeLists.txt | 8 ++--- c/test/cpp/CMakeLists.txt | 6 ++-- c/test_package/CMakeLists.txt | 22 ++++++------ c/test_package/{v4.c => api.c} | 3 +- c/test_package/{v4.cc => api.cc} | 0 25 files changed, 70 insertions(+), 71 deletions(-) rename c/examples/{v4 => libsbp}/CMakeLists.txt (66%) rename c/examples/{v4 => libsbp}/cpp_example/CMakeLists.txt (76%) rename c/examples/{v4 => libsbp}/cpp_example/README.md (100%) rename c/examples/{v4 => libsbp}/cpp_example/cpp_example.cc (100%) rename c/examples/{v4 => libsbp}/cpp_traits_example/CMakeLists.txt (73%) rename c/examples/{v4 => libsbp}/cpp_traits_example/README.md (100%) rename c/examples/{v4 => libsbp}/cpp_traits_example/cpp_example.cc (74%) rename c/examples/{v4 => libsbp}/example/CMakeLists.txt (76%) rename c/examples/{v4 => libsbp}/example/README.md (100%) rename c/examples/{v4 => libsbp}/example/example.c (100%) rename c/test_package/{v4.c => api.c} (98%) rename c/test_package/{v4.cc => api.cc} (100%) diff --git a/c/BUILD.bazel b/c/BUILD.bazel index 5a290dc3f3..a80fdebfa2 100644 --- a/c/BUILD.bazel +++ b/c/BUILD.bazel @@ -87,17 +87,17 @@ swift_cc_test( ], ) -SBP_V4_C_SOURCES = glob(["test/auto*.c"]) +SBP_C_SOURCES = glob(["test/auto*.c"]) swift_cc_test( - name = "sbp-v4-test", + name = "sbp-test", srcs = [ "test/check_main.c", "test/check_edc.c", "test/check_sbp.c", "test/check_bitfield_macros.c", "test/check_suites.h", - ] + SBP_V4_C_SOURCES, + ] + SBP_C_SOURCES, includes = ["include/libsbp"], type = UNIT, deps = [ @@ -106,11 +106,11 @@ swift_cc_test( ], ) -SBP_CPP_V4_C_SOURCES = glob(["test/cpp/auto*.cc"]) +SBP_CPP_C_SOURCES = glob(["test/cpp/auto*.cc"]) swift_cc_test( - name = "sbp-cpp-v4-test", - srcs = SBP_CPP_V4_C_SOURCES, + name = "sbp-cpp-test", + srcs = SBP_CPP_C_SOURCES, type = UNIT, deps = [ ":sbp", diff --git a/c/examples/CMakeLists.txt b/c/examples/CMakeLists.txt index f8c33fd9ac..66d7c1f0b8 100644 --- a/c/examples/CMakeLists.txt +++ b/c/examples/CMakeLists.txt @@ -3,5 +3,5 @@ option(BUILD_EXAMPLES "" OFF) if(BUILD_EXAMPLES) add_custom_target(examples) add_subdirectory(legacy) - add_subdirectory(v4) + add_subdirectory(libsbp) endif() diff --git a/c/examples/legacy/CMakeLists.txt b/c/examples/legacy/CMakeLists.txt index 2d092fe156..268b4967ad 100644 --- a/c/examples/legacy/CMakeLists.txt +++ b/c/examples/legacy/CMakeLists.txt @@ -1,4 +1,4 @@ foreach(target example cpp_example tcp_example tcp_2sigma_example) add_subdirectory(${target}) - add_dependencies(examples libsbp_${target}) -endforeach() \ No newline at end of file + add_dependencies(examples libsbp_legacy_${target}) +endforeach() diff --git a/c/examples/legacy/cpp_example/CMakeLists.txt b/c/examples/legacy/cpp_example/CMakeLists.txt index f8729fc424..05051a49b0 100644 --- a/c/examples/legacy/cpp_example/CMakeLists.txt +++ b/c/examples/legacy/cpp_example/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.8.9) -project(libsbp_cpp_example) +project(libsbp_legacy_cpp_example) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") @@ -11,5 +11,5 @@ find_package(PkgConfig) link_directories("/usr/local/lib/") include_directories("/usr/local/include/") -add_executable(libsbp_cpp_example cpp_example.cc) -target_link_libraries(libsbp_cpp_example sbp) +add_executable(libsbp_legacy_cpp_example cpp_example.cc) +target_link_libraries(libsbp_legacy_cpp_example sbp) diff --git a/c/examples/legacy/example/CMakeLists.txt b/c/examples/legacy/example/CMakeLists.txt index 5d25d12e0c..e146e49d62 100644 --- a/c/examples/legacy/example/CMakeLists.txt +++ b/c/examples/legacy/example/CMakeLists.txt @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 2.8.9) -project(libsbp_example) +project(libsbp_legacy_example) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_C_FLAGS "-Wall -Werror -Wno-error=deprecated-declarations -std=gnu99") -add_executable(libsbp_example example.c) +add_executable(libsbp_legacy_example example.c) find_package(PkgConfig) pkg_check_modules(LIBSERIALPORT libserialport) @@ -15,4 +15,4 @@ include_directories(${LIBSERIALPORT_INCLUDE_DIRS}) link_directories("/usr/local/lib/") include_directories("/usr/local/include/") -target_link_libraries(libsbp_example serialport sbp) +target_link_libraries(libsbp_legacy_example serialport sbp) diff --git a/c/examples/legacy/example/example.c b/c/examples/legacy/example/example.c index 96cf20fcef..900c6b3746 100644 --- a/c/examples/legacy/example/example.c +++ b/c/examples/legacy/example/example.c @@ -7,6 +7,7 @@ #include #include +#include char *serial_port_name = NULL; struct sp_port *piksi_port = NULL; diff --git a/c/examples/legacy/tcp_2sigma_example/CMakeLists.txt b/c/examples/legacy/tcp_2sigma_example/CMakeLists.txt index a5c5c77b19..990ceda50b 100644 --- a/c/examples/legacy/tcp_2sigma_example/CMakeLists.txt +++ b/c/examples/legacy/tcp_2sigma_example/CMakeLists.txt @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 2.8.9) -project(libsbp_tcp_2sigma_example) +project(libsbp_legacy_tcp_2sigma_example) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror -Wno-error=deprecated-declarations -std=c++14") -add_executable(libsbp_tcp_2sigma_example tcp_2sigma_example.cc) +add_executable(libsbp_legacy_tcp_2sigma_example tcp_2sigma_example.cc) find_package(PkgConfig) find_package(Eigen3) @@ -15,10 +15,10 @@ option(SHOW_PLOT "" OFF) link_directories("/usr/local/lib/") include_directories("/usr/local/include/") -target_link_libraries(libsbp_tcp_2sigma_example sbp) +target_link_libraries(libsbp_legacy_tcp_2sigma_example sbp) if (SHOW_PLOT) find_package(OpenCV) set(CMAKE_CXX_FLAGS "-DSHOW_PLOT ${CMAKE_CXX_FLAGS}") - target_link_libraries(libsbp_tcp_2sigma_example opencv_core opencv_imgproc opencv_highgui) + target_link_libraries(libsbp_legacy_tcp_2sigma_example opencv_core opencv_imgproc opencv_highgui) endif() diff --git a/c/examples/legacy/tcp_2sigma_example/tcp_2sigma_example.cc b/c/examples/legacy/tcp_2sigma_example/tcp_2sigma_example.cc index e3bf182a73..b9e67b436f 100644 --- a/c/examples/legacy/tcp_2sigma_example/tcp_2sigma_example.cc +++ b/c/examples/legacy/tcp_2sigma_example/tcp_2sigma_example.cc @@ -41,6 +41,7 @@ #include #include +#include // width and height of the plot window in pixels #define SIZE_PIXELS 300 diff --git a/c/examples/legacy/tcp_example/CMakeLists.txt b/c/examples/legacy/tcp_example/CMakeLists.txt index dd11b4a282..b262ad7f82 100644 --- a/c/examples/legacy/tcp_example/CMakeLists.txt +++ b/c/examples/legacy/tcp_example/CMakeLists.txt @@ -1,15 +1,15 @@ cmake_minimum_required(VERSION 2.8.9) -project(libsbp_tcp_example) +project(libsbp_legacy_tcp_example) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-strict-prototypes -Werror -Wno-error=deprecated-declarations -std=gnu99 ${CMAKE_C_FLAGS}") -add_executable(libsbp_tcp_example tcp_example.c) +add_executable(libsbp_legacy_tcp_example tcp_example.c) find_package(PkgConfig) link_directories("/usr/local/lib/") include_directories("/usr/local/include/") -target_link_libraries(libsbp_tcp_example sbp) +target_link_libraries(libsbp_legacy_tcp_example sbp) diff --git a/c/examples/legacy/tcp_example/tcp_example.c b/c/examples/legacy/tcp_example/tcp_example.c index dc0c763f16..e0327bc096 100644 --- a/c/examples/legacy/tcp_example/tcp_example.c +++ b/c/examples/legacy/tcp_example/tcp_example.c @@ -7,6 +7,7 @@ #include #include +#include char *tcp_ip_addr = NULL; char *tcp_ip_port = NULL; diff --git a/c/examples/v4/CMakeLists.txt b/c/examples/libsbp/CMakeLists.txt similarity index 66% rename from c/examples/v4/CMakeLists.txt rename to c/examples/libsbp/CMakeLists.txt index 57992f5a96..89917d6e2e 100644 --- a/c/examples/v4/CMakeLists.txt +++ b/c/examples/libsbp/CMakeLists.txt @@ -1,4 +1,4 @@ foreach(target example cpp_example cpp_traits_example) add_subdirectory(${target}) - add_dependencies(examples libsbp_v4_${target}) + add_dependencies(examples libsbp_${target}) endforeach() diff --git a/c/examples/v4/cpp_example/CMakeLists.txt b/c/examples/libsbp/cpp_example/CMakeLists.txt similarity index 76% rename from c/examples/v4/cpp_example/CMakeLists.txt rename to c/examples/libsbp/cpp_example/CMakeLists.txt index c6cb0c5ac9..f8729fc424 100644 --- a/c/examples/v4/cpp_example/CMakeLists.txt +++ b/c/examples/libsbp/cpp_example/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.8.9) -project(libsbp_v4_cpp_example) +project(libsbp_cpp_example) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") @@ -11,5 +11,5 @@ find_package(PkgConfig) link_directories("/usr/local/lib/") include_directories("/usr/local/include/") -add_executable(libsbp_v4_cpp_example cpp_example.cc) -target_link_libraries(libsbp_v4_cpp_example sbp) +add_executable(libsbp_cpp_example cpp_example.cc) +target_link_libraries(libsbp_cpp_example sbp) diff --git a/c/examples/v4/cpp_example/README.md b/c/examples/libsbp/cpp_example/README.md similarity index 100% rename from c/examples/v4/cpp_example/README.md rename to c/examples/libsbp/cpp_example/README.md diff --git a/c/examples/v4/cpp_example/cpp_example.cc b/c/examples/libsbp/cpp_example/cpp_example.cc similarity index 100% rename from c/examples/v4/cpp_example/cpp_example.cc rename to c/examples/libsbp/cpp_example/cpp_example.cc diff --git a/c/examples/v4/cpp_traits_example/CMakeLists.txt b/c/examples/libsbp/cpp_traits_example/CMakeLists.txt similarity index 73% rename from c/examples/v4/cpp_traits_example/CMakeLists.txt rename to c/examples/libsbp/cpp_traits_example/CMakeLists.txt index e44ce5f7df..28788075d1 100644 --- a/c/examples/v4/cpp_traits_example/CMakeLists.txt +++ b/c/examples/libsbp/cpp_traits_example/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 2.8.9) -project(libsbp_v4_cpp_traits_example) +project(libsbp_cpp_traits_example) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") @@ -11,5 +11,5 @@ find_package(PkgConfig) link_directories("/usr/local/lib/") include_directories("/usr/local/include/") -add_executable(libsbp_v4_cpp_traits_example cpp_example.cc) -target_link_libraries(libsbp_v4_cpp_traits_example sbp) +add_executable(libsbp_cpp_traits_example cpp_example.cc) +target_link_libraries(libsbp_cpp_traits_example sbp) diff --git a/c/examples/v4/cpp_traits_example/README.md b/c/examples/libsbp/cpp_traits_example/README.md similarity index 100% rename from c/examples/v4/cpp_traits_example/README.md rename to c/examples/libsbp/cpp_traits_example/README.md diff --git a/c/examples/v4/cpp_traits_example/cpp_example.cc b/c/examples/libsbp/cpp_traits_example/cpp_example.cc similarity index 74% rename from c/examples/v4/cpp_traits_example/cpp_example.cc rename to c/examples/libsbp/cpp_traits_example/cpp_example.cc index c9e02f3cef..5c0caaab9e 100644 --- a/c/examples/v4/cpp_traits_example/cpp_example.cc +++ b/c/examples/libsbp/cpp_traits_example/cpp_example.cc @@ -1,35 +1,32 @@ +#include #include #include -#include -#include -#include -#include #include +#include +#include +#include using process_msg_t = void (*)(sbp_msg_type_t msg_type, const sbp_msg_t &msg); /* A class used for holding a number of sbp msg structures and, when requested, * sending them to a user defined process function */ -template -class MessageHolder { - public: +template class MessageHolder { +public: MessageHolder(process_msg_t process_fn) : process_fn_(process_fn) {} - template - void stage_message(MessageType msg) { + template void stage_message(MessageType msg) { std::get(messages_) = msg; } - template - void process_message(void) { + template void process_message(void) { MessageType &msg = std::get(messages_); sbp_msg_type_t msg_type = sbp::MessageTraits::id; process_fn_(msg_type, sbp::MessageTraits::to_sbp_msg(msg)); } process_msg_t process_fn_; - std::tuple messages_; + std::tuple messages_; }; void process_message(sbp_msg_type_t msg_type, const sbp_msg_t &msg) { @@ -47,14 +44,15 @@ void process_message(sbp_msg_type_t msg_type, const sbp_msg_t &msg) { /* A super contrived example that shows how the sbp::MessageTraits class might * be useful, focusing on its use with templated utility classes. */ -int main() -{ - MessageHolder messageHolder(process_message); +int main() { + MessageHolder + messageHolder(process_message); // Construct some structs with dummy data - sbp_msg_gps_time_t time{.wn=1, .tow=1, .ns_residual=1, .flags=1}; - sbp_msg_mag_raw_t mag{.tow=2, .tow_f=2, .mag_x=2, .mag_y=2, .mag_z=2}; - sbp_msg_imu_aux_t aux{.imu_type=3, .temp=3, .imu_conf=3}; + sbp_msg_gps_time_t time{.wn = 1, .tow = 1, .ns_residual = 1, .flags = 1}; + sbp_msg_mag_raw_t mag{ + .tow = 2, .tow_f = 2, .mag_x = 2, .mag_y = 2, .mag_z = 2}; + sbp_msg_imu_aux_t aux{.imu_type = 3, .temp = 3, .imu_conf = 3}; messageHolder.stage_message(time); messageHolder.stage_message(mag); @@ -66,4 +64,3 @@ int main() return 0; } - diff --git a/c/examples/v4/example/CMakeLists.txt b/c/examples/libsbp/example/CMakeLists.txt similarity index 76% rename from c/examples/v4/example/CMakeLists.txt rename to c/examples/libsbp/example/CMakeLists.txt index f1ef288b02..5d25d12e0c 100644 --- a/c/examples/v4/example/CMakeLists.txt +++ b/c/examples/libsbp/example/CMakeLists.txt @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 2.8.9) -project(libsbp_v4_example) +project(libsbp_example) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_C_FLAGS "-Wall -Werror -Wno-error=deprecated-declarations -std=gnu99") -add_executable(libsbp_v4_example example.c) +add_executable(libsbp_example example.c) find_package(PkgConfig) pkg_check_modules(LIBSERIALPORT libserialport) @@ -15,4 +15,4 @@ include_directories(${LIBSERIALPORT_INCLUDE_DIRS}) link_directories("/usr/local/lib/") include_directories("/usr/local/include/") -target_link_libraries(libsbp_v4_example serialport sbp) +target_link_libraries(libsbp_example serialport sbp) diff --git a/c/examples/v4/example/README.md b/c/examples/libsbp/example/README.md similarity index 100% rename from c/examples/v4/example/README.md rename to c/examples/libsbp/example/README.md diff --git a/c/examples/v4/example/example.c b/c/examples/libsbp/example/example.c similarity index 100% rename from c/examples/v4/example/example.c rename to c/examples/libsbp/example/example.c diff --git a/c/test/CMakeLists.txt b/c/test/CMakeLists.txt index 984ff0c56d..f8031076e0 100644 --- a/c/test/CMakeLists.txt +++ b/c/test/CMakeLists.txt @@ -8,7 +8,7 @@ endif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") FILE(GLOB generated_legacy_c_sources legacy/auto*.c) -FILE(GLOB generated_v4_c_sources auto*.c) +FILE(GLOB generated_c_sources auto*.c) set(TEST_INCLUDES ${PROJECT_SOURCE_DIR}/include/libsbp) @@ -51,20 +51,20 @@ if (NOT CMAKE_C_COMPILER_ID STREQUAL "MSVC") ) endif() -swift_add_test(test-libsbp-v4 +swift_add_test(test-libsbp UNIT_TEST SRCS check_main.c check_edc.c check_sbp.c check_bitfield_macros.c - ${generated_v4_c_sources} + ${generated_c_sources} INCLUDE ${TEST_INCLUDES} LINK ${TEST_LIBS} ) -swift_set_compile_options(test-libsbp-v4 +swift_set_compile_options(test-libsbp REMOVE -Wpointer-arith -Wformat diff --git a/c/test/cpp/CMakeLists.txt b/c/test/cpp/CMakeLists.txt index 9a652f55bc..5b06f18a5a 100644 --- a/c/test/cpp/CMakeLists.txt +++ b/c/test/cpp/CMakeLists.txt @@ -1,6 +1,6 @@ FILE(GLOB generated_cpp_sources auto*.cc) -swift_add_test(test-libsbp-cpp-v4 +swift_add_test(test-libsbp-cpp UNIT_TEST SRCS ${generated_cpp_sources} @@ -9,6 +9,6 @@ swift_add_test(test-libsbp-cpp-v4 LINK sbp gtest_main) -swift_set_language_standards(test-libsbp-cpp-v4) -swift_set_compile_options(test-libsbp-cpp-v4) +swift_set_language_standards(test-libsbp-cpp) +swift_set_compile_options(test-libsbp-cpp) diff --git a/c/test_package/CMakeLists.txt b/c/test_package/CMakeLists.txt index 05a4eb7ee4..02b9122895 100644 --- a/c/test_package/CMakeLists.txt +++ b/c/test_package/CMakeLists.txt @@ -31,14 +31,14 @@ if (NOT WIN32) target_compile_definitions(legacy_cxx PRIVATE SBP_FILE="${SBP_FILE}") endif() -add_executable(v4_c v4.c) -target_compile_features(v4_c PRIVATE c_std_11) -target_link_libraries(v4_c PRIVATE ${SBP_LIBRARY}) -target_include_directories(v4_c PRIVATE ${SBP_INCLUDE_DIRS}) -target_compile_definitions(v4_c PRIVATE SBP_FILE="${SBP_FILE}") - -add_executable(v4_cxx v4.cc) -target_compile_features(v4_cxx PRIVATE cxx_std_14) -target_link_libraries(v4_cxx PRIVATE ${SBP_LIBRARY}) -target_include_directories(v4_cxx PRIVATE ${SBP_INCLUDE_DIRS}) -target_compile_definitions(v4_cxx PRIVATE SBP_FILE="${SBP_FILE}") +add_executable(libsbp_c api.c) +target_compile_features(libsbp_c PRIVATE c_std_11) +target_link_libraries(libsbp_c PRIVATE ${SBP_LIBRARY}) +target_include_directories(libsbp_c PRIVATE ${SBP_INCLUDE_DIRS}) +target_compile_definitions(libsbp_c PRIVATE SBP_FILE="${SBP_FILE}") + +add_executable(libsbp_cxx api.cc) +target_compile_features(libsbp_cxx PRIVATE cxx_std_14) +target_link_libraries(libsbp_cxx PRIVATE ${SBP_LIBRARY}) +target_include_directories(libsbp_cxx PRIVATE ${SBP_INCLUDE_DIRS}) +target_compile_definitions(libsbp_cxx PRIVATE SBP_FILE="${SBP_FILE}") diff --git a/c/test_package/v4.c b/c/test_package/api.c similarity index 98% rename from c/test_package/v4.c rename to c/test_package/api.c index 22a42ce942..edec1ee44a 100644 --- a/c/test_package/v4.c +++ b/c/test_package/api.c @@ -1,7 +1,6 @@ #include #include #include -#include struct Context { FILE *input_file; @@ -88,4 +87,4 @@ int main() { fclose(context.output_file); return exit_code; -} \ No newline at end of file +} diff --git a/c/test_package/v4.cc b/c/test_package/api.cc similarity index 100% rename from c/test_package/v4.cc rename to c/test_package/api.cc From 83ae2765f178fa38d3d732d8f3590e831016e19d Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 15:50:15 +1100 Subject: [PATCH 10/19] Add some obnoxiously loud warnings to deprecated APIs --- c/BUILD.bazel | 6 + c/include/libsbp/legacy/acquisition.h | 22 ++- c/include/libsbp/legacy/api.h | 16 +- c/include/libsbp/legacy/bootload.h | 14 +- c/include/libsbp/legacy/compat.h | 4 + c/include/libsbp/legacy/cpp/frame_handler.h | 8 +- c/include/libsbp/legacy/cpp/payload_handler.h | 6 +- c/include/libsbp/legacy/ext_events.h | 8 +- c/include/libsbp/legacy/file_io.h | 24 ++- c/include/libsbp/legacy/flash.h | 24 ++- c/include/libsbp/legacy/gnss.h | 20 ++- c/include/libsbp/legacy/imu.h | 10 +- c/include/libsbp/legacy/integrity.h | 22 ++- c/include/libsbp/legacy/linux.h | 28 +-- c/include/libsbp/legacy/logging.h | 12 +- c/include/libsbp/legacy/mag.h | 8 +- c/include/libsbp/legacy/navigation.h | 90 +++++----- c/include/libsbp/legacy/ndb.h | 8 +- c/include/libsbp/legacy/observation.h | 114 ++++++------ c/include/libsbp/legacy/orientation.h | 14 +- c/include/libsbp/legacy/piksi.h | 50 +++--- c/include/libsbp/legacy/sbas.h | 8 +- c/include/libsbp/legacy/settings.h | 22 ++- c/include/libsbp/legacy/signing.h | 28 +-- c/include/libsbp/legacy/solution_meta.h | 18 +- c/include/libsbp/legacy/ssr.h | 82 +++++---- c/include/libsbp/legacy/system.h | 36 ++-- c/include/libsbp/legacy/telemetry.h | 10 +- c/include/libsbp/legacy/tracking.h | 36 ++-- c/include/libsbp/legacy/user.h | 8 +- c/include/libsbp/legacy/vehicle.h | 10 +- c/src/acquisition.c | 26 +-- c/src/bootload.c | 26 +-- c/src/ext_events.c | 6 +- c/src/file_io.c | 38 ++-- c/src/flash.c | 42 ++--- c/src/gnss.c | 2 +- c/src/imu.c | 10 +- c/src/include/libsbp/internal/sbp_internal.h | 18 ++ c/src/integrity.c | 31 ++-- c/src/linux.c | 46 ++--- c/src/logging.c | 14 +- c/src/mag.c | 6 +- c/src/navigation.c | 166 +++++++++--------- c/src/ndb.c | 6 +- c/src/observation.c | 154 ++++++++-------- c/src/orientation.c | 18 +- c/src/piksi.c | 102 +++++------ c/src/sbas.c | 6 +- c/src/sbp.c | 20 ++- c/src/settings.c | 42 ++--- c/src/signing.c | 38 ++-- c/src/solution_meta.c | 10 +- c/src/ssr.c | 84 ++++----- c/src/system.c | 54 +++--- c/src/telemetry.c | 6 +- c/src/tracking.c | 38 ++-- c/src/user.c | 6 +- c/src/vehicle.c | 10 +- c/test/CMakeLists.txt | 1 + .../auto_check_sbp_acquisition_MsgAcqResult.c | 12 +- ...o_check_sbp_acquisition_MsgAcqResultDepA.c | 12 +- ...o_check_sbp_acquisition_MsgAcqResultDepB.c | 12 +- ...o_check_sbp_acquisition_MsgAcqResultDepC.c | 12 +- ...to_check_sbp_acquisition_MsgAcqSvProfile.c | 12 +- ...check_sbp_acquisition_MsgAcqSvProfileDep.c | 12 +- ...k_sbp_bootload_MsgBootloaderHandshakeReq.c | 12 +- ..._sbp_bootload_MsgBootloaderHandshakeResp.c | 12 +- ...heck_sbp_bootload_MsgBootloaderJumptoApp.c | 12 +- ...to_check_sbp_bootload_MsgNapDeviceDnaReq.c | 12 +- ...o_check_sbp_bootload_MsgNapDeviceDnaResp.c | 12 +- .../auto_check_sbp_ext_events_MsgExtEvent.c | 12 +- ...uto_check_sbp_file_io_MsgFileioConfigReq.c | 12 +- ...to_check_sbp_file_io_MsgFileioConfigResp.c | 12 +- ...to_check_sbp_file_io_MsgFileioReadDirReq.c | 12 +- ...o_check_sbp_file_io_MsgFileioReadDirResp.c | 12 +- .../auto_check_sbp_file_io_MsgFileioReadReq.c | 12 +- ...auto_check_sbp_file_io_MsgFileioReadResp.c | 12 +- .../auto_check_sbp_file_io_MsgFileioRemove.c | 12 +- ...uto_check_sbp_file_io_MsgFileioWriteResp.c | 12 +- .../auto_check_sbp_flash_MsgFlashDone.c | 12 +- .../auto_check_sbp_flash_MsgFlashErase.c | 12 +- .../auto_check_sbp_flash_MsgFlashProgram.c | 12 +- .../auto_check_sbp_flash_MsgFlashReadReq.c | 12 +- .../auto_check_sbp_flash_MsgFlashReadResp.c | 12 +- ...o_check_sbp_flash_MsgM25FlashWriteStatus.c | 12 +- ...to_check_sbp_flash_MsgStmFlashLockSector.c | 12 +- ..._check_sbp_flash_MsgStmFlashUnlockSector.c | 12 +- .../auto_check_sbp_flash_MsgStmUniqueIdReq.c | 12 +- .../auto_check_sbp_flash_MsgStmUniqueIdResp.c | 12 +- c/test/legacy/auto_check_sbp_imu_MsgImuAux.c | 12 +- c/test/legacy/auto_check_sbp_imu_MsgImuRaw.c | 12 +- .../auto_check_sbp_integrity_MsgAcknowledge.c | 12 +- ..._check_sbp_integrity_MsgSsrFlagHighLevel.c | 12 +- ..._integrity_MsgSsrFlagIonoGridPointSatLos.c | 12 +- ...k_sbp_integrity_MsgSsrFlagIonoGridPoints.c | 12 +- ...k_sbp_integrity_MsgSsrFlagIonoTileSatLos.c | 12 +- ...check_sbp_integrity_MsgSsrFlagSatellites.c | 12 +- ..._sbp_integrity_MsgSsrFlagTropoGridPoints.c | 12 +- .../auto_check_sbp_linux_MsgLinuxCpuState.c | 12 +- ...uto_check_sbp_linux_MsgLinuxCpuStateDepA.c | 12 +- .../auto_check_sbp_linux_MsgLinuxMemState.c | 12 +- ...uto_check_sbp_linux_MsgLinuxMemStateDepA.c | 12 +- ...o_check_sbp_linux_MsgLinuxProcessFdCount.c | 12 +- ...check_sbp_linux_MsgLinuxProcessFdSummary.c | 12 +- ...ck_sbp_linux_MsgLinuxProcessSocketCounts.c | 12 +- ...ck_sbp_linux_MsgLinuxProcessSocketQueues.c | 12 +- ...auto_check_sbp_linux_MsgLinuxSocketUsage.c | 12 +- .../auto_check_sbp_linux_MsgLinuxSysState.c | 12 +- ...uto_check_sbp_linux_MsgLinuxSysStateDepA.c | 12 +- c/test/legacy/auto_check_sbp_logging_MsgFwd.c | 12 +- c/test/legacy/auto_check_sbp_logging_MsgLog.c | 12 +- .../auto_check_sbp_logging_MsgPrintDep.c | 12 +- c/test/legacy/auto_check_sbp_mag_MsgMagRaw.c | 12 +- ...o_check_sbp_navigation_MsgAgeCorrections.c | 12 +- ...uto_check_sbp_navigation_MsgBaselineECEF.c | 12 +- ...check_sbp_navigation_MsgBaselineECEFDepA.c | 12 +- ...ck_sbp_navigation_MsgBaselineHeadingDepA.c | 12 +- ...auto_check_sbp_navigation_MsgBaselineNED.c | 12 +- ..._check_sbp_navigation_MsgBaselineNEDDepA.c | 12 +- .../auto_check_sbp_navigation_MsgDops.c | 12 +- .../auto_check_sbp_navigation_MsgDopsDepA.c | 12 +- .../auto_check_sbp_navigation_MsgGPSTime.c | 12 +- ...auto_check_sbp_navigation_MsgGPSTimeDepA.c | 12 +- ...auto_check_sbp_navigation_MsgGPSTimeGNSS.c | 12 +- .../auto_check_sbp_navigation_MsgPosECEF.c | 12 +- .../auto_check_sbp_navigation_MsgPosECEFCov.c | 12 +- ...o_check_sbp_navigation_MsgPosECEFCovGNSS.c | 12 +- ...auto_check_sbp_navigation_MsgPosECEFDepA.c | 12 +- ...auto_check_sbp_navigation_MsgPosECEFGNSS.c | 12 +- .../auto_check_sbp_navigation_MsgPosLLH.c | 12 +- .../auto_check_sbp_navigation_MsgPosLLHCov.c | 12 +- .../auto_check_sbp_navigation_MsgPosLLHDepA.c | 12 +- .../auto_check_sbp_navigation_MsgPosLlhAcc.c | 12 +- ...to_check_sbp_navigation_MsgPosLlhCovGnss.c | 12 +- .../auto_check_sbp_navigation_MsgPosLlhGnss.c | 12 +- ...uto_check_sbp_navigation_MsgPoseRelative.c | 12 +- ..._check_sbp_navigation_MsgProtectionLevel.c | 12 +- ...ck_sbp_navigation_MsgProtectionLevelDepA.c | 12 +- ...ck_sbp_navigation_MsgReferenceFrameParam.c | 12 +- ...to_check_sbp_navigation_MsgUTCLeapSecond.c | 12 +- .../auto_check_sbp_navigation_MsgUTCTime.c | 12 +- ...auto_check_sbp_navigation_MsgUTCTimeGNSS.c | 12 +- .../auto_check_sbp_navigation_MsgVelBody.c | 12 +- .../auto_check_sbp_navigation_MsgVelCog.c | 12 +- .../auto_check_sbp_navigation_MsgVelECEF.c | 12 +- .../auto_check_sbp_navigation_MsgVelECEFCov.c | 12 +- ...auto_check_sbp_navigation_MsgVelECEFDepA.c | 12 +- ...o_check_sbp_navigation_MsgVelEcefCovGnss.c | 12 +- ...auto_check_sbp_navigation_MsgVelEcefGnss.c | 12 +- .../auto_check_sbp_navigation_MsgVelNED.c | 12 +- .../auto_check_sbp_navigation_MsgVelNEDCOV.c | 12 +- .../auto_check_sbp_navigation_MsgVelNEDDepA.c | 12 +- ...to_check_sbp_navigation_MsgVelNedCovGnss.c | 12 +- .../auto_check_sbp_navigation_MsgVelNedGnss.c | 12 +- .../legacy/auto_check_sbp_ndb_MsgNdbEvent.c | 12 +- ...auto_check_sbp_observation_MsgAlmanacGLO.c | 12 +- ...o_check_sbp_observation_MsgAlmanacGLODep.c | 12 +- ...auto_check_sbp_observation_MsgAlmanacGPS.c | 12 +- ...o_check_sbp_observation_MsgAlmanacGPSDep.c | 12 +- ...uto_check_sbp_observation_MsgBasePosEcef.c | 12 +- ...auto_check_sbp_observation_MsgBasePosLLH.c | 12 +- ...to_check_sbp_observation_MsgEphemerisBds.c | 12 +- ...o_check_sbp_observation_MsgEphemerisDepA.c | 12 +- ...o_check_sbp_observation_MsgEphemerisDepC.c | 12 +- ...o_check_sbp_observation_MsgEphemerisDepD.c | 12 +- ...to_check_sbp_observation_MsgEphemerisGLO.c | 12 +- ...heck_sbp_observation_MsgEphemerisGLODepA.c | 12 +- ...heck_sbp_observation_MsgEphemerisGLODepB.c | 12 +- ...heck_sbp_observation_MsgEphemerisGLODepC.c | 12 +- ...heck_sbp_observation_MsgEphemerisGLODepD.c | 12 +- ...to_check_sbp_observation_MsgEphemerisGPS.c | 12 +- ...heck_sbp_observation_MsgEphemerisGPSDepE.c | 12 +- ...heck_sbp_observation_MsgEphemerisGPSDepF.c | 12 +- ...to_check_sbp_observation_MsgEphemerisGal.c | 12 +- ...heck_sbp_observation_MsgEphemerisGalDepA.c | 12 +- ...o_check_sbp_observation_MsgEphemerisSbas.c | 12 +- ...eck_sbp_observation_MsgEphemerisSbasDepA.c | 12 +- ...eck_sbp_observation_MsgEphemerisSbasDepB.c | 12 +- .../auto_check_sbp_observation_MsgGloBiases.c | 12 +- .../auto_check_sbp_observation_MsgGnssCapb.c | 12 +- ...auto_check_sbp_observation_MsgGroupDelay.c | 12 +- ..._check_sbp_observation_MsgGroupDelayDepA.c | 12 +- ..._check_sbp_observation_MsgGroupDelayDepB.c | 12 +- .../auto_check_sbp_observation_MsgIono.c | 12 +- .../auto_check_sbp_observation_MsgObs.c | 12 +- .../auto_check_sbp_observation_MsgObsDepB.c | 12 +- .../auto_check_sbp_observation_MsgObsDepC.c | 12 +- .../auto_check_sbp_observation_MsgOsr.c | 12 +- .../auto_check_sbp_observation_MsgSvAzEl.c | 12 +- ...sbp_observation_MsgSvConfigurationGpsDep.c | 12 +- ...o_check_sbp_observation_msgEphemerisDepB.c | 12 +- ...o_check_sbp_observation_msgEphemerisQzss.c | 12 +- .../auto_check_sbp_observation_msgObsDepA.c | 12 +- ...uto_check_sbp_orientation_MsgAngularRate.c | 12 +- ...check_sbp_orientation_MsgBaselineHeading.c | 12 +- ...uto_check_sbp_orientation_MsgOrientEuler.c | 12 +- ...auto_check_sbp_orientation_MsgOrientQuat.c | 12 +- .../legacy/auto_check_sbp_piksi_MsgAlmanac.c | 12 +- .../auto_check_sbp_piksi_MsgCellModemStatus.c | 12 +- .../auto_check_sbp_piksi_MsgCommandOutput.c | 12 +- .../auto_check_sbp_piksi_MsgCommandReq.c | 12 +- .../auto_check_sbp_piksi_MsgCommandResp.c | 12 +- .../auto_check_sbp_piksi_MsgCwResults.c | 12 +- .../legacy/auto_check_sbp_piksi_MsgCwStart.c | 12 +- .../auto_check_sbp_piksi_MsgDeviceMonitor.c | 12 +- .../auto_check_sbp_piksi_MsgFrontEndGain.c | 12 +- .../legacy/auto_check_sbp_piksi_MsgIarState.c | 12 +- .../auto_check_sbp_piksi_MsgInitBaseDep.c | 12 +- .../auto_check_sbp_piksi_MsgMaskSatellite.c | 12 +- ...auto_check_sbp_piksi_MsgMaskSatelliteDep.c | 12 +- ...check_sbp_piksi_MsgNetworkBandwidthUsage.c | 12 +- .../auto_check_sbp_piksi_MsgNetworkStateReq.c | 12 +- ...auto_check_sbp_piksi_MsgNetworkStateResp.c | 12 +- c/test/legacy/auto_check_sbp_piksi_MsgReset.c | 12 +- .../legacy/auto_check_sbp_piksi_MsgResetDep.c | 12 +- .../auto_check_sbp_piksi_MsgResetFilters.c | 12 +- .../legacy/auto_check_sbp_piksi_MsgSetTime.c | 12 +- .../legacy/auto_check_sbp_piksi_MsgSpecan.c | 12 +- .../auto_check_sbp_piksi_MsgSpecanDep.c | 12 +- .../auto_check_sbp_piksi_MsgThreadState.c | 12 +- .../auto_check_sbp_piksi_MsgUartState.c | 12 +- .../auto_check_sbp_piksi_MsgUartStateDepA.c | 12 +- .../legacy/auto_check_sbp_sbas_MsgSbasRaw.c | 12 +- ..._sbp_settings_MsgSettingsReadByIndexDone.c | 12 +- ...k_sbp_settings_MsgSettingsReadByIndexReq.c | 12 +- ..._sbp_settings_MsgSettingsReadByIndexResp.c | 12 +- ...to_check_sbp_settings_MsgSettingsReadReq.c | 12 +- ...o_check_sbp_settings_MsgSettingsReadResp.c | 12 +- ...o_check_sbp_settings_MsgSettingsRegister.c | 12 +- ...eck_sbp_settings_MsgSettingsRegisterResp.c | 12 +- .../auto_check_sbp_settings_MsgSettingsSave.c | 12 +- ...auto_check_sbp_settings_MsgSettingsWrite.c | 12 +- ..._check_sbp_settings_MsgSettingsWriteResp.c | 12 +- ...to_check_sbp_signing_MsgCertificateChain.c | 12 +- ...check_sbp_signing_MsgCertificateChainDep.c | 12 +- ...to_check_sbp_signing_MsgEcdsaCertificate.c | 12 +- ...auto_check_sbp_signing_MsgEcdsaSignature.c | 12 +- ..._check_sbp_signing_MsgEcdsaSignatureDepA.c | 12 +- ..._check_sbp_signing_MsgEcdsaSignatureDepB.c | 12 +- ...eck_sbp_signing_MsgEd25519CertificateDep.c | 12 +- ...heck_sbp_signing_MsgEd25519SignatureDepA.c | 12 +- ...heck_sbp_signing_MsgEd25519SignatureDepB.c | 12 +- ...auto_check_sbp_solution_meta_MsgSolnMeta.c | 12 +- ..._check_sbp_solution_meta_MsgSolnMetaDepA.c | 12 +- .../auto_check_sbp_ssr_MsgSsrCodeBiases.c | 12 +- ...heck_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c | 12 +- ...o_check_sbp_ssr_MsgSsrGridDefinitionDepA.c | 12 +- ...to_check_sbp_ssr_MsgSsrGriddedCorrection.c | 12 +- ...ck_sbp_ssr_MsgSsrGriddedCorrectionBounds.c | 12 +- ...heck_sbp_ssr_MsgSsrGriddedCorrectionDepA.c | 12 +- ...sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c | 12 +- .../auto_check_sbp_ssr_MsgSsrOrbitClock.c | 12 +- ...uto_check_sbp_ssr_MsgSsrOrbitClockBounds.c | 12 +- ...bp_ssr_MsgSsrOrbitClockBoundsDegradation.c | 12 +- .../auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c | 12 +- .../auto_check_sbp_ssr_MsgSsrPhaseBiases.c | 12 +- .../auto_check_sbp_ssr_MsgSsrSatelliteApc.c | 12 +- ...uto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c | 12 +- .../auto_check_sbp_ssr_MsgSsrStecCorrection.c | 12 +- ...to_check_sbp_ssr_MsgSsrStecCorrectionDep.c | 12 +- ...o_check_sbp_ssr_MsgSsrStecCorrectionDepA.c | 12 +- .../auto_check_sbp_ssr_MsgSsrTileDefinition.c | 12 +- ...o_check_sbp_ssr_MsgSsrTileDefinitionDepA.c | 12 +- ...o_check_sbp_ssr_MsgSsrTileDefinitionDepB.c | 12 +- .../auto_check_sbp_system_MsgCsacTelemetry.c | 12 +- ..._check_sbp_system_MsgCsacTelemetryLabels.c | 12 +- .../auto_check_sbp_system_MsgDgnssStatus.c | 12 +- .../auto_check_sbp_system_MsgGnssTimeOffset.c | 12 +- .../auto_check_sbp_system_MsgGroupMeta.c | 12 +- .../auto_check_sbp_system_MsgHeartbeat.c | 12 +- .../auto_check_sbp_system_MsgInsStatus.c | 12 +- .../auto_check_sbp_system_MsgInsUpdates.c | 12 +- .../legacy/auto_check_sbp_system_MsgPpsTime.c | 12 +- .../auto_check_sbp_system_MsgSensorAidEvent.c | 12 +- .../legacy/auto_check_sbp_system_MsgStartup.c | 12 +- .../auto_check_sbp_system_MsgStatusJournal.c | 12 +- .../auto_check_sbp_system_MsgStatusReport.c | 12 +- .../auto_check_sbp_telemetry_MsgTelSv.c | 12 +- ...o_check_sbp_tracking_MsgMeasurementState.c | 12 +- .../auto_check_sbp_tracking_MsgTrackingIq.c | 12 +- ...uto_check_sbp_tracking_MsgTrackingIqDepA.c | 12 +- ...uto_check_sbp_tracking_MsgTrackingIqDepB.c | 12 +- ...auto_check_sbp_tracking_MsgTrackingState.c | 12 +- ..._check_sbp_tracking_MsgTrackingStateDepB.c | 12 +- ...sbp_tracking_MsgTrackingStateDetailedDep.c | 12 +- ...bp_tracking_MsgTrackingStateDetailedDepA.c | 12 +- ..._check_sbp_tracking_MsgtrackingStateDepA.c | 12 +- .../legacy/auto_check_sbp_user_MsgUserData.c | 12 +- .../auto_check_sbp_vehicle_MsgOdometry.c | 12 +- .../auto_check_sbp_vehicle_MsgWheeltick.c | 12 +- c/test/legacy/cpp/CMakeLists.txt | 6 +- ...auto_check_sbp_acquisition_MsgAcqResult.cc | 11 ++ ..._check_sbp_acquisition_MsgAcqResultDepA.cc | 11 ++ ..._check_sbp_acquisition_MsgAcqResultDepB.cc | 11 ++ ..._check_sbp_acquisition_MsgAcqResultDepC.cc | 11 ++ ...o_check_sbp_acquisition_MsgAcqSvProfile.cc | 11 ++ ...heck_sbp_acquisition_MsgAcqSvProfileDep.cc | 11 ++ ..._sbp_bootload_MsgBootloaderHandshakeReq.cc | 11 ++ ...sbp_bootload_MsgBootloaderHandshakeResp.cc | 11 ++ ...eck_sbp_bootload_MsgBootloaderJumptoApp.cc | 11 ++ ...o_check_sbp_bootload_MsgNapDeviceDnaReq.cc | 11 ++ ..._check_sbp_bootload_MsgNapDeviceDnaResp.cc | 11 ++ .../auto_check_sbp_ext_events_MsgExtEvent.cc | 11 ++ ...to_check_sbp_file_io_MsgFileioConfigReq.cc | 11 ++ ...o_check_sbp_file_io_MsgFileioConfigResp.cc | 11 ++ ...o_check_sbp_file_io_MsgFileioReadDirReq.cc | 11 ++ ..._check_sbp_file_io_MsgFileioReadDirResp.cc | 11 ++ ...auto_check_sbp_file_io_MsgFileioReadReq.cc | 11 ++ ...uto_check_sbp_file_io_MsgFileioReadResp.cc | 11 ++ .../auto_check_sbp_file_io_MsgFileioRemove.cc | 11 ++ ...to_check_sbp_file_io_MsgFileioWriteResp.cc | 11 ++ .../cpp/auto_check_sbp_flash_MsgFlashDone.cc | 11 ++ .../cpp/auto_check_sbp_flash_MsgFlashErase.cc | 11 ++ .../auto_check_sbp_flash_MsgFlashProgram.cc | 11 ++ .../auto_check_sbp_flash_MsgFlashReadReq.cc | 11 ++ .../auto_check_sbp_flash_MsgFlashReadResp.cc | 11 ++ ..._check_sbp_flash_MsgM25FlashWriteStatus.cc | 11 ++ ...o_check_sbp_flash_MsgStmFlashLockSector.cc | 11 ++ ...check_sbp_flash_MsgStmFlashUnlockSector.cc | 11 ++ .../auto_check_sbp_flash_MsgStmUniqueIdReq.cc | 11 ++ ...auto_check_sbp_flash_MsgStmUniqueIdResp.cc | 11 ++ .../cpp/auto_check_sbp_imu_MsgImuAux.cc | 11 ++ .../cpp/auto_check_sbp_imu_MsgImuRaw.cc | 11 ++ ...auto_check_sbp_integrity_MsgAcknowledge.cc | 11 ++ ...check_sbp_integrity_MsgSsrFlagHighLevel.cc | 11 ++ ...integrity_MsgSsrFlagIonoGridPointSatLos.cc | 11 ++ ..._sbp_integrity_MsgSsrFlagIonoGridPoints.cc | 11 ++ ..._sbp_integrity_MsgSsrFlagIonoTileSatLos.cc | 11 ++ ...heck_sbp_integrity_MsgSsrFlagSatellites.cc | 11 ++ ...sbp_integrity_MsgSsrFlagTropoGridPoints.cc | 11 ++ .../auto_check_sbp_linux_MsgLinuxCpuState.cc | 11 ++ ...to_check_sbp_linux_MsgLinuxCpuStateDepA.cc | 11 ++ .../auto_check_sbp_linux_MsgLinuxMemState.cc | 11 ++ ...to_check_sbp_linux_MsgLinuxMemStateDepA.cc | 11 ++ ..._check_sbp_linux_MsgLinuxProcessFdCount.cc | 11 ++ ...heck_sbp_linux_MsgLinuxProcessFdSummary.cc | 11 ++ ...k_sbp_linux_MsgLinuxProcessSocketCounts.cc | 11 ++ ...k_sbp_linux_MsgLinuxProcessSocketQueues.cc | 11 ++ ...uto_check_sbp_linux_MsgLinuxSocketUsage.cc | 11 ++ .../auto_check_sbp_linux_MsgLinuxSysState.cc | 11 ++ ...to_check_sbp_linux_MsgLinuxSysStateDepA.cc | 11 ++ .../cpp/auto_check_sbp_logging_MsgFwd.cc | 11 ++ .../cpp/auto_check_sbp_logging_MsgLog.cc | 11 ++ .../cpp/auto_check_sbp_logging_MsgPrintDep.cc | 11 ++ .../cpp/auto_check_sbp_mag_MsgMagRaw.cc | 11 ++ ..._check_sbp_navigation_MsgAgeCorrections.cc | 11 ++ ...to_check_sbp_navigation_MsgBaselineECEF.cc | 11 ++ ...heck_sbp_navigation_MsgBaselineECEFDepA.cc | 11 ++ ...k_sbp_navigation_MsgBaselineHeadingDepA.cc | 11 ++ ...uto_check_sbp_navigation_MsgBaselineNED.cc | 11 ++ ...check_sbp_navigation_MsgBaselineNEDDepA.cc | 11 ++ .../cpp/auto_check_sbp_navigation_MsgDops.cc | 11 ++ .../auto_check_sbp_navigation_MsgDopsDepA.cc | 11 ++ .../auto_check_sbp_navigation_MsgGPSTime.cc | 11 ++ ...uto_check_sbp_navigation_MsgGPSTimeDepA.cc | 11 ++ ...uto_check_sbp_navigation_MsgGPSTimeGNSS.cc | 11 ++ .../auto_check_sbp_navigation_MsgPosECEF.cc | 11 ++ ...auto_check_sbp_navigation_MsgPosECEFCov.cc | 11 ++ ..._check_sbp_navigation_MsgPosECEFCovGNSS.cc | 11 ++ ...uto_check_sbp_navigation_MsgPosECEFDepA.cc | 11 ++ ...uto_check_sbp_navigation_MsgPosECEFGNSS.cc | 11 ++ .../auto_check_sbp_navigation_MsgPosLLH.cc | 11 ++ .../auto_check_sbp_navigation_MsgPosLLHCov.cc | 11 ++ ...auto_check_sbp_navigation_MsgPosLLHDepA.cc | 11 ++ .../auto_check_sbp_navigation_MsgPosLlhAcc.cc | 11 ++ ...o_check_sbp_navigation_MsgPosLlhCovGnss.cc | 11 ++ ...auto_check_sbp_navigation_MsgPosLlhGnss.cc | 11 ++ ...to_check_sbp_navigation_MsgPoseRelative.cc | 11 ++ ...check_sbp_navigation_MsgProtectionLevel.cc | 11 ++ ...k_sbp_navigation_MsgProtectionLevelDepA.cc | 11 ++ ...k_sbp_navigation_MsgReferenceFrameParam.cc | 11 ++ ...o_check_sbp_navigation_MsgUTCLeapSecond.cc | 11 ++ .../auto_check_sbp_navigation_MsgUTCTime.cc | 11 ++ ...uto_check_sbp_navigation_MsgUTCTimeGNSS.cc | 11 ++ .../auto_check_sbp_navigation_MsgVelBody.cc | 11 ++ .../auto_check_sbp_navigation_MsgVelCog.cc | 11 ++ .../auto_check_sbp_navigation_MsgVelECEF.cc | 11 ++ ...auto_check_sbp_navigation_MsgVelECEFCov.cc | 11 ++ ...uto_check_sbp_navigation_MsgVelECEFDepA.cc | 11 ++ ..._check_sbp_navigation_MsgVelEcefCovGnss.cc | 11 ++ ...uto_check_sbp_navigation_MsgVelEcefGnss.cc | 11 ++ .../auto_check_sbp_navigation_MsgVelNED.cc | 11 ++ .../auto_check_sbp_navigation_MsgVelNEDCOV.cc | 11 ++ ...auto_check_sbp_navigation_MsgVelNEDDepA.cc | 11 ++ ...o_check_sbp_navigation_MsgVelNedCovGnss.cc | 11 ++ ...auto_check_sbp_navigation_MsgVelNedGnss.cc | 11 ++ .../cpp/auto_check_sbp_ndb_MsgNdbEvent.cc | 11 ++ ...uto_check_sbp_observation_MsgAlmanacGLO.cc | 11 ++ ..._check_sbp_observation_MsgAlmanacGLODep.cc | 11 ++ ...uto_check_sbp_observation_MsgAlmanacGPS.cc | 11 ++ ..._check_sbp_observation_MsgAlmanacGPSDep.cc | 11 ++ ...to_check_sbp_observation_MsgBasePosEcef.cc | 11 ++ ...uto_check_sbp_observation_MsgBasePosLLH.cc | 11 ++ ...o_check_sbp_observation_MsgEphemerisBds.cc | 11 ++ ..._check_sbp_observation_MsgEphemerisDepA.cc | 11 ++ ..._check_sbp_observation_MsgEphemerisDepC.cc | 11 ++ ..._check_sbp_observation_MsgEphemerisDepD.cc | 11 ++ ...o_check_sbp_observation_MsgEphemerisGLO.cc | 11 ++ ...eck_sbp_observation_MsgEphemerisGLODepA.cc | 11 ++ ...eck_sbp_observation_MsgEphemerisGLODepB.cc | 11 ++ ...eck_sbp_observation_MsgEphemerisGLODepC.cc | 11 ++ ...eck_sbp_observation_MsgEphemerisGLODepD.cc | 11 ++ ...o_check_sbp_observation_MsgEphemerisGPS.cc | 11 ++ ...eck_sbp_observation_MsgEphemerisGPSDepE.cc | 11 ++ ...eck_sbp_observation_MsgEphemerisGPSDepF.cc | 11 ++ ...o_check_sbp_observation_MsgEphemerisGal.cc | 11 ++ ...eck_sbp_observation_MsgEphemerisGalDepA.cc | 11 ++ ..._check_sbp_observation_MsgEphemerisSbas.cc | 11 ++ ...ck_sbp_observation_MsgEphemerisSbasDepA.cc | 11 ++ ...ck_sbp_observation_MsgEphemerisSbasDepB.cc | 11 ++ ...auto_check_sbp_observation_MsgGloBiases.cc | 11 ++ .../auto_check_sbp_observation_MsgGnssCapb.cc | 11 ++ ...uto_check_sbp_observation_MsgGroupDelay.cc | 11 ++ ...check_sbp_observation_MsgGroupDelayDepA.cc | 11 ++ ...check_sbp_observation_MsgGroupDelayDepB.cc | 11 ++ .../cpp/auto_check_sbp_observation_MsgIono.cc | 11 ++ .../cpp/auto_check_sbp_observation_MsgObs.cc | 11 ++ .../auto_check_sbp_observation_MsgObsDepB.cc | 11 ++ .../auto_check_sbp_observation_MsgObsDepC.cc | 11 ++ .../cpp/auto_check_sbp_observation_MsgOsr.cc | 11 ++ .../auto_check_sbp_observation_MsgSvAzEl.cc | 11 ++ ...bp_observation_MsgSvConfigurationGpsDep.cc | 11 ++ ..._check_sbp_observation_msgEphemerisDepB.cc | 11 ++ ..._check_sbp_observation_msgEphemerisQzss.cc | 11 ++ .../auto_check_sbp_observation_msgObsDepA.cc | 11 ++ ...to_check_sbp_orientation_MsgAngularRate.cc | 11 ++ ...heck_sbp_orientation_MsgBaselineHeading.cc | 11 ++ ...to_check_sbp_orientation_MsgOrientEuler.cc | 11 ++ ...uto_check_sbp_orientation_MsgOrientQuat.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgAlmanac.cc | 11 ++ ...auto_check_sbp_piksi_MsgCellModemStatus.cc | 11 ++ .../auto_check_sbp_piksi_MsgCommandOutput.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgCommandReq.cc | 11 ++ .../auto_check_sbp_piksi_MsgCommandResp.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgCwResults.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgCwStart.cc | 11 ++ .../auto_check_sbp_piksi_MsgDeviceMonitor.cc | 11 ++ .../auto_check_sbp_piksi_MsgFrontEndGain.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgIarState.cc | 11 ++ .../auto_check_sbp_piksi_MsgInitBaseDep.cc | 11 ++ .../auto_check_sbp_piksi_MsgMaskSatellite.cc | 11 ++ ...uto_check_sbp_piksi_MsgMaskSatelliteDep.cc | 11 ++ ...heck_sbp_piksi_MsgNetworkBandwidthUsage.cc | 11 ++ ...auto_check_sbp_piksi_MsgNetworkStateReq.cc | 11 ++ ...uto_check_sbp_piksi_MsgNetworkStateResp.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgReset.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgResetDep.cc | 11 ++ .../auto_check_sbp_piksi_MsgResetFilters.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgSetTime.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgSpecan.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgSpecanDep.cc | 11 ++ .../auto_check_sbp_piksi_MsgThreadState.cc | 11 ++ .../cpp/auto_check_sbp_piksi_MsgUartState.cc | 11 ++ .../auto_check_sbp_piksi_MsgUartStateDepA.cc | 11 ++ .../cpp/auto_check_sbp_sbas_MsgSbasRaw.cc | 11 ++ ...sbp_settings_MsgSettingsReadByIndexDone.cc | 11 ++ ..._sbp_settings_MsgSettingsReadByIndexReq.cc | 11 ++ ...sbp_settings_MsgSettingsReadByIndexResp.cc | 11 ++ ...o_check_sbp_settings_MsgSettingsReadReq.cc | 11 ++ ..._check_sbp_settings_MsgSettingsReadResp.cc | 11 ++ ..._check_sbp_settings_MsgSettingsRegister.cc | 11 ++ ...ck_sbp_settings_MsgSettingsRegisterResp.cc | 11 ++ ...auto_check_sbp_settings_MsgSettingsSave.cc | 11 ++ ...uto_check_sbp_settings_MsgSettingsWrite.cc | 11 ++ ...check_sbp_settings_MsgSettingsWriteResp.cc | 11 ++ ...o_check_sbp_signing_MsgCertificateChain.cc | 11 ++ ...heck_sbp_signing_MsgCertificateChainDep.cc | 11 ++ ...o_check_sbp_signing_MsgEcdsaCertificate.cc | 11 ++ ...uto_check_sbp_signing_MsgEcdsaSignature.cc | 11 ++ ...check_sbp_signing_MsgEcdsaSignatureDepA.cc | 11 ++ ...check_sbp_signing_MsgEcdsaSignatureDepB.cc | 11 ++ ...ck_sbp_signing_MsgEd25519CertificateDep.cc | 11 ++ ...eck_sbp_signing_MsgEd25519SignatureDepA.cc | 11 ++ ...eck_sbp_signing_MsgEd25519SignatureDepB.cc | 11 ++ ...uto_check_sbp_solution_meta_MsgSolnMeta.cc | 11 ++ ...check_sbp_solution_meta_MsgSolnMetaDepA.cc | 11 ++ .../auto_check_sbp_ssr_MsgSsrCodeBiases.cc | 11 ++ ...eck_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc | 11 ++ ..._check_sbp_ssr_MsgSsrGridDefinitionDepA.cc | 11 ++ ...o_check_sbp_ssr_MsgSsrGriddedCorrection.cc | 11 ++ ...k_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc | 11 ++ ...eck_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc | 11 ++ ...bp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc | 11 ++ .../auto_check_sbp_ssr_MsgSsrOrbitClock.cc | 11 ++ ...to_check_sbp_ssr_MsgSsrOrbitClockBounds.cc | 11 ++ ...p_ssr_MsgSsrOrbitClockBoundsDegradation.cc | 11 ++ ...auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc | 11 ++ .../auto_check_sbp_ssr_MsgSsrPhaseBiases.cc | 11 ++ .../auto_check_sbp_ssr_MsgSsrSatelliteApc.cc | 11 ++ ...to_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc | 11 ++ ...auto_check_sbp_ssr_MsgSsrStecCorrection.cc | 11 ++ ...o_check_sbp_ssr_MsgSsrStecCorrectionDep.cc | 11 ++ ..._check_sbp_ssr_MsgSsrStecCorrectionDepA.cc | 11 ++ ...auto_check_sbp_ssr_MsgSsrTileDefinition.cc | 11 ++ ..._check_sbp_ssr_MsgSsrTileDefinitionDepA.cc | 11 ++ ..._check_sbp_ssr_MsgSsrTileDefinitionDepB.cc | 11 ++ .../auto_check_sbp_system_MsgCsacTelemetry.cc | 11 ++ ...check_sbp_system_MsgCsacTelemetryLabels.cc | 11 ++ .../auto_check_sbp_system_MsgDgnssStatus.cc | 11 ++ ...auto_check_sbp_system_MsgGnssTimeOffset.cc | 11 ++ .../cpp/auto_check_sbp_system_MsgGroupMeta.cc | 11 ++ .../cpp/auto_check_sbp_system_MsgHeartbeat.cc | 11 ++ .../cpp/auto_check_sbp_system_MsgInsStatus.cc | 11 ++ .../auto_check_sbp_system_MsgInsUpdates.cc | 11 ++ .../cpp/auto_check_sbp_system_MsgPpsTime.cc | 11 ++ ...auto_check_sbp_system_MsgSensorAidEvent.cc | 11 ++ .../cpp/auto_check_sbp_system_MsgStartup.cc | 11 ++ .../auto_check_sbp_system_MsgStatusJournal.cc | 11 ++ .../auto_check_sbp_system_MsgStatusReport.cc | 11 ++ .../cpp/auto_check_sbp_telemetry_MsgTelSv.cc | 11 ++ ..._check_sbp_tracking_MsgMeasurementState.cc | 11 ++ .../auto_check_sbp_tracking_MsgTrackingIq.cc | 11 ++ ...to_check_sbp_tracking_MsgTrackingIqDepA.cc | 11 ++ ...to_check_sbp_tracking_MsgTrackingIqDepB.cc | 11 ++ ...uto_check_sbp_tracking_MsgTrackingState.cc | 11 ++ ...check_sbp_tracking_MsgTrackingStateDepB.cc | 11 ++ ...bp_tracking_MsgTrackingStateDetailedDep.cc | 11 ++ ...p_tracking_MsgTrackingStateDetailedDepA.cc | 11 ++ ...check_sbp_tracking_MsgtrackingStateDepA.cc | 11 ++ .../cpp/auto_check_sbp_user_MsgUserData.cc | 11 ++ .../cpp/auto_check_sbp_vehicle_MsgOdometry.cc | 11 ++ .../auto_check_sbp_vehicle_MsgWheeltick.cc | 11 ++ c/test/legacy/cpp/test_sbp_stdio.cc | 8 + .../libsbp/legacy/sbp_messages_template.h | 6 +- .../resources/c/src/sbp_messages_template.c | 4 +- .../resources/c/test/legacy/sbp_c_test.c.j2 | 10 ++ .../c/test/legacy/sbp_cpp_test.cc.j2 | 11 ++ 528 files changed, 6123 insertions(+), 1027 deletions(-) create mode 100644 c/src/include/libsbp/internal/sbp_internal.h diff --git a/c/BUILD.bazel b/c/BUILD.bazel index a80fdebfa2..c49303eb38 100644 --- a/c/BUILD.bazel +++ b/c/BUILD.bazel @@ -80,6 +80,9 @@ swift_cc_test( includes = [ "include/libsbp", ], + copts = [ + "-Wno-deprecated-declarations", + ], type = UNIT, deps = [ ":sbp", @@ -146,6 +149,9 @@ swift_cc_test( data = [ "test/legacy/cpp/sbp_data/gnss_data.sbp", ], + copts = [ + "-Wno-deprecated-declarations", + ], type = UNIT, deps = [ ":sbp", diff --git a/c/include/libsbp/legacy/acquisition.h b/c/include/libsbp/legacy/acquisition.h index 150fcceaa6..5876656f2e 100644 --- a/c/include/libsbp/legacy/acquisition.h +++ b/c/include/libsbp/legacy/acquisition.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include @@ -38,7 +44,7 @@ SBP_PACK_START * the best carrier-to-noise (CN/0) ratio. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { float cn0; /**< CN/0 of best point [dB Hz] */ float cp; /**< Code phase of best point [chips] */ float cf; /**< Carrier frequency of best point [hz] */ @@ -51,7 +57,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { float cn0; /**< CN/0 of best point [dB Hz] */ float cp; /**< Code phase of best point [chips] */ float cf; /**< Carrier frequency of best point [hz] */ @@ -64,7 +70,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { float snr; /**< SNR of best point. Currently in arbitrary SNR points, but will be in units of dB Hz in a later revision of this message. */ @@ -79,7 +85,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { float snr; /**< SNR of best point. Currently dimensionless, but will have units of dB Hz in the revision of this message. */ float cp; /**< Code phase of best point [chips] */ @@ -95,7 +101,7 @@ typedef struct SBP_ATTR_PACKED { * the performance. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 job_type; /**< SV search job type (deep, fallback, etc) */ u8 status; /**< Acquisition status 1 is Success, 0 is Failure */ u16 cn0; /**< CN0 value. Only valid if status is '1' [dB-Hz*10] */ @@ -118,7 +124,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 job_type; /**< SV search job type (deep, fallback, etc) */ u8 status; /**< Acquisition status 1 is Success, 0 is Failure */ u16 cn0; /**< CN0 value. Only valid if status is '1' [dB-Hz*10] */ @@ -142,7 +148,7 @@ typedef struct SBP_ATTR_PACKED { * is used to debug and measure the performance. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { acq_sv_profile_t acq_sv_profile[0]; /**< SV profiles during acquisition time */ } msg_acq_sv_profile_t; @@ -152,7 +158,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { acq_sv_profile_dep_t acq_sv_profile[0]; /**< SV profiles during acquisition time */ } msg_acq_sv_profile_dep_t; diff --git a/c/include/libsbp/legacy/api.h b/c/include/libsbp/legacy/api.h index f7c7492baa..a65c42e128 100644 --- a/c/include/libsbp/legacy/api.h +++ b/c/include/libsbp/legacy/api.h @@ -16,6 +16,10 @@ #include #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols contained will " + "be removed in version 6. You should immediately switch over to the modern libsbp API.") + #ifdef __cplusplus extern "C" { #endif @@ -36,7 +40,7 @@ extern "C" { * `SBP_CALLBACK_ERROR` if the callback was already * registered for that message type. */ -SBP_EXPORT s8 sbp_payload_callback_register(sbp_state_t* s, u16 msg_type, sbp_msg_callback_t cb, void* context, +SBP_EXPORT SBP_DEPRECATED s8 sbp_payload_callback_register(sbp_state_t* s, u16 msg_type, sbp_msg_callback_t cb, void* context, sbp_msg_callbacks_node_t *node); /** Register a frame callback for a msg_type. @@ -51,7 +55,7 @@ SBP_EXPORT s8 sbp_payload_callback_register(sbp_state_t* s, u16 msg_type, sbp_ms * `SBP_CALLBACK_ERROR` if the if callback was already * registered for that message type. */ -SBP_EXPORT s8 sbp_frame_callback_register(sbp_state_t* s, u16 msg_type, +SBP_EXPORT SBP_DEPRECATED s8 sbp_frame_callback_register(sbp_state_t* s, u16 msg_type, sbp_frame_callback_t cb, void* context, sbp_msg_callbacks_node_t *node); @@ -64,7 +68,7 @@ SBP_EXPORT s8 sbp_frame_callback_register(sbp_state_t* s, u16 msg_type, * \return `SBP_OK` (0) if successful, `SBP_NULL_ERROR` if a usage error, * `SBP_CALLBACK_ERROR` if the node already exists */ -SBP_EXPORT s8 sbp_all_payload_callback_register(sbp_state_t *s, sbp_frame_callback_t cb, +SBP_EXPORT SBP_DEPRECATED s8 sbp_all_payload_callback_register(sbp_state_t *s, sbp_frame_callback_t cb, void *context, sbp_msg_callbacks_node_t *node); /** Directly process an SBP frame. @@ -87,7 +91,7 @@ SBP_EXPORT s8 sbp_all_payload_callback_register(sbp_state_t *s, sbp_frame_callba * SBP_OK_CALLBACK_UNDEFINED` (2) if message decoded with no * associated callback. */ -SBP_EXPORT s8 sbp_frame_process(sbp_state_t *s, u16 sender_id, u16 msg_type, +SBP_EXPORT SBP_DEPRECATED s8 sbp_frame_process(sbp_state_t *s, u16 sender_id, u16 msg_type, u8 payload_len, u8 payload[], u16 frame_len, u8 frame[], u8 cb_mask); /** Directly process an SBP message. @@ -103,7 +107,7 @@ SBP_EXPORT s8 sbp_frame_process(sbp_state_t *s, u16 sender_id, u16 msg_type, * `SBP_OK_CALLBACK_UNDEFINED` (2) if message decoded with no associated * callback. */ -SBP_EXPORT s8 sbp_payload_process(sbp_state_t *s, u16 sender_id, u16 msg_type, u8 msg_len, +SBP_EXPORT SBP_DEPRECATED s8 sbp_payload_process(sbp_state_t *s, u16 sender_id, u16 msg_type, u8 msg_len, u8 payload[]); /** Send SBP messages. @@ -135,7 +139,7 @@ SBP_EXPORT s8 sbp_payload_process(sbp_state_t *s, u16 sender_id, u16 msg_type, u * \return `SBP_OK` (0) if successful, `SBP_WRITE_ERROR` if the message could * not be sent or was only partially sent. */ -SBP_EXPORT s8 sbp_payload_send(sbp_state_t *s, u16 msg_type, u16 sender_id, u8 len, u8 *payload, +SBP_EXPORT SBP_DEPRECATED s8 sbp_payload_send(sbp_state_t *s, u16 msg_type, u16 sender_id, u8 len, u8 *payload, sbp_write_fn_t write); #ifdef __cplusplus diff --git a/c/include/libsbp/legacy/bootload.h b/c/include/libsbp/legacy/bootload.h index 8c7c753682..2936d41850 100644 --- a/c/include/libsbp/legacy/bootload.h +++ b/c/include/libsbp/legacy/bootload.h @@ -29,6 +29,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -48,7 +54,7 @@ SBP_PACK_START * number and the SBP protocol version number. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 flags; /**< Bootloader flags */ char version[0]; /**< Bootloader version number */ } msg_bootloader_handshake_resp_t; @@ -58,7 +64,7 @@ typedef struct SBP_ATTR_PACKED { * The host initiates the bootloader to jump to the application. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 jump; /**< Ignored by the device */ } msg_bootloader_jump_to_app_t; @@ -82,7 +88,7 @@ typedef struct SBP_ATTR_PACKED { * number. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 dna[8]; /**< 57-bit SwiftNAP FPGA Device ID. Remaining bits are padded on the right. */ } msg_nap_device_dna_resp_t; @@ -92,7 +98,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 handshake[0]; /**< Version number string (not NULL terminated) */ } msg_bootloader_handshake_dep_a_t; diff --git a/c/include/libsbp/legacy/compat.h b/c/include/libsbp/legacy/compat.h index 04a8b49c82..0c6b501761 100644 --- a/c/include/libsbp/legacy/compat.h +++ b/c/include/libsbp/legacy/compat.h @@ -16,6 +16,10 @@ #include #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols contained will " + "be removed in version 6. You should immediately switch over to the modern libsbp API.") + #ifdef __cplusplus extern "C" { diff --git a/c/include/libsbp/legacy/cpp/frame_handler.h b/c/include/libsbp/legacy/cpp/frame_handler.h index 6609180ac1..0ec1063643 100644 --- a/c/include/libsbp/legacy/cpp/frame_handler.h +++ b/c/include/libsbp/legacy/cpp/frame_handler.h @@ -20,6 +20,10 @@ #include #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols contained will " + "be removed in version 6. You should immediately switch over to the modern libsbp API.") + namespace sbp { /** @@ -92,7 +96,7 @@ inline void sbp_frame_cb_passthrough(uint16_t sender_id, uint16_t msg_type, * @tparam MsgTypes List of SBP message types to register callbacks for */ template -class FrameHandler { +class SBP_DEPRECATED FrameHandler { static constexpr std::size_t kMsgCount = sizeof...(MsgTypes); State &state_; @@ -165,7 +169,7 @@ class FrameHandler { * }; * */ -class AllFrameHandler { +class SBP_DEPRECATED AllFrameHandler { State &state_; sbp_msg_callbacks_node_t callback_node_; diff --git a/c/include/libsbp/legacy/cpp/payload_handler.h b/c/include/libsbp/legacy/cpp/payload_handler.h index e5194af782..aa34a12934 100644 --- a/c/include/libsbp/legacy/cpp/payload_handler.h +++ b/c/include/libsbp/legacy/cpp/payload_handler.h @@ -68,7 +68,7 @@ namespace details { * @tparam OtherTypes Other types to recursively define interfaces for */ template -class PayloadCallbackInterface : PayloadCallbackInterface { +class SBP_DEPRECATED PayloadCallbackInterface : PayloadCallbackInterface { public: PayloadCallbackInterface() = default; ~PayloadCallbackInterface() override = default; @@ -88,7 +88,7 @@ class PayloadCallbackInterface : PayloadCallbackInterface { }; template -class PayloadCallbackInterface { +class SBP_DEPRECATED PayloadCallbackInterface { public: PayloadCallbackInterface() = default; virtual ~PayloadCallbackInterface() = default; @@ -144,7 +144,7 @@ class PayloadCallbackInterface { * @tparam MsgTypes List of SBP message types to register callbacks for */ template -class PayloadHandler : public details::PayloadCallbackInterface { +class SBP_DEPRECATED PayloadHandler : public details::PayloadCallbackInterface { static constexpr std::size_t kMsgCount = sizeof...(MsgTypes); State &state_; diff --git a/c/include/libsbp/legacy/ext_events.h b/c/include/libsbp/legacy/ext_events.h index 1363d565db..bd59cfe26b 100644 --- a/c/include/libsbp/legacy/ext_events.h +++ b/c/include/libsbp/legacy/ext_events.h @@ -26,6 +26,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -36,7 +42,7 @@ SBP_PACK_START * it was and whether it was rising or falling. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 wn; /**< GPS week number [weeks] */ u32 tow; /**< GPS time of week rounded to the nearest millisecond [ms] */ s32 ns_residual; /**< Nanosecond residual of millisecond-rounded TOW diff --git a/c/include/libsbp/legacy/file_io.h b/c/include/libsbp/legacy/file_io.h index 8ad348b3fb..cd23b4c8b5 100644 --- a/c/include/libsbp/legacy/file_io.h +++ b/c/include/libsbp/legacy/file_io.h @@ -32,6 +32,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -47,7 +53,7 @@ SBP_PACK_START * received from sender ID 0x42. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Read sequence number */ u32 offset; /**< File offset [bytes] */ u8 chunk_size; /**< Chunk size to read [bytes] */ @@ -62,7 +68,7 @@ typedef struct SBP_ATTR_PACKED { * number in the response is preserved from the request. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Read sequence number */ u8 contents[0]; /**< Contents of read file */ } msg_fileio_read_resp_t; @@ -80,7 +86,7 @@ typedef struct SBP_ATTR_PACKED { * 0x42. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Read sequence number */ u32 offset; /**< The offset to skip the first n elements of the file list */ @@ -96,7 +102,7 @@ typedef struct SBP_ATTR_PACKED { * sequence number in the response is preserved from the request. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Read sequence number */ char contents[0]; /**< Contents of read directory */ } msg_fileio_read_dir_resp_t; @@ -109,7 +115,7 @@ typedef struct SBP_ATTR_PACKED { * sender ID 0x42. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { char filename[0]; /**< Name of the file to delete */ } msg_fileio_remove_t; @@ -124,7 +130,7 @@ typedef struct SBP_ATTR_PACKED { * sender ID 0x42. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Write sequence number */ u32 offset; /**< Offset into the file at which to start writing in bytes [bytes] */ @@ -140,7 +146,7 @@ typedef struct SBP_ATTR_PACKED { * number in the response is preserved from the request. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Write sequence number */ } msg_fileio_write_resp_t; @@ -152,7 +158,7 @@ typedef struct SBP_ATTR_PACKED { * operations. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Advice sequence number */ } msg_fileio_config_req_t; @@ -165,7 +171,7 @@ typedef struct SBP_ATTR_PACKED { * operations. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Advice sequence number */ u32 window_size; /**< The number of SBP packets in the data in-flight window */ diff --git a/c/include/libsbp/legacy/flash.h b/c/include/libsbp/legacy/flash.h index 2a5d475235..c19d2f5537 100644 --- a/c/include/libsbp/legacy/flash.h +++ b/c/include/libsbp/legacy/flash.h @@ -28,6 +28,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -41,7 +47,7 @@ SBP_PACK_START * addresses must be erased before addresses can be programmed. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 target; /**< Target flags */ u8 addr_start[3]; /**< Starting address offset to program [bytes] */ u8 addr_len; /**< Length of set of addresses to program, counting up @@ -58,7 +64,7 @@ typedef struct SBP_ATTR_PACKED { * failure. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 response; /**< Response flags */ } msg_flash_done_t; @@ -72,7 +78,7 @@ typedef struct SBP_ATTR_PACKED { * allowed range. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 target; /**< Target flags */ u8 addr_start[3]; /**< Starting address offset to read from [bytes] */ u8 addr_len; /**< Length of set of addresses to read, counting up from @@ -89,7 +95,7 @@ typedef struct SBP_ATTR_PACKED { * allowed range. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 target; /**< Target flags */ u8 addr_start[3]; /**< Starting address offset to read from [bytes] */ u8 addr_len; /**< Length of set of addresses to read, counting up from @@ -104,7 +110,7 @@ typedef struct SBP_ATTR_PACKED { * FLASH_INVALID_FLASH (1) if the flash specified is invalid. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 target; /**< Target flags */ u32 sector_num; /**< Flash sector number to erase (0-11 for the STM, 0-15 for the M25) */ @@ -116,7 +122,7 @@ typedef struct SBP_ATTR_PACKED { * replies with a MSG_FLASH_DONE message. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sector; /**< Flash sector number to lock */ } msg_stm_flash_lock_sector_t; @@ -126,7 +132,7 @@ typedef struct SBP_ATTR_PACKED { * device replies with a MSG_FLASH_DONE message. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sector; /**< Flash sector number to unlock */ } msg_stm_flash_unlock_sector_t; @@ -146,7 +152,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_STM_UNIQUE_ID_RESP with the 12-byte unique ID in the payload. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 stm_id[12]; /**< Device unique ID */ } msg_stm_unique_id_resp_t; @@ -156,7 +162,7 @@ typedef struct SBP_ATTR_PACKED { * device replies with a MSG_FLASH_DONE message. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 status[1]; /**< Byte to write to the M25 flash status register */ } msg_m25_flash_write_status_t; diff --git a/c/include/libsbp/legacy/gnss.h b/c/include/libsbp/legacy/gnss.h index 8583711e42..672c74abde 100644 --- a/c/include/libsbp/legacy/gnss.h +++ b/c/include/libsbp/legacy/gnss.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -34,7 +40,7 @@ SBP_PACK_START * Signal identifier containing constellation, band, and satellite identifier. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 sat; /**< Constellation-specific satellite id. For GLO can either be (100+FCN) where FCN is in [-7,+6] or the Slot ID in [1,28]. */ u8 code; /**< Signal constellation, band and code */ @@ -46,7 +52,7 @@ typedef struct SBP_ATTR_PACKED { * vehicle. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 satId; /**< Constellation-specific satellite id. For GLO can either be (100+FCN) where FCN is in [-7,+6] or the Slot ID in [1,28]. */ @@ -58,7 +64,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 sat; /**< Constellation-specific satellite identifier. Note: unlike GnssSignal, GPS satellites are encoded as @@ -74,7 +80,7 @@ typedef struct SBP_ATTR_PACKED { * beginning of the week on the Saturday/Sunday transition. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< Milliseconds since start of GPS week [ms] */ u16 wn; /**< GPS week number [week] */ } gps_time_dep_t; @@ -85,7 +91,7 @@ typedef struct SBP_ATTR_PACKED { * the Saturday/Sunday transition. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< Seconds since start of GPS week [s] */ u16 wn; /**< GPS week number [week] */ } gps_time_sec_t; @@ -97,7 +103,7 @@ typedef struct SBP_ATTR_PACKED { * observations are epoch aligned so ns field will be 0. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< Milliseconds since start of GPS week [ms] */ s32 ns_residual; /**< Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to 500000) [ns] */ @@ -111,7 +117,7 @@ typedef struct SBP_ATTR_PACKED { * fractional cycles. This phase has the same sign as the pseudorange. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s32 i; /**< Carrier phase whole cycles [cycles] */ u8 f; /**< Carrier phase fractional part [cycles / 256] */ } carrier_phase_t; diff --git a/c/include/libsbp/legacy/imu.h b/c/include/libsbp/legacy/imu.h index 36716eeb2c..b80251ba0f 100644 --- a/c/include/libsbp/legacy/imu.h +++ b/c/include/libsbp/legacy/imu.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -45,7 +51,7 @@ SBP_PACK_START * The time-tagging mode should not change throughout a run. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< Milliseconds since reference epoch and time status. */ u8 tow_f; /**< Milliseconds since reference epoch, fractional part [ms / 256] */ @@ -64,7 +70,7 @@ typedef struct SBP_ATTR_PACKED { * depends on the value of `imu_type`. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 imu_type; /**< IMU type */ s16 temp; /**< Raw IMU temperature */ u8 imu_conf; /**< IMU configuration */ diff --git a/c/include/libsbp/legacy/integrity.h b/c/include/libsbp/legacy/integrity.h index a942824c7e..911a95c72f 100644 --- a/c/include/libsbp/legacy/integrity.h +++ b/c/include/libsbp/legacy/integrity.h @@ -25,12 +25,18 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include SBP_PACK_START -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t obs_time; /**< GNSS reference time of the observation used to generate the flag. */ u8 num_msgs; /**< Number of messages in the dataset */ @@ -70,7 +76,7 @@ typedef struct SBP_ATTR_PACKED { * elements in the group. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t obs_time; /**< GNSS reference time of the observation used to generate the flag. */ @@ -93,7 +99,7 @@ typedef struct SBP_ATTR_PACKED { u8 use_iono_grid_point_sat_los; /**< Use iono grid point satellite LoS. */ } msg_ssr_flag_high_level_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t obs_time; /**< GNSS reference time of the observation used to generate the flag. */ u8 num_msgs; /**< Number of messages in the dataset */ @@ -105,27 +111,27 @@ typedef struct SBP_ATTR_PACKED { u8 faulty_sats[0]; /**< List of faulty satellites. */ } msg_ssr_flag_satellites_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { integrity_ssr_header_t header; /**< Header of an integrity message. */ u8 n_faulty_points; /**< Number of faulty grid points. */ u16 faulty_points[0]; /**< List of faulty grid points. */ } msg_ssr_flag_tropo_grid_points_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { integrity_ssr_header_t header; /**< Header of an integrity message. */ u8 n_faulty_points; /**< Number of faulty grid points. */ u16 faulty_points[0]; /**< List of faulty grid points. */ } msg_ssr_flag_iono_grid_points_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { integrity_ssr_header_t header; /**< Header of an integrity message. */ u8 n_faulty_los; /**< Number of faulty LOS. */ sv_id_t faulty_los[0]; /**< List of faulty LOS */ } msg_ssr_flag_iono_tile_sat_los_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { integrity_ssr_header_t header; /**< Header of an integrity message. */ u16 grid_point_id; /**< Index of the grid point. */ @@ -133,7 +139,7 @@ typedef struct SBP_ATTR_PACKED { sv_id_t faulty_los[0]; /**< List of faulty LOS */ } msg_ssr_flag_iono_grid_point_sat_los_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 request_id; /**< Echo of the request ID field from the corresponding CRA message, or 255 if no request ID was provided. */ diff --git a/c/include/libsbp/legacy/linux.h b/c/include/libsbp/legacy/linux.h index de39812544..4c4f8619a7 100644 --- a/c/include/libsbp/legacy/linux.h +++ b/c/include/libsbp/legacy/linux.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -34,7 +40,7 @@ SBP_PACK_START * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 index; /**< sequence of this status message, values from 0-9 */ u16 pid; /**< the PID of the process */ u8 pcpu; /**< percent of cpu used, expressed as a fraction of 256 */ @@ -48,7 +54,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 index; /**< sequence of this status message, values from 0-9 */ u16 pid; /**< the PID of the process */ u8 pmem; /**< percent of memory used, expressed as a fraction of 256 */ @@ -62,7 +68,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 mem_total; /**< total system memory */ u8 pcpu; /**< percent of total cpu currently utilized */ u8 pmem; /**< percent of total memory currently utilized */ @@ -78,7 +84,7 @@ typedef struct SBP_ATTR_PACKED { * Top 10 list of processes with high socket counts. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 index; /**< sequence of this status message, values from 0-9 */ u16 pid; /**< the PID of the process in question */ u16 socket_count; /**< the number of sockets the process is using */ @@ -99,7 +105,7 @@ typedef struct SBP_ATTR_PACKED { * Top 10 list of sockets with deep queues. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 index; /**< sequence of this status message, values from 0-9 */ u16 pid; /**< the PID of the process in question */ @@ -129,7 +135,7 @@ typedef struct SBP_ATTR_PACKED { * Summaries the socket usage across the system. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 avg_queue_depth; /**< average socket queue depths across all sockets on the system */ u32 max_queue_depth; /**< the max queue depth seen within the @@ -149,7 +155,7 @@ typedef struct SBP_ATTR_PACKED { * Top 10 list of processes with a large number of open file descriptors. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 index; /**< sequence of this status message, values from 0-9 */ u16 pid; /**< the PID of the process in question */ u16 fd_count; /**< a count of the number of file descriptors opened by @@ -162,7 +168,7 @@ typedef struct SBP_ATTR_PACKED { * Summary of open file descriptors on the system. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sys_fd_count; /**< count of total FDs open on the system */ char most_opened[0]; /**< A null delimited list of strings which alternates between a string representation of the process @@ -179,7 +185,7 @@ typedef struct SBP_ATTR_PACKED { * of CPU on the system, including a timestamp. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 index; /**< sequence of this status message, values from 0-9 */ u16 pid; /**< the PID of the process */ u8 pcpu; /**< percent of CPU used, expressed as a fraction of 256 */ @@ -197,7 +203,7 @@ typedef struct SBP_ATTR_PACKED { * of memory on the system, including a timestamp. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 index; /**< sequence of this status message, values from 0-9 */ u16 pid; /**< the PID of the process */ u8 pmem; /**< percent of memory used, expressed as a fraction of 256 */ @@ -215,7 +221,7 @@ typedef struct SBP_ATTR_PACKED { * timestamp. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 mem_total; /**< total system memory, in MiB */ u8 pcpu; /**< percent of CPU used, expressed as a fraction of 256 */ diff --git a/c/include/libsbp/legacy/logging.h b/c/include/libsbp/legacy/logging.h index db584457aa..72de1371bf 100644 --- a/c/include/libsbp/legacy/logging.h +++ b/c/include/libsbp/legacy/logging.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -36,7 +42,7 @@ SBP_PACK_START * DEBUG, INFO logging levels. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 level; /**< Logging level */ char text[0]; /**< Human-readable string */ } msg_log_t; @@ -53,7 +59,7 @@ typedef struct SBP_ATTR_PACKED { * are implementation defined. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 source; /**< source identifier */ u8 protocol; /**< protocol identifier */ u8 fwd_payload[0]; /**< variable length wrapped binary message */ @@ -64,7 +70,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { char text[0]; /**< Human-readable string */ } msg_print_dep_t; diff --git a/c/include/libsbp/legacy/mag.h b/c/include/libsbp/legacy/mag.h index fd5418d18d..23ae921f98 100644 --- a/c/include/libsbp/legacy/mag.h +++ b/c/include/libsbp/legacy/mag.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -34,7 +40,7 @@ SBP_PACK_START * Raw data from the magnetometer. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< Milliseconds since start of GPS week. If the high bit is set, the time is unknown or invalid. [ms] */ u8 tow_f; /**< Milliseconds since start of GPS week, fractional part [ms / diff --git a/c/include/libsbp/legacy/navigation.h b/c/include/libsbp/legacy/navigation.h index a2df9f8af3..b794a7893b 100644 --- a/c/include/libsbp/legacy/navigation.h +++ b/c/include/libsbp/legacy/navigation.h @@ -47,6 +47,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -70,7 +76,7 @@ SBP_PACK_START * MSG_GPS_TIME_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 wn; /**< GPS week number [weeks] */ u32 tow; /**< GPS time of week rounded to the nearest millisecond [ms] */ s32 ns_residual; /**< Nanosecond residual of millisecond-rounded TOW @@ -96,7 +102,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_GPS_TIME. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 wn; /**< GPS week number [weeks] */ u32 tow; /**< GPS time of week rounded to the nearest millisecond [ms] */ s32 ns_residual; /**< Nanosecond residual of millisecond-rounded TOW @@ -115,7 +121,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_UTC_TIME_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Indicates source and time validity */ u32 tow; /**< GPS time of week rounded to the nearest millisecond [ms] */ u16 year; /**< Year [year] */ @@ -137,7 +143,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_UTC_TIME. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Indicates source and time validity */ u32 tow; /**< GPS time of week rounded to the nearest millisecond [ms] */ u16 year; /**< Year [year] */ @@ -159,7 +165,7 @@ typedef struct SBP_ATTR_PACKED { * The values in this message are from GNSS measurements only. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u16 gdop; /**< Geometric Dilution of Precision [0.01] */ u16 pdop; /**< Position Dilution of Precision [0.01] */ @@ -185,7 +191,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_POS_ECEF_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double x; /**< ECEF X coordinate [m] */ double y; /**< ECEF Y coordinate [m] */ @@ -211,7 +217,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_POS_ECEF_COV_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double x; /**< ECEF X coordinate [m] */ double y; /**< ECEF Y coordinate [m] */ @@ -241,7 +247,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_POS_LLH_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double lat; /**< Latitude [deg] */ double lon; /**< Longitude [deg] */ @@ -268,7 +274,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_POS_LLH_COV_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double lat; /**< Latitude [deg] */ double lon; /**< Longitude [deg] */ @@ -283,7 +289,7 @@ typedef struct SBP_ATTR_PACKED { u8 flags; /**< Status flags */ } msg_pos_llh_cov_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { float semi_major; /**< The semi major axis of the estimated horizontal error ellipse at the user-configured confidence level; zero implies invalid. [m] */ @@ -312,7 +318,7 @@ typedef struct SBP_ATTR_PACKED { * measurements. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double lat; /**< Latitude [deg] */ double lon; /**< Longitude [deg] */ @@ -362,7 +368,7 @@ typedef struct SBP_ATTR_PACKED { * The values in this message are from GNSS measurements only. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Baseline ECEF X coordinate [mm] */ s32 y; /**< Baseline ECEF Y coordinate [mm] */ @@ -384,7 +390,7 @@ typedef struct SBP_ATTR_PACKED { * The values in this message are from GNSS measurements only. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 n; /**< Baseline North coordinate [mm] */ s32 e; /**< Baseline East coordinate [mm] */ @@ -406,7 +412,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_VEL_ECEF_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Velocity ECEF X coordinate [mm/s] */ s32 y; /**< Velocity ECEF Y coordinate [mm/s] */ @@ -427,7 +433,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_VEL_ECEF_COV_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Velocity ECEF X coordinate [mm/s] */ s32 y; /**< Velocity ECEF Y coordinate [mm/s] */ @@ -454,7 +460,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_VEL_NED_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 n; /**< Velocity North coordinate [mm/s] */ s32 e; /**< Velocity East coordinate [mm/s] */ @@ -480,7 +486,7 @@ typedef struct SBP_ATTR_PACKED { * MSG_VEL_NED_COV_GNSS. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 n; /**< Velocity North coordinate [mm/s] */ s32 e; /**< Velocity East coordinate [mm/s] */ @@ -509,7 +515,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_POS_ECEF. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double x; /**< ECEF X coordinate [m] */ double y; /**< ECEF Y coordinate [m] */ @@ -534,7 +540,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_POS_ECEF_COV. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double x; /**< ECEF X coordinate [m] */ double y; /**< ECEF Y coordinate [m] */ @@ -563,7 +569,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_POS_LLH. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double lat; /**< Latitude [deg] */ double lon; /**< Longitude [deg] */ @@ -589,7 +595,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_POS_LLH_COV. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double lat; /**< Latitude [deg] */ double lon; /**< Longitude [deg] */ @@ -614,7 +620,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_VEL_ECEF. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Velocity ECEF X coordinate [mm/s] */ s32 y; /**< Velocity ECEF Y coordinate [mm/s] */ @@ -634,7 +640,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_VEL_ECEF_COV. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Velocity ECEF X coordinate [mm/s] */ s32 y; /**< Velocity ECEF Y coordinate [mm/s] */ @@ -660,7 +666,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_VEL_NED. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 n; /**< Velocity North coordinate [mm/s] */ s32 e; /**< Velocity East coordinate [mm/s] */ @@ -685,7 +691,7 @@ typedef struct SBP_ATTR_PACKED { * fused with inertial measurements use MSG_VEL_NED_COV. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 n; /**< Velocity North coordinate [mm/s] */ s32 e; /**< Velocity East coordinate [mm/s] */ @@ -716,7 +722,7 @@ typedef struct SBP_ATTR_PACKED { * measurements. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Velocity in x direction [mm/s] */ s32 y; /**< Velocity in y direction [mm/s] */ @@ -749,7 +755,7 @@ typedef struct SBP_ATTR_PACKED { * measurements. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u32 cog; /**< Course over ground relative to north direction [microdegrees] */ u32 sog; /**< Speed over ground (based on horizontal velocity) [mm/s] */ @@ -769,7 +775,7 @@ typedef struct SBP_ATTR_PACKED { * Differential solution. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u16 age; /**< Age of the corrections (0xFFFF indicates invalid) [deciseconds] */ @@ -780,7 +786,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 wn; /**< GPS week number [weeks] */ u32 tow; /**< GPS time of week rounded to the nearest millisecond [ms] */ s32 ns_residual; /**< Nanosecond residual of millisecond-rounded TOW @@ -793,7 +799,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u16 gdop; /**< Geometric Dilution of Precision [0.01] */ u16 pdop; /**< Position Dilution of Precision [0.01] */ @@ -807,7 +813,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double x; /**< ECEF X coordinate [m] */ double y; /**< ECEF Y coordinate [m] */ @@ -823,7 +829,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ double lat; /**< Latitude [deg] */ double lon; /**< Longitude [deg] */ @@ -841,7 +847,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Baseline ECEF X coordinate [mm] */ s32 y; /**< Baseline ECEF Y coordinate [mm] */ @@ -856,7 +862,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 n; /**< Baseline North coordinate [mm] */ s32 e; /**< Baseline East coordinate [mm] */ @@ -874,7 +880,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< Velocity ECEF X coordinate [mm/s] */ s32 y; /**< Velocity ECEF Y coordinate [mm/s] */ @@ -890,7 +896,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 n; /**< Velocity North coordinate [mm/s] */ s32 e; /**< Velocity East coordinate [mm/s] */ @@ -908,7 +914,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u32 heading; /**< Heading [mdeg] */ u8 n_sats; /**< Number of satellites used in solution */ @@ -920,7 +926,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u16 vpl; /**< Vertical protection level [cm] */ u16 hpl; /**< Horizontal protection level [cm] */ @@ -937,7 +943,7 @@ typedef struct SBP_ATTR_PACKED { * matching time-of-week (tow). */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s16 wn; /**< GPS week number [weeks] */ u16 hpl; /**< Horizontal protection level [cm] */ @@ -971,7 +977,7 @@ typedef struct SBP_ATTR_PACKED { * for announced insertions) UTC leap second insertion. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s16 reserved_0; /**< Reserved. */ s16 reserved_1; /**< Reserved. */ s8 reserved_2; /**< Reserved. */ @@ -983,7 +989,7 @@ typedef struct SBP_ATTR_PACKED { s8 count_after; /**< Leap second count after insertion. [s] */ } msg_utc_leap_second_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 ssr_iod; /**< SSR IOD parameter. */ char sn[32]; /**< Name of source coordinate-system. */ char tn[32]; /**< Name of target coordinate-system. */ @@ -1025,7 +1031,7 @@ typedef struct SBP_ATTR_PACKED { * first keyframe. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u8 sensor_id; /**< ID of the sensor producing this message */ u32 timestamp_1; /**< Timestamp of first keyframe [ms] */ diff --git a/c/include/libsbp/legacy/ndb.h b/c/include/libsbp/legacy/ndb.h index 622d4ae2fb..f5031c1ecc 100644 --- a/c/include/libsbp/legacy/ndb.h +++ b/c/include/libsbp/legacy/ndb.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include @@ -36,7 +42,7 @@ SBP_PACK_START * message could also be sent out when fetching an object from NDB. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u64 recv_time; /**< HW time in milliseconds. [ms] */ u8 event; /**< Event type. */ u8 object_type; /**< Event object type. */ diff --git a/c/include/libsbp/legacy/observation.h b/c/include/libsbp/legacy/observation.h index 88a52c089f..a016407386 100644 --- a/c/include/libsbp/legacy/observation.h +++ b/c/include/libsbp/legacy/observation.h @@ -27,6 +27,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include @@ -37,7 +43,7 @@ SBP_PACK_START * Header of a GNSS observation message. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gps_time_t t; /**< GNSS time of this observation */ u8 n_obs; /**< Total number of observations. First nibble is the size of the sequence (n), second nibble is the zero-indexed @@ -51,7 +57,7 @@ typedef struct SBP_ATTR_PACKED { * doppler. This doppler is defined as positive for approaching satellites. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s16 i; /**< Doppler whole Hz [Hz] */ u8 f; /**< Doppler fractional part [Hz / 256] */ } doppler_t; @@ -67,7 +73,7 @@ typedef struct SBP_ATTR_PACKED { * performed. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 P; /**< Pseudorange observation [2 cm] */ carrier_phase_t L; /**< Carrier phase observation with typical sign convention. [cycles] */ @@ -92,7 +98,7 @@ typedef struct SBP_ATTR_PACKED { * Pseudorange and carrier phase network corrections for a satellite signal. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 P; /**< Pseudorange observation [2 cm] */ carrier_phase_t L; /**< Carrier phase observation with typical sign convention. [cycles] */ @@ -122,7 +128,7 @@ typedef struct SBP_ATTR_PACKED { * conform with typical RTCMv3 GNSS observations. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { observation_header_t header; /**< Header of a GPS observation message */ packed_obs_content_t obs[0]; /**< Pseudorange and carrier phase observation for a satellite being @@ -137,7 +143,7 @@ typedef struct SBP_ATTR_PACKED { * error here will result in an error in the pseudo-absolute position output. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { double lat; /**< Latitude [deg] */ double lon; /**< Longitude [deg] */ double height; /**< Height [m] */ @@ -152,13 +158,13 @@ typedef struct SBP_ATTR_PACKED { * in an error in the pseudo-absolute position output. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { double x; /**< ECEF X coordinate [m] */ double y; /**< ECEF Y coordinate [m] */ double z; /**< ECEF Z coordinate [m] */ } msg_base_pos_ecef_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t sid; /**< GNSS signal identifier (16 bit) */ gps_time_sec_t toe; /**< Time of Ephemerides */ float ura; /**< User Range Accuracy [m] */ @@ -170,7 +176,7 @@ typedef struct SBP_ATTR_PACKED { GLO: 0 = valid, non-zero = invalid */ } ephemeris_common_content_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t sid; /**< GNSS signal identifier (16 bit) */ gps_time_sec_t toe; /**< Time of Ephemerides */ double ura; /**< User Range Accuracy [m] */ @@ -181,7 +187,7 @@ typedef struct SBP_ATTR_PACKED { Others: 0 = valid, non-zero = invalid */ } ephemeris_common_content_dep_b_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gnss_signal_dep_t sid; /**< GNSS signal identifier */ gps_time_dep_t toe; /**< Time of Ephemerides */ double ura; /**< User Range Accuracy [m] */ @@ -198,7 +204,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_a_t common; /**< Values common for all ephemeris types */ double tgd; /**< Group delay differential between L1 and L2 [s] */ @@ -240,7 +246,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_b_t common; /**< Values common for all ephemeris types */ double tgd; /**< Group delay differential between L1 and L2 [s] */ @@ -285,7 +291,7 @@ typedef struct SBP_ATTR_PACKED { * GPS-200, Table 20-III) for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_t common; /**< Values common for all ephemeris types */ float tgd; /**< Group delay differential between L1 and L2 [s] */ @@ -327,7 +333,7 @@ typedef struct SBP_ATTR_PACKED { * used to calculate QZSS satellite position, velocity, and clock offset. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_t common; /**< Values common for all ephemeris types */ float tgd; /**< Group delay differential between L1 and L2 [s] */ @@ -371,7 +377,7 @@ typedef struct SBP_ATTR_PACKED { * Table 5-9 for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_t common; /**< Values common for all ephemeris types */ float tgd1; /**< Group delay differential for B1 [s] */ @@ -418,7 +424,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_t common; /**< Values common for all ephemeris types */ float bgd_e1e5a; /**< E1-E5a Broadcast Group Delay [s] */ @@ -464,7 +470,7 @@ typedef struct SBP_ATTR_PACKED { * more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_t common; /**< Values common for all ephemeris types */ float bgd_e1e5a; /**< E1-E5a Broadcast Group Delay [s] */ @@ -508,7 +514,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_a_t common; /**< Values common for all ephemeris types */ double pos[3]; /**< Position of the GEO at time toe [m] */ @@ -524,7 +530,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_a_t common; /**< Values common for all ephemeris types */ double gamma; /**< Relative deviation of predicted carrier frequency @@ -543,7 +549,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_b_t common; /**< Values common for all ephemeris types */ double pos[3]; /**< Position of the GEO at time toe [m] */ @@ -554,7 +560,7 @@ typedef struct SBP_ATTR_PACKED { double a_gf1; /**< Drift of the GEO clock w.r.t. SBAS Network Time [s/s] */ } msg_ephemeris_sbas_dep_b_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_t common; /**< Values common for all ephemeris types */ double pos[3]; /**< Position of the GEO at time toe [m] */ @@ -569,7 +575,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_b_t common; /**< Values common for all ephemeris types */ double gamma; /**< Relative deviation of predicted carrier frequency @@ -591,7 +597,7 @@ typedef struct SBP_ATTR_PACKED { * information (ephemeris parameters)" for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_b_t common; /**< Values common for all ephemeris types */ double gamma; /**< Relative deviation of predicted carrier frequency @@ -614,7 +620,7 @@ typedef struct SBP_ATTR_PACKED { * using floats for size reduction. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_dep_b_t common; /**< Values common for all ephemeris types */ double gamma; /**< Relative deviation of predicted carrier frequency @@ -641,7 +647,7 @@ typedef struct SBP_ATTR_PACKED { * information (ephemeris parameters)" for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ephemeris_common_content_t common; /**< Values common for all ephemeris types */ float gamma; /**< Relative deviation of predicted carrier frequency from @@ -665,7 +671,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { double tgd; /**< Group delay differential between L1 and L2 [s] */ double c_rs; /**< Amplitude of the sine harmonic correction term to the orbit radius [m] */ @@ -712,7 +718,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { double tgd; /**< Group delay differential between L1 and L2 [s] */ double c_rs; /**< Amplitude of the sine harmonic correction term to the orbit radius [m] */ @@ -756,7 +762,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { double tgd; /**< Group delay differential between L1 and L2 [s] */ double c_rs; /**< Amplitude of the sine harmonic correction term to the orbit radius [m] */ @@ -801,7 +807,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { double tgd; /**< Group delay differential between L1 and L2 [s] */ double c_rs; /**< Amplitude of the sine harmonic correction term to the orbit radius [m] */ @@ -848,7 +854,7 @@ typedef struct SBP_ATTR_PACKED { * Header of a GPS observation message. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_dep_t t; /**< GPS time of this observation */ u8 n_obs; /**< Total number of observations. First nibble is the size of the sequence (n), second nibble is the zero-indexed @@ -863,7 +869,7 @@ typedef struct SBP_ATTR_PACKED { * receiver and the phase has the opposite sign as the pseudorange. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s32 i; /**< Carrier phase whole cycles [cycles] */ u8 f; /**< Carrier phase fractional part [cycles / 256] */ } carrier_phase_dep_a_t; @@ -873,7 +879,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 P; /**< Pseudorange observation [cm] */ carrier_phase_dep_a_t L; /**< Carrier phase observation with opposite sign from typical convention */ @@ -890,7 +896,7 @@ typedef struct SBP_ATTR_PACKED { * Pseudoranges are referenced to a nominal pseudorange. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 P; /**< Pseudorange observation [cm] */ carrier_phase_dep_a_t L; /**< Carrier phase observation with opposite sign from typical convention. */ @@ -908,7 +914,7 @@ typedef struct SBP_ATTR_PACKED { * with typical RTCMv3 GNSS observations. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 P; /**< Pseudorange observation [2 cm] */ carrier_phase_t L; /**< Carrier phase observation with typical sign convention. [cycles] */ @@ -924,7 +930,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { observation_header_dep_t header; /**< Header of a GPS observation message */ packed_obs_content_dep_a_t obs[0]; /**< Pseudorange and carrier phase observation for a satellite being @@ -936,7 +942,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { observation_header_dep_t header; /**< Header of a GPS observation message */ packed_obs_content_dep_b_t obs[0]; /**< Pseudorange and carrier phase observation for a satellite being @@ -948,7 +954,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { observation_header_dep_t header; /**< Header of a GPS observation message */ packed_obs_content_dep_c_t obs[0]; /**< Pseudorange and carrier phase observation for a satellite being @@ -962,7 +968,7 @@ typedef struct SBP_ATTR_PACKED { * Please see ICD-GPS-200 (Chapter 20.3.3.5.1.7) for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t t_nmct; /**< Navigation Message Correction Table Validity Time */ double a0; @@ -980,14 +986,14 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t t_nmct; /**< Navigation Message Correction Table Validity Time */ u32 l2c_mask; /**< L2C capability mask, SV32 bit being MSB, SV1 bit being LSB */ } msg_sv_configuration_gps_dep_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u64 gps_active; /**< GPS SV active mask */ u64 gps_l2c; /**< GPS L2C active mask */ u64 gps_l5; /**< GPS L5 active mask */ @@ -1017,7 +1023,7 @@ typedef struct SBP_ATTR_PACKED { * Please see ICD-GPS-200 (Chapter 20.3.3.5.1.4) for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t t_nmct; /**< Navigation Message Correction Table Validity Time */ gnss_capb_t gc; /**< GNSS capabilities masks */ @@ -1028,7 +1034,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_dep_t t_op; /**< Data Predict Time of Week */ u8 prn; /**< Satellite number */ u8 valid; /**< bit-field indicating validity of the values, LSB @@ -1044,7 +1050,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t t_op; /**< Data Predict Time of Week */ gnss_signal_dep_t sid; /**< GNSS signal identifier */ u8 valid; /**< bit-field indicating validity of the values, LSB @@ -1060,7 +1066,7 @@ typedef struct SBP_ATTR_PACKED { * Please see ICD-GPS-200 (30.3.3.3.1.1) for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t t_op; /**< Data Predict Time of Week */ sbp_gnss_signal_t sid; /**< GNSS signal identifier */ u8 valid; /**< bit-field indicating validity of the values, LSB @@ -1071,7 +1077,7 @@ typedef struct SBP_ATTR_PACKED { s16 isc_l2c; } msg_group_delay_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t sid; /**< GNSS signal identifier */ gps_time_sec_t toa; /**< Reference time of almanac */ double ura; /**< User Range Accuracy [m] */ @@ -1098,7 +1104,7 @@ typedef struct SBP_ATTR_PACKED { and suitable for navigation. */ } almanac_common_content_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gnss_signal_dep_t sid; /**< GNSS signal identifier */ gps_time_sec_t toa; /**< Reference time of almanac */ double ura; /**< User Range Accuracy [m] */ @@ -1130,7 +1136,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { almanac_common_content_dep_t common; /**< Values common for all almanac types */ double m0; /**< Mean anomaly at reference time [rad] */ @@ -1155,7 +1161,7 @@ typedef struct SBP_ATTR_PACKED { * GPS-200, Chapter 20.3.3.5.1.2 Almanac Data) for more details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { almanac_common_content_t common; /**< Values common for all almanac types */ double m0; /**< Mean anomaly at reference time [rad] */ @@ -1177,7 +1183,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { almanac_common_content_dep_t common; /**< Values common for all almanac types */ double lambda_na; /**< Longitude of the first ascending node of the @@ -1200,7 +1206,7 @@ typedef struct SBP_ATTR_PACKED { * almanac" for details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { almanac_common_content_t common; /**< Values common for all almanac types */ double lambda_na; /**< Longitude of the first ascending node of the @@ -1222,7 +1228,7 @@ typedef struct SBP_ATTR_PACKED { * of different manufacturers). */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 mask; /**< GLONASS FDMA signals mask [boolean] */ s16 l1ca_bias; /**< GLONASS L1 C/A Code-Phase Bias [m * 0.02] */ s16 l1p_bias; /**< GLONASS L1 P Code-Phase Bias [m * 0.02] */ @@ -1235,7 +1241,7 @@ typedef struct SBP_ATTR_PACKED { * Satellite azimuth and elevation. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t sid; /**< GNSS signal identifier */ u8 az; /**< Azimuth angle (range 0..179) [deg * 2] */ s8 el; /**< Elevation angle (range -90..90) [deg] */ @@ -1247,7 +1253,7 @@ typedef struct SBP_ATTR_PACKED { * does have ephemeris or almanac for. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sv_az_el_t azel[0]; /**< Azimuth and elevation per satellite */ } msg_sv_az_el_t; @@ -1256,7 +1262,7 @@ typedef struct SBP_ATTR_PACKED { * The OSR message contains network corrections in an observation-like format. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { observation_header_t header; /**< Header of a GPS observation message */ packed_osr_content_t obs[0]; /**< Network correction for a satellite signal. */ diff --git a/c/include/libsbp/legacy/orientation.h b/c/include/libsbp/legacy/orientation.h index b7f8550a9d..19573dceac 100644 --- a/c/include/libsbp/legacy/orientation.h +++ b/c/include/libsbp/legacy/orientation.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -37,7 +43,7 @@ SBP_PACK_START * that time-matched RTK mode is used when the base station is moving. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u32 heading; /**< Heading [mdeg] */ u8 n_sats; /**< Number of satellites used in solution */ @@ -54,7 +60,7 @@ typedef struct SBP_ATTR_PACKED { * Duro. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 w; /**< Real component [2^-31] */ s32 x; /**< 1st imaginary component [2^-31] */ @@ -77,7 +83,7 @@ typedef struct SBP_ATTR_PACKED { * or Duro. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 roll; /**< rotation about the forward axis of the vehicle [microdegrees] */ @@ -104,7 +110,7 @@ typedef struct SBP_ATTR_PACKED { * Swift Products and is not produced by Piksi Multi or Duro. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ s32 x; /**< angular rate about x axis [microdegrees/s] */ s32 y; /**< angular rate about y axis [microdegrees/s] */ diff --git a/c/include/libsbp/legacy/piksi.h b/c/include/libsbp/legacy/piksi.h index af7b0adaa3..fbb947bf07 100644 --- a/c/include/libsbp/legacy/piksi.h +++ b/c/include/libsbp/legacy/piksi.h @@ -27,6 +27,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include @@ -49,7 +55,7 @@ SBP_PACK_START * This message from the host resets the Piksi back into the bootloader. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 flags; /**< Reset flags */ } msg_reset_t; @@ -78,7 +84,7 @@ typedef struct SBP_ATTR_PACKED { * Resolution (IAR) process. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 filter; /**< Filter flags */ } msg_reset_filters_t; @@ -94,7 +100,7 @@ typedef struct SBP_ATTR_PACKED { * percentage values must be normalized. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { char name[20]; /**< Thread name (NULL terminated) */ u16 cpu; /**< Percentage cpu use for this thread. Values range from 0 - 1000 and needs to be renormalized to 100 */ @@ -107,7 +113,7 @@ typedef struct SBP_ATTR_PACKED { * channel. The reported percentage values must be normalized. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { float tx_throughput; /**< UART transmit throughput [kB/s] */ float rx_throughput; /**< UART receive throughput [kB/s] */ u16 crc_error_count; /**< UART CRC error count */ @@ -127,7 +133,7 @@ typedef struct SBP_ATTR_PACKED { * Long periods can cause momentary RTK solution outages. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s32 avg; /**< Average period [ms] */ s32 pmin; /**< Minimum period [ms] */ s32 pmax; /**< Maximum period [ms] */ @@ -142,7 +148,7 @@ typedef struct SBP_ATTR_PACKED { * measurement of the end-to-end communication latency in the system. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s32 avg; /**< Average latency [ms] */ s32 lmin; /**< Minimum latency [ms] */ s32 lmax; /**< Maximum latency [ms] */ @@ -161,7 +167,7 @@ typedef struct SBP_ATTR_PACKED { * likelihood of transmission. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { uart_channel_t uart_a; /**< State of UART A */ uart_channel_t uart_b; /**< State of UART B */ uart_channel_t uart_ftdi; /**< State of UART FTDI (USB logger) */ @@ -174,7 +180,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { uart_channel_t uart_a; /**< State of UART A */ uart_channel_t uart_b; /**< State of UART B */ uart_channel_t uart_ftdi; /**< State of UART FTDI (USB logger) */ @@ -188,7 +194,7 @@ typedef struct SBP_ATTR_PACKED { * carrier-phase measurements from satellite observations. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 num_hyps; /**< Number of integer ambiguity hypotheses remaining */ } msg_iar_state_t; @@ -198,7 +204,7 @@ typedef struct SBP_ATTR_PACKED { * being used in various Piksi subsystems. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 mask; /**< Mask of systems that should ignore this satellite. */ sbp_gnss_signal_t sid; /**< GNSS signal for which the mask is applied */ } msg_mask_satellite_t; @@ -208,7 +214,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 mask; /**< Mask of systems that should ignore this satellite. */ gnss_signal_dep_t sid; /**< GNSS signal for which the mask is applied */ } msg_mask_satellite_dep_t; @@ -220,7 +226,7 @@ typedef struct SBP_ATTR_PACKED { * available. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s16 dev_vin; /**< Device V_in [V / 1000] */ s16 cpu_vint; /**< Processor V_int [V / 1000] */ s16 cpu_vaux; /**< Processor V_aux [V / 1000] */ @@ -235,7 +241,7 @@ typedef struct SBP_ATTR_PACKED { * messages, and the exit code will be returned with MSG_COMMAND_RESP. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Sequence number */ char command[0]; /**< Command line to execute */ } msg_command_req_t; @@ -246,7 +252,7 @@ typedef struct SBP_ATTR_PACKED { * return code of zero indicates success. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Sequence number */ s32 code; /**< Exit code */ } msg_command_resp_t; @@ -258,7 +264,7 @@ typedef struct SBP_ATTR_PACKED { * the correct command. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 sequence; /**< Sequence number */ char line[0]; /**< Line of standard output or standard error */ } msg_command_output_t; @@ -275,7 +281,7 @@ typedef struct SBP_ATTR_PACKED { * output of ifaddrs struct returned by getifaddrs in c. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 ipv4_address[4]; /**< IPv4 address (all zero when unavailable) */ u8 ipv4_mask_size; /**< IPv4 netmask CIDR notation */ u8 ipv6_address[16]; /**< IPv6 address (all zero when unavailable) */ @@ -295,7 +301,7 @@ typedef struct SBP_ATTR_PACKED { * necessarily be populated with a value. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u64 duration; /**< Duration over which the measurement was collected [ms] */ u64 total_bytes; /**< Number of bytes handled in total within period */ @@ -309,7 +315,7 @@ typedef struct SBP_ATTR_PACKED { * The bandwidth usage, a list of usage by interface. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { network_usage_t interfaces[0]; /**< Usage measurement array */ } msg_network_bandwidth_usage_t; @@ -320,7 +326,7 @@ typedef struct SBP_ATTR_PACKED { * parameters. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s8 signal_strength; /**< Received cell signal strength in dBm, zero translates to unknown [dBm] */ float signal_error_rate; /**< BER as reported by the modem, zero @@ -333,7 +339,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 channel_tag; /**< Channel ID */ gps_time_dep_t t; /**< Receiver time of this observation */ float freq_ref; /**< Reference frequency of this packet [MHz] */ @@ -350,7 +356,7 @@ typedef struct SBP_ATTR_PACKED { * Spectrum analyzer packet. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 channel_tag; /**< Channel ID */ sbp_gps_time_t t; /**< Receiver time of this observation */ float freq_ref; /**< Reference frequency of this packet [MHz] */ @@ -373,7 +379,7 @@ typedef struct SBP_ATTR_PACKED { * error for the particular gain stage as reported by the frontend. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s8 rf_gain[8]; /**< RF gain for each frontend channel [percent] */ s8 if_gain[8]; /**< Intermediate frequency gain for each frontend channel [percent] */ diff --git a/c/include/libsbp/legacy/sbas.h b/c/include/libsbp/legacy/sbas.h index 3acb76a65c..09768e6da5 100644 --- a/c/include/libsbp/legacy/sbas.h +++ b/c/include/libsbp/legacy/sbas.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include @@ -36,7 +42,7 @@ SBP_PACK_START * parity of the data block and sends only blocks that pass the check. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t sid; /**< GNSS signal identifier. */ u32 tow; /**< GPS time-of-week at the start of the data block. [ms] */ u8 message_type; /**< SBAS message type (0-63) */ diff --git a/c/include/libsbp/legacy/settings.h b/c/include/libsbp/legacy/settings.h index f5e979c0a6..6534104aa9 100644 --- a/c/include/libsbp/legacy/settings.h +++ b/c/include/libsbp/legacy/settings.h @@ -49,6 +49,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -70,7 +76,7 @@ SBP_PACK_START * "solution\0soln_freq\010\0". */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { char setting[0]; /**< A NULL-terminated and NULL-delimited string with contents "SECTION_SETTING\0SETTING\0VALUE\0" */ } msg_settings_write_t; @@ -85,7 +91,7 @@ typedef struct SBP_ATTR_PACKED { * that could be sent from device is "solution\0soln_freq\010\0". */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 status; /**< Write status */ char setting[0]; /**< A NULL-terminated and delimited string with contents "SECTION_SETTING\0SETTING\0VALUE\0" */ @@ -103,7 +109,7 @@ typedef struct SBP_ATTR_PACKED { * 0x00A5). */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { char setting[0]; /**< A NULL-terminated and NULL-delimited string with contents "SECTION_SETTING\0SETTING\0" */ } msg_settings_read_req_t; @@ -118,7 +124,7 @@ typedef struct SBP_ATTR_PACKED { * that could be sent from device is "solution\0soln_freq\010\0". */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { char setting[0]; /**< A NULL-terminated and NULL-delimited string with contents "SECTION_SETTING\0SETTING\0VALUE\0" */ } msg_settings_read_resp_t; @@ -129,7 +135,7 @@ typedef struct SBP_ATTR_PACKED { * will respond to this message with a "MSG_SETTINGS_READ_BY_INDEX_RESP". */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 index; /**< An index into the device settings, with values ranging from 0 to length(settings). */ } msg_settings_read_by_index_req_t; @@ -148,7 +154,7 @@ typedef struct SBP_ATTR_PACKED { * "simulator\0enabled\0True\0enum:True,False\0". */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 index; /**< An index into the device settings, with values ranging from 0 to length(settings) */ char setting[0]; /**< A NULL-terminated and delimited string with contents @@ -167,7 +173,7 @@ typedef struct SBP_ATTR_PACKED { * setting to set the initial value. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { char setting[0]; /**< A NULL-terminated and delimited string with contents "SECTION_SETTING\0SETTING\0VALUE". */ } msg_settings_register_t; @@ -180,7 +186,7 @@ typedef struct SBP_ATTR_PACKED { * a different value. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 status; /**< Register status */ char setting[0]; /**< A NULL-terminated and delimited string with contents "SECTION_SETTING\0SETTING\0VALUE". The meaning of diff --git a/c/include/libsbp/legacy/signing.h b/c/include/libsbp/legacy/signing.h index d110f0e457..daf6809157 100644 --- a/c/include/libsbp/legacy/signing.h +++ b/c/include/libsbp/legacy/signing.h @@ -25,11 +25,17 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 year; /**< Year [year] */ u8 month; /**< Month (range 1 .. 12) [months] */ u8 day; /**< days in the month (range 1-31) [day] */ @@ -39,7 +45,7 @@ typedef struct SBP_ATTR_PACKED { u32 ns; /**< nanoseconds of second (range 0-999999999) [nanoseconds] */ } utc_time_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 len; /**< Number of bytes to use of the signature field. The DER encoded signature has a maximum size of 72 bytes but can vary between 70 and 72 bytes in length. */ @@ -52,7 +58,7 @@ typedef struct SBP_ATTR_PACKED { * A DER encoded x.509 ECDSA-256 certificate (using curve secp256r1). */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 n_msg; /**< Total number messages that make up the certificate. The first nibble (mask 0xF0 or left shifted by 4 bits) is the size of the @@ -64,7 +70,7 @@ typedef struct SBP_ATTR_PACKED { u8 certificate_bytes[0]; /**< DER encoded x.509 ECDSA certificate bytes */ } msg_ecdsa_certificate_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 root_certificate[20]; /**< SHA-1 fingerprint of the root certificate */ u8 intermediate_certificate[20]; /**< SHA-1 fingerprint of the intermediate @@ -104,7 +110,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 root_certificate[20]; /**< SHA-1 fingerprint of the root certificate */ u8 intermediate_certificate[20]; /**< SHA-1 fingerprint of the intermediate @@ -134,7 +140,7 @@ typedef struct SBP_ATTR_PACKED { * An ECDSA-256 signature using SHA-256 as the message digest algorithm. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Describes the format of the `signed\_messages` field below. */ u8 stream_counter; /**< Signature message counter. Zero indexed and @@ -169,7 +175,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Describes the format of the `signed\_messages` field below. */ u8 stream_counter; /**< Signature message counter. Zero indexed and @@ -208,7 +214,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Describes the format of the `signed\_messages` field below. */ u8 stream_counter; /**< Signature message counter. Zero indexed and @@ -243,7 +249,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 n_msg; /**< Total number messages that make up the certificate. First nibble is the size of the sequence (n), second nibble is the zero- @@ -258,7 +264,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 signature[64]; /**< ED25519 signature for messages. */ u8 fingerprint[20]; /**< SHA-1 fingerprint of the associated certificate. */ u32 signed_messages[0]; /**< CRCs of signed messages. */ @@ -269,7 +275,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 stream_counter; /**< Signature message counter. Zero indexed and incremented with each signature message. The counter will not increment if this message was diff --git a/c/include/libsbp/legacy/solution_meta.h b/c/include/libsbp/legacy/solution_meta.h index 76304fc310..43986fc143 100644 --- a/c/include/libsbp/legacy/solution_meta.h +++ b/c/include/libsbp/legacy/solution_meta.h @@ -26,6 +26,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -41,7 +47,7 @@ SBP_PACK_START * this section. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 sensor_type; /**< The type of sensor */ u8 flags; /**< Refer to each InputType description [(XX)InputType] */ } solution_input_type_t; @@ -51,7 +57,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 pdop; /**< Position Dilution of Precision as per last available DOPS from PVT engine (0xFFFF indicates invalid) [0.01] */ @@ -102,7 +108,7 @@ typedef struct SBP_ATTR_PACKED { * solution and its tow is not a TOM. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS time of week rounded to the nearest millisecond [ms] */ u16 pdop; /**< Position Dilution of Precision as per last @@ -138,7 +144,7 @@ typedef struct SBP_ATTR_PACKED { * through sol_in[N].flags in a MSG_SOLN_META. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< flags that store all relevant info specific to this sensor type. */ } gnss_input_type_t; @@ -151,7 +157,7 @@ typedef struct SBP_ATTR_PACKED { * through sol_in[N].flags in a MSG_SOLN_META. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Instrument time, grade, and architecture for a sensor. */ } imu_input_type_t; @@ -163,7 +169,7 @@ typedef struct SBP_ATTR_PACKED { * Accessible through sol_in[N].flags in a MSG_SOLN_META. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Instrument ODO rate, grade, and quality. */ } odo_input_type_t; diff --git a/c/include/libsbp/legacy/ssr.h b/c/include/libsbp/legacy/ssr.h index 7660374ec6..9fb2923ae6 100644 --- a/c/include/libsbp/legacy/ssr.h +++ b/c/include/libsbp/legacy/ssr.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include @@ -36,7 +42,7 @@ SBP_PACK_START * RTCMv3 MT 1059 / 1065. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 code; /**< Signal encoded following RTCM specifications (DF380, DF381, DF382 and DF467). */ s16 value; /**< Code bias value [0.01 m] */ @@ -47,7 +53,7 @@ typedef struct SBP_ATTR_PACKED { * Phase biases are to be added to carrier phase measurements. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 code; /**< Signal encoded following RTCM specifications (DF380, DF381, DF382 and DF467) */ @@ -67,7 +73,7 @@ typedef struct SBP_ATTR_PACKED { * multiple SBP messages into a sequence. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 tile_set_id; /**< Unique identifier of the tile set this tile belongs to. */ u16 tile_id; /**< Unique identifier of this tile in the tile set. */ @@ -86,7 +92,7 @@ typedef struct SBP_ATTR_PACKED { * supported in SBP, so each grid point will be identified by the index. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 tile_set_id; /**< Unique identifier of the tile set this tile belongs to. */ u16 tile_id; /**< Unique identifier of this tile in the @@ -109,7 +115,7 @@ typedef struct SBP_ATTR_PACKED { * STEC polynomial for the given satellite. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sv_id_t sv_id; /**< Unique space vehicle identifier */ u8 stec_quality_indicator; /**< Quality of the STEC data. Encoded following RTCM DF389 specification but in @@ -125,7 +131,7 @@ typedef struct SBP_ATTR_PACKED { * Troposphere vertical delays at the grid point. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s16 hydro; /**< Hydrostatic vertical delay [4 mm (add 2.3 m to get actual vertical hydro delay)] */ s8 wet; /**< Wet vertical delay [4 mm (add 0.252 m to get actual vertical wet @@ -138,7 +144,7 @@ typedef struct SBP_ATTR_PACKED { * point. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s16 hydro; /**< Hydrostatic vertical delay. Add 2.3 m to get actual value. [4 mm] */ s8 wet; /**< Wet vertical delay. Add 0.252 m to get actual value. [4 mm] */ @@ -151,7 +157,7 @@ typedef struct SBP_ATTR_PACKED { * STEC residual for the given satellite at the grid point. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sv_id_t sv_id; /**< space vehicle identifier */ s16 residual; /**< STEC residual [0.04 TECU] */ } stec_residual_no_std_t; @@ -162,7 +168,7 @@ typedef struct SBP_ATTR_PACKED { * grid point. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sv_id_t sv_id; /**< space vehicle identifier */ s16 residual; /**< STEC residual [0.04 TECU] */ u8 stddev; /**< Modified DF389. class 3 MSB, value 5 LSB. stddev = @@ -176,7 +182,7 @@ typedef struct SBP_ATTR_PACKED { * RTCM message types. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ sbp_gnss_signal_t sid; /**< GNSS signal identifier (16 bit) */ @@ -208,7 +214,7 @@ typedef struct SBP_ATTR_PACKED { * the 1059 / 1065 RTCM message types. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ sbp_gnss_signal_t sid; /**< GNSS signal identifier (16 bit) */ @@ -230,7 +236,7 @@ typedef struct SBP_ATTR_PACKED { * RTCM message types. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ sbp_gnss_signal_t sid; /**< GNSS signal identifier (16 bit) */ @@ -254,7 +260,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { stec_header_t header; /**< Header of a STEC polynomial coefficient message. */ stec_sat_element_t stec_sat_list[0]; /**< Array of STEC polynomial @@ -262,7 +268,7 @@ typedef struct SBP_ATTR_PACKED { vehicle. */ } msg_ssr_stec_correction_dep_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the bound */ u8 num_msgs; /**< Number of messages in the dataset */ u8 seq_num; /**< Position of this message in the dataset */ @@ -271,7 +277,7 @@ typedef struct SBP_ATTR_PACKED { u8 sol_id; /**< SSR Solution ID. */ } bounds_header_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { bounds_header_t header; /**< Header of a STEC correction with bounds message. */ u8 ssr_iod_atmo; /**< IOD of the SSR atmospheric correction */ @@ -290,7 +296,7 @@ typedef struct SBP_ATTR_PACKED { * It is typically equivalent to the QZSS CLAS Sub Type 9 messages. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gridded_correction_header_t header; /**< Header of a gridded correction @@ -311,7 +317,7 @@ typedef struct SBP_ATTR_PACKED { * STEC polynomial and bounds for the given satellite. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { stec_residual_t stec_residual; /**< STEC residuals (mean, stddev) */ u8 stec_bound_mu; /**< Error Bound Mean. See Note 1. [m] */ u8 stec_bound_sig; /**< Error Bound StDev. See Note 1. [m] */ @@ -326,7 +332,7 @@ typedef struct SBP_ATTR_PACKED { * mean=2+0.1(i-200); i>230, mean=5+0.5(i-230). */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { bounds_header_t header; /**< Header of a bounds message. */ u8 ssr_iod_atmo; /**< IOD of the correction. */ u16 tile_set_id; /**< Set this tile belongs to. */ @@ -358,7 +364,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 tile_set_id; /**< Unique identifier of the tile set this tile belongs to. */ u16 tile_id; /**< Unique identifier of this tile in the tile set. @@ -426,7 +432,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 ssr_sol_id; /**< SSR Solution ID. */ u16 tile_set_id; /**< Unique identifier of the tile set this tile belongs to. */ @@ -502,7 +508,7 @@ typedef struct SBP_ATTR_PACKED { * correction points, not lists of points. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ u8 update_interval; /**< Update interval between consecutive corrections. @@ -574,7 +580,7 @@ typedef struct SBP_ATTR_PACKED { * signal on a satellite. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t sid; /**< GNSS signal identifier (16 bit) */ u8 sat_info; /**< Additional satellite information */ u16 svn; /**< Satellite Code, as defined by IGS. Typically the space @@ -593,11 +599,11 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { satellite_apc_t apc[0]; /**< Satellite antenna phase center corrections */ } msg_ssr_satellite_apc_dep_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ u8 update_interval; /**< Update interval between consecutive corrections. @@ -615,7 +621,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ sbp_gnss_signal_t sid; /**< GNSS signal identifier (16 bit) */ @@ -646,7 +652,7 @@ typedef struct SBP_ATTR_PACKED { * multiple SBP messages into a sequence. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ u8 num_msgs; /**< Number of messages in the dataset */ @@ -662,7 +668,7 @@ typedef struct SBP_ATTR_PACKED { * supported in SBP, so each grid point will be identified by the index. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gps_time_sec_t time; /**< GNSS reference time of the correction */ u16 num_msgs; /**< Number of messages in the dataset */ @@ -682,7 +688,7 @@ typedef struct SBP_ATTR_PACKED { * RLE encoded validity list. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 region_size_inverse; /**< region_size (deg) = 10 / region_size_inverse 0 is an invalid value. [inverse degrees] */ u16 area_width; /**< grid height (deg) = grid width (deg) = @@ -701,7 +707,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { stec_header_dep_a_t header; /**< Header of a STEC message */ stec_sat_element_t stec_sat_list[0]; /**< Array of STEC information for each space vehicle */ @@ -712,7 +718,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gridded_correction_header_dep_a_t header; /**< Header of a Gridded Correction @@ -733,7 +739,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { gridded_correction_header_dep_a_t header; /**< Header of a Gridded Correction @@ -754,7 +760,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { grid_definition_header_dep_a_t header; /**< Header of a Gridded Correction message */ u8 rle_list[0]; /**< Run Length Encode list of quadrants that contain valid @@ -769,7 +775,7 @@ typedef struct SBP_ATTR_PACKED { * Orbit and clock bound. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 sat_id; /**< Satellite ID. Similar to either RTCM DF068 (GPS), DF252 (Galileo), or DF488 (BDS) depending on the constellation. */ @@ -794,7 +800,7 @@ typedef struct SBP_ATTR_PACKED { * i>230, std=5+0.5(i-230). */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { bounds_header_t header; /**< Header of a bounds message. */ u8 ssr_iod; /**< IOD of the SSR bound. */ u8 const_id; /**< Constellation ID to which the SVs belong. */ @@ -803,7 +809,7 @@ typedef struct SBP_ATTR_PACKED { Satellite */ } msg_ssr_orbit_clock_bounds_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 sat_id; /**< Satellite ID. Similar to either RTCM DF068 (GPS), DF252 (Galileo), or DF488 (BDS) depending on the constellation. */ @@ -819,7 +825,7 @@ typedef struct SBP_ATTR_PACKED { 0-1.275 m [0.005 m] */ } code_phase_biases_sat_sig_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { bounds_header_t header; /**< Header of a bounds message. */ u8 ssr_iod; /**< IOD of the SSR bound. */ u8 const_id; /**< Constellation ID to which the SVs belong. */ @@ -835,7 +841,7 @@ typedef struct SBP_ATTR_PACKED { * Orbit and clock bound degradation. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 orb_radial_bound_mu_dot; /**< Orbit Bound Mean Radial First derivative. Range: 0-0.255 m/s [0.001 m/s] */ u8 orb_along_bound_mu_dot; /**< Orbit Bound Mean Along-Track First @@ -857,7 +863,7 @@ typedef struct SBP_ATTR_PACKED { derivative. Range: 0-0.255 m/s [0.001 m/s] */ } orbit_clock_bound_degradation_t; -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { bounds_header_t header; /**< Header of a bounds message. */ u8 ssr_iod; /**< IOD of the SSR bound degradation diff --git a/c/include/libsbp/legacy/system.h b/c/include/libsbp/legacy/system.h index 3c0fca5c82..fa098a11df 100644 --- a/c/include/libsbp/legacy/system.h +++ b/c/include/libsbp/legacy/system.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -36,7 +42,7 @@ SBP_PACK_START * ready to respond to commands or configuration requests. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 cause; /**< Cause of startup */ u8 startup_type; /**< Startup type */ u16 reserved; /**< Reserved */ @@ -49,7 +55,7 @@ typedef struct SBP_ATTR_PACKED { * corrections packet. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 flags; /**< Status flags */ u16 latency; /**< Latency of observation receipt [deci-seconds] */ u8 num_signals; /**< Number of signals from base station */ @@ -69,7 +75,7 @@ typedef struct SBP_ATTR_PACKED { * should be inspected. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 flags; /**< Status flags */ } msg_heartbeat_t; @@ -79,7 +85,7 @@ typedef struct SBP_ATTR_PACKED { * is reported as initializing, the specific state should be ignored. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 component; /**< Identity of reporting subsystem */ u8 generic; /**< Generic form status report */ u8 specific; /**< Subsystem specific status code */ @@ -97,7 +103,7 @@ typedef struct SBP_ATTR_PACKED { * Refer to product documentation for details. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 reporting_system; /**< Identity of reporting system */ u16 sbp_version; /**< SBP protocol version */ u32 sequence; /**< Increments on each status report sent */ @@ -113,7 +119,7 @@ typedef struct SBP_ATTR_PACKED { * specific state should be ignored. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 uptime; /**< Milliseconds since system startup */ sub_system_report_t report; } status_journal_item_t; @@ -125,7 +131,7 @@ typedef struct SBP_ATTR_PACKED { * purposes. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 reporting_system; /**< Identity of reporting system */ u16 sbp_version; /**< SBP protocol version */ u32 total_status_reports; /**< Total number of status reports sent since @@ -143,7 +149,7 @@ typedef struct SBP_ATTR_PACKED { * initialization of the inertial navigation system. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 flags; /**< Status flags */ } msg_ins_status_t; @@ -154,7 +160,7 @@ typedef struct SBP_ATTR_PACKED { * It is intended to be a low rate message for status purposes. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 id; /**< Index representing the type of telemetry in use. It is implementation defined. */ char telemetry[0]; /**< Comma separated list of values as defined by the @@ -168,7 +174,7 @@ typedef struct SBP_ATTR_PACKED { * lower rate than the MSG_CSAC_TELEMETRY. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 id; /**< Index representing the type of telemetry in use. It is implementation defined. */ char telemetry_labels[0]; /**< Comma separated list of telemetry field @@ -182,7 +188,7 @@ typedef struct SBP_ATTR_PACKED { * as new types of measurements are being added. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< GPS Time of Week [ms] */ u8 gnsspos; /**< GNSS position update status flags */ u8 gnssvel; /**< GNSS velocity update status flags */ @@ -199,7 +205,7 @@ typedef struct SBP_ATTR_PACKED { * messages) to GNSS time for the sender producing this message. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s16 weeks; /**< Weeks portion of the time offset [weeks] */ s32 milliseconds; /**< Milliseconds portion of the time offset [ms] */ s16 microseconds; /**< Microseconds portion of the time offset [microseconds] @@ -222,7 +228,7 @@ typedef struct SBP_ATTR_PACKED { * sender ID of the respective sensor data. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u64 time; /**< Local time in microseconds [microseconds] */ u8 flags; /**< Status flags */ } msg_pps_time_t; @@ -235,7 +241,7 @@ typedef struct SBP_ATTR_PACKED { * anytime a sensor update is being processed. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 time; /**< Update timestamp in milliseconds. [milliseconds] */ u8 sensor_type; /**< Sensor type */ u16 sensor_id; /**< Sensor identifier */ @@ -253,7 +259,7 @@ typedef struct SBP_ATTR_PACKED { * Group. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 group_id; /**< Id of the Msgs Group, 0 is Unknown, 1 is Bestpos, 2 is Gnss */ u8 flags; /**< Status flags (reserved) */ diff --git a/c/include/libsbp/legacy/telemetry.h b/c/include/libsbp/legacy/telemetry.h index e1552bd9c3..224dd0cbd6 100644 --- a/c/include/libsbp/legacy/telemetry.h +++ b/c/include/libsbp/legacy/telemetry.h @@ -27,12 +27,18 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include SBP_PACK_START -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 az; /**< Azimuth angle (range 0..179) [deg * 2] */ s8 el; /**< Elevation angle (range -90..90) [deg] */ u8 availability_flags; /**< Observation availability at filter update */ @@ -53,7 +59,7 @@ typedef struct SBP_ATTR_PACKED { * Starling. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u16 wn; /**< GPS week number [weeks] */ u32 tow; /**< GPS Time of Week [ms] */ u8 n_obs; /**< Total number of observations. First nibble is the diff --git a/c/include/libsbp/legacy/tracking.h b/c/include/libsbp/legacy/tracking.h index 8dacf3cada..1f9e34483a 100644 --- a/c/include/libsbp/legacy/tracking.h +++ b/c/include/libsbp/legacy/tracking.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include #include @@ -36,7 +42,7 @@ SBP_PACK_START * tracking channel useful for debugging issues. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u64 recv_time; /**< Receiver clock time. [ns] */ sbp_gps_time_t tot; /**< Time of transmission of signal from satellite. TOW only valid when TOW @@ -82,7 +88,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u64 recv_time; /**< Receiver clock time. [ns] */ gps_time_dep_t tot; /**< Time of transmission of signal from satellite. TOW only valid when TOW @@ -129,7 +135,7 @@ typedef struct SBP_ATTR_PACKED { * power. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t sid; /**< GNSS signal being tracked */ u8 fcn; /**< Frequency channel number (GLONASS only) */ u8 cn0; /**< Carrier-to-Noise density. Zero implies invalid cn0. [dB Hz / 4] @@ -143,7 +149,7 @@ typedef struct SBP_ATTR_PACKED { * tracked satellites. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { tracking_channel_state_t states[0]; /**< Signal tracking channel state */ } msg_tracking_state_t; @@ -154,7 +160,7 @@ typedef struct SBP_ATTR_PACKED { * FCN as 100 + FCN where FCN is in [-7, +6] or the Slot ID (from 1 to 28). */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { sbp_gnss_signal_t mesid; /**< Measurement Engine GNSS signal being tracked (carries either Glonass FCN or SLOT) */ @@ -169,7 +175,7 @@ typedef struct SBP_ATTR_PACKED { * tracked satellites. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { measurement_state_t states[0]; /**< ME signal tracking channel state */ } msg_measurement_state_t; @@ -178,7 +184,7 @@ typedef struct SBP_ATTR_PACKED { * Structure containing in-phase and quadrature correlation components. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s16 I; /**< In-phase correlation */ s16 Q; /**< Quadrature correlation */ } tracking_channel_correlation_t; @@ -189,7 +195,7 @@ typedef struct SBP_ATTR_PACKED { * interval. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 channel; /**< Tracking channel of origin */ sbp_gnss_signal_t sid; /**< GNSS signal identifier */ tracking_channel_correlation_t corrs[3]; /**< Early, Prompt and Late @@ -201,7 +207,7 @@ typedef struct SBP_ATTR_PACKED { * Structure containing in-phase and quadrature correlation components. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { s32 I; /**< In-phase correlation */ s32 Q; /**< Quadrature correlation */ } tracking_channel_correlation_dep_t; @@ -211,7 +217,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 channel; /**< Tracking channel of origin */ sbp_gnss_signal_t sid; /**< GNSS signal identifier */ tracking_channel_correlation_dep_t corrs[3]; /**< Early, Prompt and Late @@ -223,7 +229,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 channel; /**< Tracking channel of origin */ gnss_signal_dep_t sid; /**< GNSS signal identifier */ tracking_channel_correlation_dep_t corrs[3]; /**< Early, Prompt and Late @@ -235,7 +241,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 state; /**< Status of tracking channel */ u8 prn; /**< PRN-1 being tracked */ float cn0; /**< Carrier-to-noise density [dB Hz] */ @@ -246,7 +252,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { tracking_channel_state_dep_a_t states[0]; /**< Satellite tracking channel state */ } msg_tracking_state_dep_a_t; @@ -256,7 +262,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 state; /**< Status of tracking channel */ gnss_signal_dep_t sid; /**< GNSS signal being tracked */ float cn0; /**< Carrier-to-noise density [dB Hz] */ @@ -267,7 +273,7 @@ typedef struct SBP_ATTR_PACKED { * Deprecated. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { tracking_channel_state_dep_b_t states[0]; /**< Signal tracking channel state */ } msg_tracking_state_dep_b_t; diff --git a/c/include/libsbp/legacy/user.h b/c/include/libsbp/legacy/user.h index c2154c022a..ac33a5a50c 100644 --- a/c/include/libsbp/legacy/user.h +++ b/c/include/libsbp/legacy/user.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -35,7 +41,7 @@ SBP_PACK_START * length of 255 bytes per message. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u8 contents[0]; /**< User data payload */ } msg_user_data_t; diff --git a/c/include/libsbp/legacy/vehicle.h b/c/include/libsbp/legacy/vehicle.h index 229aa1e73a..c290bcdfd3 100644 --- a/c/include/libsbp/legacy/vehicle.h +++ b/c/include/libsbp/legacy/vehicle.h @@ -25,6 +25,12 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols " + "contained will " + "be removed in version 6. You should immediately switch over to the modern " + "libsbp API.") + #include SBP_PACK_START @@ -42,7 +48,7 @@ SBP_PACK_START * to zero after one week. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u32 tow; /**< Time field representing either milliseconds in the GPS Week or local CPU time from the producing system in milliseconds. See the tow_source flag for the exact @@ -66,7 +72,7 @@ typedef struct SBP_ATTR_PACKED { * GNSS. Local CPU time shall roll over to zero after one week. */ -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { u64 time; /**< Time field representing either microseconds since the last PPS, microseconds in the GPS Week or local CPU time from the producing system in microseconds. See the diff --git a/c/src/acquisition.c b/c/src/acquisition.c index b33e64fcf8..427b6b1478 100644 --- a/c/src/acquisition.c +++ b/c/src/acquisition.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include bool sbp_msg_acq_result_encode_internal(sbp_encode_ctx_t *ctx, @@ -91,8 +91,8 @@ s8 sbp_msg_acq_result_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ACQ_RESULT, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ACQ_RESULT, sender_id, + payload_len, payload, write); } int sbp_msg_acq_result_cmp(const sbp_msg_acq_result_t *a, @@ -197,8 +197,8 @@ s8 sbp_msg_acq_result_dep_c_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ACQ_RESULT_DEP_C, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ACQ_RESULT_DEP_C, sender_id, + payload_len, payload, write); } int sbp_msg_acq_result_dep_c_cmp(const sbp_msg_acq_result_dep_c_t *a, @@ -303,8 +303,8 @@ s8 sbp_msg_acq_result_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ACQ_RESULT_DEP_B, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ACQ_RESULT_DEP_B, sender_id, + payload_len, payload, write); } int sbp_msg_acq_result_dep_b_cmp(const sbp_msg_acq_result_dep_b_t *a, @@ -409,8 +409,8 @@ s8 sbp_msg_acq_result_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ACQ_RESULT_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ACQ_RESULT_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_acq_result_dep_a_cmp(const sbp_msg_acq_result_dep_a_t *a, @@ -862,8 +862,8 @@ s8 sbp_msg_acq_sv_profile_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ACQ_SV_PROFILE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ACQ_SV_PROFILE, sender_id, + payload_len, payload, write); } int sbp_msg_acq_sv_profile_cmp(const sbp_msg_acq_sv_profile_t *a, @@ -948,8 +948,8 @@ s8 sbp_msg_acq_sv_profile_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ACQ_SV_PROFILE_DEP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ACQ_SV_PROFILE_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_acq_sv_profile_dep_cmp(const sbp_msg_acq_sv_profile_dep_t *a, diff --git a/c/src/bootload.c b/c/src/bootload.c index d120c3348d..1c4acb4a22 100644 --- a/c/src/bootload.c +++ b/c/src/bootload.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include bool sbp_msg_bootloader_handshake_req_encode_internal( @@ -73,8 +73,8 @@ s8 sbp_msg_bootloader_handshake_req_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BOOTLOADER_HANDSHAKE_REQ, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BOOTLOADER_HANDSHAKE_REQ, + sender_id, payload_len, payload, write); } int sbp_msg_bootloader_handshake_req_cmp( @@ -249,8 +249,8 @@ s8 sbp_msg_bootloader_handshake_resp_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BOOTLOADER_HANDSHAKE_RESP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BOOTLOADER_HANDSHAKE_RESP, + sender_id, payload_len, payload, write); } int sbp_msg_bootloader_handshake_resp_cmp( @@ -328,8 +328,8 @@ s8 sbp_msg_bootloader_jump_to_app_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BOOTLOADER_JUMP_TO_APP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BOOTLOADER_JUMP_TO_APP, + sender_id, payload_len, payload, write); } int sbp_msg_bootloader_jump_to_app_cmp( @@ -400,8 +400,8 @@ s8 sbp_msg_nap_device_dna_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_NAP_DEVICE_DNA_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_NAP_DEVICE_DNA_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_nap_device_dna_req_cmp(const sbp_msg_nap_device_dna_req_t *a, @@ -474,8 +474,8 @@ s8 sbp_msg_nap_device_dna_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_NAP_DEVICE_DNA_RESP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_NAP_DEVICE_DNA_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_nap_device_dna_resp_cmp(const sbp_msg_nap_device_dna_resp_t *a, @@ -652,8 +652,8 @@ s8 sbp_msg_bootloader_handshake_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BOOTLOADER_HANDSHAKE_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BOOTLOADER_HANDSHAKE_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_bootloader_handshake_dep_a_cmp( diff --git a/c/src/ext_events.c b/c/src/ext_events.c index fc23da39eb..4aa438f3b6 100644 --- a/c/src/ext_events.c +++ b/c/src/ext_events.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include bool sbp_msg_ext_event_encode_internal(sbp_encode_ctx_t *ctx, @@ -97,8 +97,8 @@ s8 sbp_msg_ext_event_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EXT_EVENT, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_EXT_EVENT, sender_id, + payload_len, payload, write); } int sbp_msg_ext_event_cmp(const sbp_msg_ext_event_t *a, diff --git a/c/src/file_io.c b/c/src/file_io.c index d6daf6beb3..08ba0eca77 100644 --- a/c/src/file_io.c +++ b/c/src/file_io.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include void sbp_msg_fileio_read_req_filename_init(sbp_msg_fileio_read_req_t *msg) { @@ -194,8 +194,8 @@ s8 sbp_msg_fileio_read_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_READ_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_READ_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_read_req_cmp(const sbp_msg_fileio_read_req_t *a, @@ -297,8 +297,8 @@ s8 sbp_msg_fileio_read_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_READ_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_READ_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_read_resp_cmp(const sbp_msg_fileio_read_resp_t *a, @@ -490,8 +490,8 @@ s8 sbp_msg_fileio_read_dir_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_READ_DIR_REQ, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_READ_DIR_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_read_dir_req_cmp(const sbp_msg_fileio_read_dir_req_t *a, @@ -672,8 +672,8 @@ s8 sbp_msg_fileio_read_dir_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_READ_DIR_RESP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_READ_DIR_RESP, + sender_id, payload_len, payload, write); } int sbp_msg_fileio_read_dir_resp_cmp(const sbp_msg_fileio_read_dir_resp_t *a, @@ -850,8 +850,8 @@ s8 sbp_msg_fileio_remove_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_REMOVE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_REMOVE, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_remove_cmp(const sbp_msg_fileio_remove_t *a, @@ -1051,8 +1051,8 @@ s8 sbp_msg_fileio_write_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_WRITE_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_WRITE_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_write_req_cmp(const sbp_msg_fileio_write_req_t *a, @@ -1142,8 +1142,8 @@ s8 sbp_msg_fileio_write_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_WRITE_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_WRITE_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_write_resp_cmp(const sbp_msg_fileio_write_resp_t *a, @@ -1215,8 +1215,8 @@ s8 sbp_msg_fileio_config_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_CONFIG_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_CONFIG_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_config_req_cmp(const sbp_msg_fileio_config_req_t *a, @@ -1306,8 +1306,8 @@ s8 sbp_msg_fileio_config_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FILEIO_CONFIG_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FILEIO_CONFIG_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_fileio_config_resp_cmp(const sbp_msg_fileio_config_resp_t *a, diff --git a/c/src/flash.c b/c/src/flash.c index ab329a9ae5..fdabc64cf1 100644 --- a/c/src/flash.c +++ b/c/src/flash.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include bool sbp_msg_flash_program_encode_internal(sbp_encode_ctx_t *ctx, @@ -103,8 +103,8 @@ s8 sbp_msg_flash_program_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FLASH_PROGRAM, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FLASH_PROGRAM, sender_id, + payload_len, payload, write); } int sbp_msg_flash_program_cmp(const sbp_msg_flash_program_t *a, @@ -195,8 +195,8 @@ s8 sbp_msg_flash_done_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FLASH_DONE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FLASH_DONE, sender_id, + payload_len, payload, write); } int sbp_msg_flash_done_cmp(const sbp_msg_flash_done_t *a, @@ -283,8 +283,8 @@ s8 sbp_msg_flash_read_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FLASH_READ_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FLASH_READ_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_flash_read_req_cmp(const sbp_msg_flash_read_req_t *a, @@ -384,8 +384,8 @@ s8 sbp_msg_flash_read_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FLASH_READ_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FLASH_READ_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_flash_read_resp_cmp(const sbp_msg_flash_read_resp_t *a, @@ -474,8 +474,8 @@ s8 sbp_msg_flash_erase_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FLASH_ERASE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FLASH_ERASE, sender_id, + payload_len, payload, write); } int sbp_msg_flash_erase_cmp(const sbp_msg_flash_erase_t *a, @@ -552,8 +552,8 @@ s8 sbp_msg_stm_flash_lock_sector_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_STM_FLASH_LOCK_SECTOR, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_STM_FLASH_LOCK_SECTOR, + sender_id, payload_len, payload, write); } int sbp_msg_stm_flash_lock_sector_cmp( @@ -626,8 +626,8 @@ s8 sbp_msg_stm_flash_unlock_sector_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_STM_FLASH_UNLOCK_SECTOR, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_STM_FLASH_UNLOCK_SECTOR, + sender_id, payload_len, payload, write); } int sbp_msg_stm_flash_unlock_sector_cmp( @@ -698,8 +698,8 @@ s8 sbp_msg_stm_unique_id_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_STM_UNIQUE_ID_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_STM_UNIQUE_ID_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_stm_unique_id_req_cmp(const sbp_msg_stm_unique_id_req_t *a, @@ -772,8 +772,8 @@ s8 sbp_msg_stm_unique_id_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_STM_UNIQUE_ID_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_STM_UNIQUE_ID_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_stm_unique_id_resp_cmp(const sbp_msg_stm_unique_id_resp_t *a, @@ -852,8 +852,8 @@ s8 sbp_msg_m25_flash_write_status_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_M25_FLASH_WRITE_STATUS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_M25_FLASH_WRITE_STATUS, + sender_id, payload_len, payload, write); } int sbp_msg_m25_flash_write_status_cmp( diff --git a/c/src/gnss.c b/c/src/gnss.c index 39048d55e4..7ab62b659e 100644 --- a/c/src/gnss.c +++ b/c/src/gnss.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include bool sbp_v4_gnss_signal_encode_internal(sbp_encode_ctx_t *ctx, diff --git a/c/src/imu.c b/c/src/imu.c index 2775575c7c..d29d818dd2 100644 --- a/c/src/imu.c +++ b/c/src/imu.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include bool sbp_msg_imu_raw_encode_internal(sbp_encode_ctx_t *ctx, @@ -113,8 +113,8 @@ s8 sbp_msg_imu_raw_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_IMU_RAW, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_IMU_RAW, sender_id, + payload_len, payload, write); } int sbp_msg_imu_raw_cmp(const sbp_msg_imu_raw_t *a, @@ -229,8 +229,8 @@ s8 sbp_msg_imu_aux_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_IMU_AUX, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_IMU_AUX, sender_id, + payload_len, payload, write); } int sbp_msg_imu_aux_cmp(const sbp_msg_imu_aux_t *a, diff --git a/c/src/include/libsbp/internal/sbp_internal.h b/c/src/include/libsbp/internal/sbp_internal.h new file mode 100644 index 0000000000..1088d1d483 --- /dev/null +++ b/c/src/include/libsbp/internal/sbp_internal.h @@ -0,0 +1,18 @@ +#ifndef LIBSBP_INTERNAL_SBP_INTERNAL_H +#define LIBSBP_INTERNAL_SBP_INTERNAL_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +s8 sbp_internal_forward_payload(sbp_state_t *s, sbp_msg_type_t msg_type, + u16 sender_id, u8 len, u8 *payload, + sbp_write_fn_t write); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/c/src/integrity.c b/c/src/integrity.c index abe2e8ae87..23ab5c295d 100644 --- a/c/src/integrity.c +++ b/c/src/integrity.c @@ -10,11 +10,11 @@ #include #include #include +#include #include #include #include #include -#include #include bool sbp_integrity_ssr_header_encode_internal( @@ -282,8 +282,8 @@ s8 sbp_msg_ssr_flag_high_level_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_FLAG_HIGH_LEVEL, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_FLAG_HIGH_LEVEL, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_flag_high_level_cmp(const sbp_msg_ssr_flag_high_level_t *a, @@ -475,8 +475,8 @@ s8 sbp_msg_ssr_flag_satellites_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_FLAG_SATELLITES, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_FLAG_SATELLITES, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_flag_satellites_cmp(const sbp_msg_ssr_flag_satellites_t *a, @@ -607,8 +607,8 @@ s8 sbp_msg_ssr_flag_tropo_grid_points_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_FLAG_TROPO_GRID_POINTS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_FLAG_TROPO_GRID_POINTS, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_flag_tropo_grid_points_cmp( @@ -715,8 +715,8 @@ s8 sbp_msg_ssr_flag_iono_grid_points_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_FLAG_IONO_GRID_POINTS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_FLAG_IONO_GRID_POINTS, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_flag_iono_grid_points_cmp( @@ -823,8 +823,8 @@ s8 sbp_msg_ssr_flag_iono_tile_sat_los_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_FLAG_IONO_TILE_SAT_LOS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_FLAG_IONO_TILE_SAT_LOS, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_flag_iono_tile_sat_los_cmp( @@ -939,8 +939,9 @@ s8 sbp_msg_ssr_flag_iono_grid_point_sat_los_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS, - sender_id, payload_len, payload, write); + return sbp_internal_forward_payload(s, + SBP_MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_flag_iono_grid_point_sat_los_cmp( @@ -1059,8 +1060,8 @@ s8 sbp_msg_acknowledge_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ACKNOWLEDGE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ACKNOWLEDGE, sender_id, + payload_len, payload, write); } int sbp_msg_acknowledge_cmp(const sbp_msg_acknowledge_t *a, diff --git a/c/src/linux.c b/c/src/linux.c index 8a2b6a7125..6d050c2b42 100644 --- a/c/src/linux.c +++ b/c/src/linux.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -202,8 +202,8 @@ s8 sbp_msg_linux_cpu_state_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_CPU_STATE_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_CPU_STATE_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_linux_cpu_state_dep_a_cmp( @@ -426,8 +426,8 @@ s8 sbp_msg_linux_mem_state_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_MEM_STATE_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_MEM_STATE_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_linux_mem_state_dep_a_cmp( @@ -553,8 +553,8 @@ s8 sbp_msg_linux_sys_state_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_SYS_STATE_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_SYS_STATE_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_linux_sys_state_dep_a_cmp( @@ -784,8 +784,8 @@ s8 sbp_msg_linux_process_socket_counts_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_PROCESS_SOCKET_COUNTS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_PROCESS_SOCKET_COUNTS, + sender_id, payload_len, payload, write); } int sbp_msg_linux_process_socket_counts_cmp( @@ -1033,8 +1033,8 @@ s8 sbp_msg_linux_process_socket_queues_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_PROCESS_SOCKET_QUEUES, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_PROCESS_SOCKET_QUEUES, + sender_id, payload_len, payload, write); } int sbp_msg_linux_process_socket_queues_cmp( @@ -1177,8 +1177,8 @@ s8 sbp_msg_linux_socket_usage_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_SOCKET_USAGE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_SOCKET_USAGE, sender_id, + payload_len, payload, write); } int sbp_msg_linux_socket_usage_cmp(const sbp_msg_linux_socket_usage_t *a, @@ -1389,8 +1389,8 @@ s8 sbp_msg_linux_process_fd_count_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_PROCESS_FD_COUNT, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_PROCESS_FD_COUNT, + sender_id, payload_len, payload, write); } int sbp_msg_linux_process_fd_count_cmp( @@ -1587,8 +1587,8 @@ s8 sbp_msg_linux_process_fd_summary_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_PROCESS_FD_SUMMARY, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_PROCESS_FD_SUMMARY, + sender_id, payload_len, payload, write); } int sbp_msg_linux_process_fd_summary_cmp( @@ -1806,8 +1806,8 @@ s8 sbp_msg_linux_cpu_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_CPU_STATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_CPU_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_linux_cpu_state_cmp(const sbp_msg_linux_cpu_state_t *a, @@ -2051,8 +2051,8 @@ s8 sbp_msg_linux_mem_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_MEM_STATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_MEM_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_linux_mem_state_cmp(const sbp_msg_linux_mem_state_t *a, @@ -2197,8 +2197,8 @@ s8 sbp_msg_linux_sys_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LINUX_SYS_STATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_LINUX_SYS_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_linux_sys_state_cmp(const sbp_msg_linux_sys_state_t *a, diff --git a/c/src/logging.c b/c/src/logging.c index 5b06b22524..c0ca0edd3a 100644 --- a/c/src/logging.c +++ b/c/src/logging.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -152,8 +152,8 @@ s8 sbp_msg_log_send(sbp_state_t *s, u16 sender_id, const sbp_msg_log_t *msg, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_LOG, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_LOG, sender_id, payload_len, + payload, write); } int sbp_msg_log_cmp(const sbp_msg_log_t *a, const sbp_msg_log_t *b) { @@ -245,8 +245,8 @@ s8 sbp_msg_fwd_send(sbp_state_t *s, u16 sender_id, const sbp_msg_fwd_t *msg, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FWD, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_FWD, sender_id, payload_len, + payload, write); } int sbp_msg_fwd_cmp(const sbp_msg_fwd_t *a, const sbp_msg_fwd_t *b) { @@ -410,8 +410,8 @@ s8 sbp_msg_print_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_PRINT_DEP, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_PRINT_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_print_dep_cmp(const sbp_msg_print_dep_t *a, diff --git a/c/src/mag.c b/c/src/mag.c index d7ff952b4d..de9c63bc3c 100644 --- a/c/src/mag.c +++ b/c/src/mag.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -95,8 +95,8 @@ s8 sbp_msg_mag_raw_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_MAG_RAW, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_MAG_RAW, sender_id, + payload_len, payload, write); } int sbp_msg_mag_raw_cmp(const sbp_msg_mag_raw_t *a, diff --git a/c/src/navigation.c b/c/src/navigation.c index fbde8cde3d..1f1328933c 100644 --- a/c/src/navigation.c +++ b/c/src/navigation.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -89,8 +89,8 @@ s8 sbp_msg_gps_time_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GPS_TIME, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_GPS_TIME, sender_id, + payload_len, payload, write); } int sbp_msg_gps_time_cmp(const sbp_msg_gps_time_t *a, @@ -193,8 +193,8 @@ s8 sbp_msg_gps_time_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GPS_TIME_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GPS_TIME_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_gps_time_gnss_cmp(const sbp_msg_gps_time_gnss_t *a, @@ -325,8 +325,8 @@ s8 sbp_msg_utc_time_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_UTC_TIME, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_UTC_TIME, sender_id, + payload_len, payload, write); } int sbp_msg_utc_time_cmp(const sbp_msg_utc_time_t *a, @@ -484,8 +484,8 @@ s8 sbp_msg_utc_time_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_UTC_TIME_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_UTC_TIME_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_utc_time_gnss_cmp(const sbp_msg_utc_time_gnss_t *a, @@ -628,8 +628,8 @@ s8 sbp_msg_dops_send(sbp_state_t *s, u16 sender_id, const sbp_msg_dops_t *msg, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_DOPS, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_DOPS, sender_id, payload_len, + payload, write); } int sbp_msg_dops_cmp(const sbp_msg_dops_t *a, const sbp_msg_dops_t *b) { @@ -762,8 +762,8 @@ s8 sbp_msg_pos_ecef_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_ECEF, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_ECEF, sender_id, + payload_len, payload, write); } int sbp_msg_pos_ecef_cmp(const sbp_msg_pos_ecef_t *a, @@ -929,8 +929,8 @@ s8 sbp_msg_pos_ecef_cov_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_ECEF_COV, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_ECEF_COV, sender_id, + payload_len, payload, write); } int sbp_msg_pos_ecef_cov_cmp(const sbp_msg_pos_ecef_cov_t *a, @@ -1095,8 +1095,8 @@ s8 sbp_msg_pos_llh_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_LLH, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_LLH, sender_id, + payload_len, payload, write); } int sbp_msg_pos_llh_cmp(const sbp_msg_pos_llh_t *a, @@ -1267,8 +1267,8 @@ s8 sbp_msg_pos_llh_cov_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_LLH_COV, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_LLH_COV, sender_id, + payload_len, payload, write); } int sbp_msg_pos_llh_cov_cmp(const sbp_msg_pos_llh_cov_t *a, @@ -1550,8 +1550,8 @@ s8 sbp_msg_pos_llh_acc_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_LLH_ACC, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_LLH_ACC, sender_id, + payload_len, payload, write); } int sbp_msg_pos_llh_acc_cmp(const sbp_msg_pos_llh_acc_t *a, @@ -1718,8 +1718,8 @@ s8 sbp_msg_baseline_ecef_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASELINE_ECEF, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASELINE_ECEF, sender_id, + payload_len, payload, write); } int sbp_msg_baseline_ecef_cmp(const sbp_msg_baseline_ecef_t *a, @@ -1861,8 +1861,8 @@ s8 sbp_msg_baseline_ned_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASELINE_NED, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASELINE_NED, sender_id, + payload_len, payload, write); } int sbp_msg_baseline_ned_cmp(const sbp_msg_baseline_ned_t *a, @@ -2001,8 +2001,8 @@ s8 sbp_msg_vel_ecef_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_ECEF, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_ECEF, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ecef_cmp(const sbp_msg_vel_ecef_t *a, @@ -2168,8 +2168,8 @@ s8 sbp_msg_vel_ecef_cov_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_ECEF_COV, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_ECEF_COV, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ecef_cov_cmp(const sbp_msg_vel_ecef_cov_t *a, @@ -2334,8 +2334,8 @@ s8 sbp_msg_vel_ned_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_NED, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_NED, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ned_cmp(const sbp_msg_vel_ned_t *a, @@ -2506,8 +2506,8 @@ s8 sbp_msg_vel_ned_cov_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_NED_COV, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_NED_COV, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ned_cov_cmp(const sbp_msg_vel_ned_cov_t *a, @@ -2668,8 +2668,8 @@ s8 sbp_msg_pos_ecef_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_ECEF_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_ECEF_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_pos_ecef_gnss_cmp(const sbp_msg_pos_ecef_gnss_t *a, @@ -2837,8 +2837,8 @@ s8 sbp_msg_pos_ecef_cov_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_ECEF_COV_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_ECEF_COV_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_pos_ecef_cov_gnss_cmp(const sbp_msg_pos_ecef_cov_gnss_t *a, @@ -3005,8 +3005,8 @@ s8 sbp_msg_pos_llh_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_LLH_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_LLH_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_pos_llh_gnss_cmp(const sbp_msg_pos_llh_gnss_t *a, @@ -3179,8 +3179,8 @@ s8 sbp_msg_pos_llh_cov_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_LLH_COV_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_LLH_COV_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_pos_llh_cov_gnss_cmp(const sbp_msg_pos_llh_cov_gnss_t *a, @@ -3341,8 +3341,8 @@ s8 sbp_msg_vel_ecef_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_ECEF_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_ECEF_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ecef_gnss_cmp(const sbp_msg_vel_ecef_gnss_t *a, @@ -3510,8 +3510,8 @@ s8 sbp_msg_vel_ecef_cov_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_ECEF_COV_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_ECEF_COV_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ecef_cov_gnss_cmp(const sbp_msg_vel_ecef_cov_gnss_t *a, @@ -3678,8 +3678,8 @@ s8 sbp_msg_vel_ned_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_NED_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_NED_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ned_gnss_cmp(const sbp_msg_vel_ned_gnss_t *a, @@ -3852,8 +3852,8 @@ s8 sbp_msg_vel_ned_cov_gnss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_NED_COV_GNSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_NED_COV_GNSS, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ned_cov_gnss_cmp(const sbp_msg_vel_ned_cov_gnss_t *a, @@ -4042,8 +4042,8 @@ s8 sbp_msg_vel_body_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_BODY, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_BODY, sender_id, + payload_len, payload, write); } int sbp_msg_vel_body_cmp(const sbp_msg_vel_body_t *a, @@ -4208,8 +4208,8 @@ s8 sbp_msg_vel_cog_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_COG, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_COG, sender_id, + payload_len, payload, write); } int sbp_msg_vel_cog_cmp(const sbp_msg_vel_cog_t *a, @@ -4321,8 +4321,8 @@ s8 sbp_msg_age_corrections_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_AGE_CORRECTIONS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_AGE_CORRECTIONS, sender_id, + payload_len, payload, write); } int sbp_msg_age_corrections_cmp(const sbp_msg_age_corrections_t *a, @@ -4416,8 +4416,8 @@ s8 sbp_msg_gps_time_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GPS_TIME_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GPS_TIME_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_gps_time_dep_a_cmp(const sbp_msg_gps_time_dep_a_t *a, @@ -4532,8 +4532,8 @@ s8 sbp_msg_dops_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_DOPS_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_DOPS_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_dops_dep_a_cmp(const sbp_msg_dops_dep_a_t *a, @@ -4665,8 +4665,8 @@ s8 sbp_msg_pos_ecef_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_ECEF_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_ECEF_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_pos_ecef_dep_a_cmp(const sbp_msg_pos_ecef_dep_a_t *a, @@ -4808,8 +4808,8 @@ s8 sbp_msg_pos_llh_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POS_LLH_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POS_LLH_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_pos_llh_dep_a_cmp(const sbp_msg_pos_llh_dep_a_t *a, @@ -4952,8 +4952,8 @@ s8 sbp_msg_baseline_ecef_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASELINE_ECEF_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASELINE_ECEF_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_baseline_ecef_dep_a_cmp(const sbp_msg_baseline_ecef_dep_a_t *a, @@ -5097,8 +5097,8 @@ s8 sbp_msg_baseline_ned_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASELINE_NED_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASELINE_NED_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_baseline_ned_dep_a_cmp(const sbp_msg_baseline_ned_dep_a_t *a, @@ -5240,8 +5240,8 @@ s8 sbp_msg_vel_ecef_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_ECEF_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_ECEF_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ecef_dep_a_cmp(const sbp_msg_vel_ecef_dep_a_t *a, @@ -5383,8 +5383,8 @@ s8 sbp_msg_vel_ned_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_VEL_NED_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_VEL_NED_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_vel_ned_dep_a_cmp(const sbp_msg_vel_ned_dep_a_t *a, @@ -5509,8 +5509,8 @@ s8 sbp_msg_baseline_heading_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASELINE_HEADING_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASELINE_HEADING_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_baseline_heading_dep_a_cmp( @@ -5634,8 +5634,8 @@ s8 sbp_msg_protection_level_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_PROTECTION_LEVEL_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_PROTECTION_LEVEL_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_protection_level_dep_a_cmp( @@ -5858,8 +5858,8 @@ s8 sbp_msg_protection_level_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_PROTECTION_LEVEL, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_PROTECTION_LEVEL, sender_id, + payload_len, payload, write); } int sbp_msg_protection_level_cmp(const sbp_msg_protection_level_t *a, @@ -6078,8 +6078,8 @@ s8 sbp_msg_utc_leap_second_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_UTC_LEAP_SECOND, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_UTC_LEAP_SECOND, sender_id, + payload_len, payload, write); } int sbp_msg_utc_leap_second_cmp(const sbp_msg_utc_leap_second_t *a, @@ -6313,8 +6313,8 @@ s8 sbp_msg_reference_frame_param_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_REFERENCE_FRAME_PARAM, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_REFERENCE_FRAME_PARAM, + sender_id, payload_len, payload, write); } int sbp_msg_reference_frame_param_cmp( @@ -6616,8 +6616,8 @@ s8 sbp_msg_pose_relative_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_POSE_RELATIVE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_POSE_RELATIVE, sender_id, + payload_len, payload, write); } int sbp_msg_pose_relative_cmp(const sbp_msg_pose_relative_t *a, diff --git a/c/src/ndb.c b/c/src/ndb.c index 4ec2b4e16f..09358b7df7 100644 --- a/c/src/ndb.c +++ b/c/src/ndb.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -115,8 +115,8 @@ s8 sbp_msg_ndb_event_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_NDB_EVENT, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_NDB_EVENT, sender_id, + payload_len, payload, write); } int sbp_msg_ndb_event_cmp(const sbp_msg_ndb_event_t *a, diff --git a/c/src/observation.c b/c/src/observation.c index c42df914cc..e8707ebe17 100644 --- a/c/src/observation.c +++ b/c/src/observation.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -480,8 +480,8 @@ s8 sbp_msg_obs_send(sbp_state_t *s, u16 sender_id, const sbp_msg_obs_t *msg, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_OBS, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_OBS, sender_id, payload_len, + payload, write); } int sbp_msg_obs_cmp(const sbp_msg_obs_t *a, const sbp_msg_obs_t *b) { @@ -570,8 +570,8 @@ s8 sbp_msg_base_pos_llh_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASE_POS_LLH, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASE_POS_LLH, sender_id, + payload_len, payload, write); } int sbp_msg_base_pos_llh_cmp(const sbp_msg_base_pos_llh_t *a, @@ -663,8 +663,8 @@ s8 sbp_msg_base_pos_ecef_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASE_POS_ECEF, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASE_POS_ECEF, sender_id, + payload_len, payload, write); } int sbp_msg_base_pos_ecef_cmp(const sbp_msg_base_pos_ecef_t *a, @@ -1222,8 +1222,8 @@ s8 sbp_msg_ephemeris_gps_dep_e_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GPS_DEP_E, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GPS_DEP_E, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_gps_dep_e_cmp(const sbp_msg_ephemeris_gps_dep_e_t *a, @@ -1537,8 +1537,8 @@ s8 sbp_msg_ephemeris_gps_dep_f_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GPS_DEP_F, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GPS_DEP_F, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_gps_dep_f_cmp(const sbp_msg_ephemeris_gps_dep_f_t *a, @@ -1850,8 +1850,8 @@ s8 sbp_msg_ephemeris_gps_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GPS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GPS, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_gps_cmp(const sbp_msg_ephemeris_gps_t *a, @@ -2164,8 +2164,8 @@ s8 sbp_msg_ephemeris_qzss_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_QZSS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_QZSS, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_qzss_cmp(const sbp_msg_ephemeris_qzss_t *a, @@ -2483,8 +2483,8 @@ s8 sbp_msg_ephemeris_bds_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_BDS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_BDS, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_bds_cmp(const sbp_msg_ephemeris_bds_t *a, @@ -2809,8 +2809,8 @@ s8 sbp_msg_ephemeris_gal_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GAL_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GAL_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_gal_dep_a_cmp(const sbp_msg_ephemeris_gal_dep_a_t *a, @@ -3139,8 +3139,8 @@ s8 sbp_msg_ephemeris_gal_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GAL, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GAL, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_gal_cmp(const sbp_msg_ephemeris_gal_t *a, @@ -3374,8 +3374,8 @@ s8 sbp_msg_ephemeris_sbas_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_SBAS_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_SBAS_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ephemeris_sbas_dep_a_cmp(const sbp_msg_ephemeris_sbas_dep_a_t *a, @@ -3523,8 +3523,8 @@ s8 sbp_msg_ephemeris_glo_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GLO_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GLO_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_glo_dep_a_cmp(const sbp_msg_ephemeris_glo_dep_a_t *a, @@ -3672,8 +3672,8 @@ s8 sbp_msg_ephemeris_sbas_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_SBAS_DEP_B, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_SBAS_DEP_B, + sender_id, payload_len, payload, write); } int sbp_msg_ephemeris_sbas_dep_b_cmp(const sbp_msg_ephemeris_sbas_dep_b_t *a, @@ -3820,8 +3820,8 @@ s8 sbp_msg_ephemeris_sbas_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_SBAS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_SBAS, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_sbas_cmp(const sbp_msg_ephemeris_sbas_t *a, @@ -3966,8 +3966,8 @@ s8 sbp_msg_ephemeris_glo_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GLO_DEP_B, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GLO_DEP_B, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_glo_dep_b_cmp(const sbp_msg_ephemeris_glo_dep_b_t *a, @@ -4127,8 +4127,8 @@ s8 sbp_msg_ephemeris_glo_dep_c_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GLO_DEP_C, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GLO_DEP_C, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_glo_dep_c_cmp(const sbp_msg_ephemeris_glo_dep_c_t *a, @@ -4304,8 +4304,8 @@ s8 sbp_msg_ephemeris_glo_dep_d_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GLO_DEP_D, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GLO_DEP_D, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_glo_dep_d_cmp(const sbp_msg_ephemeris_glo_dep_d_t *a, @@ -4484,8 +4484,8 @@ s8 sbp_msg_ephemeris_glo_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_GLO, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_GLO, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_glo_cmp(const sbp_msg_ephemeris_glo_t *a, @@ -4770,8 +4770,8 @@ s8 sbp_msg_ephemeris_dep_d_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_DEP_D, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_DEP_D, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_dep_d_cmp(const sbp_msg_ephemeris_dep_d_t *a, @@ -5132,8 +5132,8 @@ s8 sbp_msg_ephemeris_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_dep_a_cmp(const sbp_msg_ephemeris_dep_a_t *a, @@ -5485,8 +5485,8 @@ s8 sbp_msg_ephemeris_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_DEP_B, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_DEP_B, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_dep_b_cmp(const sbp_msg_ephemeris_dep_b_t *a, @@ -5855,8 +5855,8 @@ s8 sbp_msg_ephemeris_dep_c_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_EPHEMERIS_DEP_C, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_EPHEMERIS_DEP_C, sender_id, + payload_len, payload, write); } int sbp_msg_ephemeris_dep_c_cmp(const sbp_msg_ephemeris_dep_c_t *a, @@ -6530,8 +6530,8 @@ s8 sbp_msg_obs_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_OBS_DEP_A, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_OBS_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_obs_dep_a_cmp(const sbp_msg_obs_dep_a_t *a, @@ -6625,8 +6625,8 @@ s8 sbp_msg_obs_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_OBS_DEP_B, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_OBS_DEP_B, sender_id, + payload_len, payload, write); } int sbp_msg_obs_dep_b_cmp(const sbp_msg_obs_dep_b_t *a, @@ -6720,8 +6720,8 @@ s8 sbp_msg_obs_dep_c_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_OBS_DEP_C, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_OBS_DEP_C, sender_id, + payload_len, payload, write); } int sbp_msg_obs_dep_c_cmp(const sbp_msg_obs_dep_c_t *a, @@ -6844,8 +6844,8 @@ s8 sbp_msg_iono_send(sbp_state_t *s, u16 sender_id, const sbp_msg_iono_t *msg, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_IONO, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_IONO, sender_id, payload_len, + payload, write); } int sbp_msg_iono_cmp(const sbp_msg_iono_t *a, const sbp_msg_iono_t *b) { @@ -6962,8 +6962,8 @@ s8 sbp_msg_sv_configuration_gps_dep_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SV_CONFIGURATION_GPS_DEP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SV_CONFIGURATION_GPS_DEP, + sender_id, payload_len, payload, write); } int sbp_msg_sv_configuration_gps_dep_cmp( @@ -7255,8 +7255,8 @@ s8 sbp_msg_gnss_capb_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GNSS_CAPB, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_GNSS_CAPB, sender_id, + payload_len, payload, write); } int sbp_msg_gnss_capb_cmp(const sbp_msg_gnss_capb_t *a, @@ -7363,8 +7363,8 @@ s8 sbp_msg_group_delay_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GROUP_DELAY_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GROUP_DELAY_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_group_delay_dep_a_cmp(const sbp_msg_group_delay_dep_a_t *a, @@ -7491,8 +7491,8 @@ s8 sbp_msg_group_delay_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GROUP_DELAY_DEP_B, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GROUP_DELAY_DEP_B, sender_id, + payload_len, payload, write); } int sbp_msg_group_delay_dep_b_cmp(const sbp_msg_group_delay_dep_b_t *a, @@ -7617,8 +7617,8 @@ s8 sbp_msg_group_delay_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GROUP_DELAY, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GROUP_DELAY, sender_id, + payload_len, payload, write); } int sbp_msg_group_delay_cmp(const sbp_msg_group_delay_t *a, @@ -7997,8 +7997,8 @@ s8 sbp_msg_almanac_gps_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ALMANAC_GPS_DEP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ALMANAC_GPS_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_almanac_gps_dep_cmp(const sbp_msg_almanac_gps_dep_t *a, @@ -8167,8 +8167,8 @@ s8 sbp_msg_almanac_gps_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ALMANAC_GPS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ALMANAC_GPS, sender_id, + payload_len, payload, write); } int sbp_msg_almanac_gps_cmp(const sbp_msg_almanac_gps_t *a, @@ -8326,8 +8326,8 @@ s8 sbp_msg_almanac_glo_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ALMANAC_GLO_DEP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ALMANAC_GLO_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_almanac_glo_dep_cmp(const sbp_msg_almanac_glo_dep_t *a, @@ -8474,8 +8474,8 @@ s8 sbp_msg_almanac_glo_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ALMANAC_GLO, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ALMANAC_GLO, sender_id, + payload_len, payload, write); } int sbp_msg_almanac_glo_cmp(const sbp_msg_almanac_glo_t *a, @@ -8604,8 +8604,8 @@ s8 sbp_msg_glo_biases_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GLO_BIASES, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GLO_BIASES, sender_id, + payload_len, payload, write); } int sbp_msg_glo_biases_cmp(const sbp_msg_glo_biases_t *a, @@ -8779,8 +8779,8 @@ s8 sbp_msg_sv_az_el_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SV_AZ_EL, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_SV_AZ_EL, sender_id, + payload_len, payload, write); } int sbp_msg_sv_az_el_cmp(const sbp_msg_sv_az_el_t *a, @@ -8866,8 +8866,8 @@ s8 sbp_msg_osr_send(sbp_state_t *s, u16 sender_id, const sbp_msg_osr_t *msg, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_OSR, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_OSR, sender_id, payload_len, + payload, write); } int sbp_msg_osr_cmp(const sbp_msg_osr_t *a, const sbp_msg_osr_t *b) { diff --git a/c/src/orientation.c b/c/src/orientation.c index 6e674cbe1a..d43b8e0f0e 100644 --- a/c/src/orientation.c +++ b/c/src/orientation.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -93,8 +93,8 @@ s8 sbp_msg_baseline_heading_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_BASELINE_HEADING, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_BASELINE_HEADING, sender_id, + payload_len, payload, write); } int sbp_msg_baseline_heading_cmp(const sbp_msg_baseline_heading_t *a, @@ -233,8 +233,8 @@ s8 sbp_msg_orient_quat_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ORIENT_QUAT, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ORIENT_QUAT, sender_id, + payload_len, payload, write); } int sbp_msg_orient_quat_cmp(const sbp_msg_orient_quat_t *a, @@ -391,8 +391,8 @@ s8 sbp_msg_orient_euler_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ORIENT_EULER, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ORIENT_EULER, sender_id, + payload_len, payload, write); } int sbp_msg_orient_euler_cmp(const sbp_msg_orient_euler_t *a, @@ -521,8 +521,8 @@ s8 sbp_msg_angular_rate_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ANGULAR_RATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ANGULAR_RATE, sender_id, + payload_len, payload, write); } int sbp_msg_angular_rate_cmp(const sbp_msg_angular_rate_t *a, diff --git a/c/src/piksi.c b/c/src/piksi.c index ddd40e8621..586442e36a 100644 --- a/c/src/piksi.c +++ b/c/src/piksi.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -69,8 +69,8 @@ s8 sbp_msg_almanac_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ALMANAC, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_ALMANAC, sender_id, + payload_len, payload, write); } int sbp_msg_almanac_cmp(const sbp_msg_almanac_t *a, @@ -133,8 +133,8 @@ s8 sbp_msg_set_time_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SET_TIME, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_SET_TIME, sender_id, + payload_len, payload, write); } int sbp_msg_set_time_cmp(const sbp_msg_set_time_t *a, @@ -199,8 +199,8 @@ s8 sbp_msg_reset_send(sbp_state_t *s, u16 sender_id, const sbp_msg_reset_t *msg, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_RESET, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_RESET, sender_id, payload_len, + payload, write); } int sbp_msg_reset_cmp(const sbp_msg_reset_t *a, const sbp_msg_reset_t *b) { @@ -267,8 +267,8 @@ s8 sbp_msg_reset_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_RESET_DEP, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_RESET_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_reset_dep_cmp(const sbp_msg_reset_dep_t *a, @@ -333,8 +333,8 @@ s8 sbp_msg_cw_results_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_CW_RESULTS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_CW_RESULTS, sender_id, + payload_len, payload, write); } int sbp_msg_cw_results_cmp(const sbp_msg_cw_results_t *a, @@ -397,8 +397,8 @@ s8 sbp_msg_cw_start_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_CW_START, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_CW_START, sender_id, + payload_len, payload, write); } int sbp_msg_cw_start_cmp(const sbp_msg_cw_start_t *a, @@ -465,8 +465,8 @@ s8 sbp_msg_reset_filters_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_RESET_FILTERS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_RESET_FILTERS, sender_id, + payload_len, payload, write); } int sbp_msg_reset_filters_cmp(const sbp_msg_reset_filters_t *a, @@ -534,8 +534,8 @@ s8 sbp_msg_init_base_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_INIT_BASE_DEP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_INIT_BASE_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_init_base_dep_cmp(const sbp_msg_init_base_dep_t *a, @@ -618,8 +618,8 @@ s8 sbp_msg_thread_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_THREAD_STATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_THREAD_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_thread_state_cmp(const sbp_msg_thread_state_t *a, @@ -1013,8 +1013,8 @@ s8 sbp_msg_uart_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_UART_STATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_UART_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_uart_state_cmp(const sbp_msg_uart_state_t *a, @@ -1123,8 +1123,8 @@ s8 sbp_msg_uart_state_depa_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_UART_STATE_DEPA, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_UART_STATE_DEPA, sender_id, + payload_len, payload, write); } int sbp_msg_uart_state_depa_cmp(const sbp_msg_uart_state_depa_t *a, @@ -1209,8 +1209,8 @@ s8 sbp_msg_iar_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_IAR_STATE, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_IAR_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_iar_state_cmp(const sbp_msg_iar_state_t *a, @@ -1287,8 +1287,8 @@ s8 sbp_msg_mask_satellite_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_MASK_SATELLITE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_MASK_SATELLITE, sender_id, + payload_len, payload, write); } int sbp_msg_mask_satellite_cmp(const sbp_msg_mask_satellite_t *a, @@ -1371,8 +1371,8 @@ s8 sbp_msg_mask_satellite_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_MASK_SATELLITE_DEP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_MASK_SATELLITE_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_mask_satellite_dep_cmp(const sbp_msg_mask_satellite_dep_t *a, @@ -1472,8 +1472,8 @@ s8 sbp_msg_device_monitor_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_DEVICE_MONITOR, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_DEVICE_MONITOR, sender_id, + payload_len, payload, write); } int sbp_msg_device_monitor_cmp(const sbp_msg_device_monitor_t *a, @@ -1666,8 +1666,8 @@ s8 sbp_msg_command_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_COMMAND_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_COMMAND_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_command_req_cmp(const sbp_msg_command_req_t *a, @@ -1748,8 +1748,8 @@ s8 sbp_msg_command_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_COMMAND_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_COMMAND_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_command_resp_cmp(const sbp_msg_command_resp_t *a, @@ -1929,8 +1929,8 @@ s8 sbp_msg_command_output_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_COMMAND_OUTPUT, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_COMMAND_OUTPUT, sender_id, + payload_len, payload, write); } int sbp_msg_command_output_cmp(const sbp_msg_command_output_t *a, @@ -2005,8 +2005,8 @@ s8 sbp_msg_network_state_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_NETWORK_STATE_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_NETWORK_STATE_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_network_state_req_cmp(const sbp_msg_network_state_req_t *a, @@ -2129,8 +2129,8 @@ s8 sbp_msg_network_state_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_NETWORK_STATE_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_NETWORK_STATE_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_network_state_resp_cmp(const sbp_msg_network_state_resp_t *a, @@ -2363,8 +2363,8 @@ s8 sbp_msg_network_bandwidth_usage_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_NETWORK_BANDWIDTH_USAGE, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_NETWORK_BANDWIDTH_USAGE, + sender_id, payload_len, payload, write); } int sbp_msg_network_bandwidth_usage_cmp( @@ -2461,8 +2461,8 @@ s8 sbp_msg_cell_modem_status_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_CELL_MODEM_STATUS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_CELL_MODEM_STATUS, sender_id, + payload_len, payload, write); } int sbp_msg_cell_modem_status_cmp(const sbp_msg_cell_modem_status_t *a, @@ -2590,8 +2590,8 @@ s8 sbp_msg_specan_dep_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SPECAN_DEP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SPECAN_DEP, sender_id, + payload_len, payload, write); } int sbp_msg_specan_dep_cmp(const sbp_msg_specan_dep_t *a, @@ -2737,8 +2737,8 @@ s8 sbp_msg_specan_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SPECAN, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_SPECAN, sender_id, payload_len, + payload, write); } int sbp_msg_specan_cmp(const sbp_msg_specan_t *a, const sbp_msg_specan_t *b) { @@ -2855,8 +2855,8 @@ s8 sbp_msg_front_end_gain_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_FRONT_END_GAIN, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_FRONT_END_GAIN, sender_id, + payload_len, payload, write); } int sbp_msg_front_end_gain_cmp(const sbp_msg_front_end_gain_t *a, diff --git a/c/src/sbas.c b/c/src/sbas.c index 15b6dd38e2..fe6b5ebea9 100644 --- a/c/src/sbas.c +++ b/c/src/sbas.c @@ -9,11 +9,11 @@ #include #include +#include #include #include #include #include -#include #include #include @@ -93,8 +93,8 @@ s8 sbp_msg_sbas_raw_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SBAS_RAW, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_SBAS_RAW, sender_id, + payload_len, payload, write); } int sbp_msg_sbas_raw_cmp(const sbp_msg_sbas_raw_t *a, diff --git a/c/src/sbp.c b/c/src/sbp.c index 706161288c..b705aa28b4 100644 --- a/c/src/sbp.c +++ b/c/src/sbp.c @@ -14,6 +14,17 @@ #include #include +// TODO(version 6) +// Remove this undef/define +// Obviously we don't normally want to silence this message, but we also need to provide +// an implementation for these deprecated functions somewhere. When the legacy API is +// removed in version 6 these few lines can be removed as well +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include + #define SBP_PREAMBLE 0x55 /** \addtogroup io Input / Output @@ -577,8 +588,9 @@ s8 sbp_process(sbp_state_t *s, s32 (*read)(u8 *buff, u32 n, void *context)) return SBP_OK; } -static s8 send_payload(sbp_state_t *s, sbp_msg_type_t msg_type, u16 sender_id, u8 len, u8 *payload, - sbp_write_fn_t write) +s8 sbp_internal_forward_payload(sbp_state_t *s, sbp_msg_type_t msg_type, + u16 sender_id, u8 len, u8 *payload, + sbp_write_fn_t write) { /* Check our payload data pointer isn't NULL unless len = 0. */ if (len != 0 && payload == 0) { @@ -686,7 +698,7 @@ s8 sbp_message_send(sbp_state_t *s, sbp_msg_type_t msg_type, u16 sender_id, cons uint8_t payload_len; s8 ret = sbp_message_encode(payload, sizeof(payload), &payload_len, msg_type, msg); if (ret != SBP_OK) { return ret; } - return send_payload(s, msg_type, sender_id, payload_len, payload, write); + return sbp_internal_forward_payload(s, msg_type, sender_id, payload_len, payload, write); } s8 sbp_message_process(sbp_state_t *s, u16 sender_id, sbp_msg_type_t msg_type, @@ -780,7 +792,7 @@ s8 sbp_payload_process(sbp_state_t *s, u16 sender_id, u16 msg_type, u8 msg_len, s8 sbp_payload_send(sbp_state_t *s, u16 msg_type, u16 sender_id, u8 len, u8 *payload, sbp_write_fn_t write) { - return send_payload(s, (sbp_msg_type_t)msg_type, sender_id, len, payload, write); + return sbp_internal_forward_payload(s, (sbp_msg_type_t)msg_type, sender_id, len, payload, write); } /** \} */ diff --git a/c/src/settings.c b/c/src/settings.c index ddf36eac6e..1920a4232c 100644 --- a/c/src/settings.c +++ b/c/src/settings.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -71,8 +71,8 @@ s8 sbp_msg_settings_save_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_SAVE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_SAVE, sender_id, + payload_len, payload, write); } int sbp_msg_settings_save_cmp(const sbp_msg_settings_save_t *a, @@ -230,8 +230,8 @@ s8 sbp_msg_settings_write_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_WRITE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_WRITE, sender_id, + payload_len, payload, write); } int sbp_msg_settings_write_cmp(const sbp_msg_settings_write_t *a, @@ -402,8 +402,8 @@ s8 sbp_msg_settings_write_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_WRITE_RESP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_WRITE_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_settings_write_resp_cmp(const sbp_msg_settings_write_resp_t *a, @@ -572,8 +572,8 @@ s8 sbp_msg_settings_read_req_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_READ_REQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_READ_REQ, sender_id, + payload_len, payload, write); } int sbp_msg_settings_read_req_cmp(const sbp_msg_settings_read_req_t *a, @@ -738,8 +738,8 @@ s8 sbp_msg_settings_read_resp_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_READ_RESP, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_READ_RESP, sender_id, + payload_len, payload, write); } int sbp_msg_settings_read_resp_cmp(const sbp_msg_settings_read_resp_t *a, @@ -811,8 +811,8 @@ s8 sbp_msg_settings_read_by_index_req_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_READ_BY_INDEX_REQ, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_READ_BY_INDEX_REQ, + sender_id, payload_len, payload, write); } int sbp_msg_settings_read_by_index_req_cmp( @@ -987,8 +987,8 @@ s8 sbp_msg_settings_read_by_index_resp_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_READ_BY_INDEX_RESP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_READ_BY_INDEX_RESP, + sender_id, payload_len, payload, write); } int sbp_msg_settings_read_by_index_resp_cmp( @@ -1064,8 +1064,8 @@ s8 sbp_msg_settings_read_by_index_done_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_READ_BY_INDEX_DONE, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_READ_BY_INDEX_DONE, + sender_id, payload_len, payload, write); } int sbp_msg_settings_read_by_index_done_cmp( @@ -1227,8 +1227,8 @@ s8 sbp_msg_settings_register_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_REGISTER, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_REGISTER, sender_id, + payload_len, payload, write); } int sbp_msg_settings_register_cmp(const sbp_msg_settings_register_t *a, @@ -1399,8 +1399,8 @@ s8 sbp_msg_settings_register_resp_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SETTINGS_REGISTER_RESP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SETTINGS_REGISTER_RESP, + sender_id, payload_len, payload, write); } int sbp_msg_settings_register_resp_cmp( diff --git a/c/src/signing.c b/c/src/signing.c index 0499e4211d..ede796c855 100644 --- a/c/src/signing.c +++ b/c/src/signing.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -301,8 +301,8 @@ s8 sbp_msg_ecdsa_certificate_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ECDSA_CERTIFICATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ECDSA_CERTIFICATE, sender_id, + payload_len, payload, write); } int sbp_msg_ecdsa_certificate_cmp(const sbp_msg_ecdsa_certificate_t *a, @@ -435,8 +435,8 @@ s8 sbp_msg_certificate_chain_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_CERTIFICATE_CHAIN, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_CERTIFICATE_CHAIN, sender_id, + payload_len, payload, write); } int sbp_msg_certificate_chain_cmp(const sbp_msg_certificate_chain_t *a, @@ -587,8 +587,8 @@ s8 sbp_msg_certificate_chain_dep_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_CERTIFICATE_CHAIN_DEP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_CERTIFICATE_CHAIN_DEP, + sender_id, payload_len, payload, write); } int sbp_msg_certificate_chain_dep_cmp( @@ -742,8 +742,8 @@ s8 sbp_msg_ecdsa_signature_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ECDSA_SIGNATURE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ECDSA_SIGNATURE, sender_id, + payload_len, payload, write); } int sbp_msg_ecdsa_signature_cmp(const sbp_msg_ecdsa_signature_t *a, @@ -901,8 +901,8 @@ s8 sbp_msg_ecdsa_signature_dep_b_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ECDSA_SIGNATURE_DEP_B, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ECDSA_SIGNATURE_DEP_B, + sender_id, payload_len, payload, write); } int sbp_msg_ecdsa_signature_dep_b_cmp( @@ -1063,8 +1063,8 @@ s8 sbp_msg_ecdsa_signature_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ECDSA_SIGNATURE_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ECDSA_SIGNATURE_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ecdsa_signature_dep_a_cmp( @@ -1197,8 +1197,8 @@ s8 sbp_msg_ed25519_certificate_dep_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ED25519_CERTIFICATE_DEP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ED25519_CERTIFICATE_DEP, + sender_id, payload_len, payload, write); } int sbp_msg_ed25519_certificate_dep_cmp( @@ -1317,8 +1317,8 @@ s8 sbp_msg_ed25519_signature_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ED25519_SIGNATURE_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ED25519_SIGNATURE_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ed25519_signature_dep_a_cmp( @@ -1452,8 +1452,8 @@ s8 sbp_msg_ed25519_signature_dep_b_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ED25519_SIGNATURE_DEP_B, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_ED25519_SIGNATURE_DEP_B, + sender_id, payload_len, payload, write); } int sbp_msg_ed25519_signature_dep_b_cmp( diff --git a/c/src/solution_meta.c b/c/src/solution_meta.c index a0a6650e7a..8b0d0e9d6a 100644 --- a/c/src/solution_meta.c +++ b/c/src/solution_meta.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -201,8 +201,8 @@ s8 sbp_msg_soln_meta_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SOLN_META_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SOLN_META_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_soln_meta_dep_a_cmp(const sbp_msg_soln_meta_dep_a_t *a, @@ -361,8 +361,8 @@ s8 sbp_msg_soln_meta_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SOLN_META, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_SOLN_META, sender_id, + payload_len, payload, write); } int sbp_msg_soln_meta_cmp(const sbp_msg_soln_meta_t *a, diff --git a/c/src/ssr.c b/c/src/ssr.c index 221b0f6c8a..6ebb09fda7 100644 --- a/c/src/ssr.c +++ b/c/src/ssr.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -974,8 +974,8 @@ s8 sbp_msg_ssr_orbit_clock_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_ORBIT_CLOCK, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_ORBIT_CLOCK, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_orbit_clock_cmp(const sbp_msg_ssr_orbit_clock_t *a, @@ -1145,8 +1145,8 @@ s8 sbp_msg_ssr_code_biases_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_CODE_BIASES, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_CODE_BIASES, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_code_biases_cmp(const sbp_msg_ssr_code_biases_t *a, @@ -1299,8 +1299,8 @@ s8 sbp_msg_ssr_phase_biases_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_PHASE_BIASES, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_PHASE_BIASES, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_phase_biases_cmp(const sbp_msg_ssr_phase_biases_t *a, @@ -1430,8 +1430,8 @@ s8 sbp_msg_ssr_stec_correction_dep_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_STEC_CORRECTION_DEP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_STEC_CORRECTION_DEP, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_stec_correction_dep_cmp( @@ -1652,8 +1652,8 @@ s8 sbp_msg_ssr_stec_correction_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_STEC_CORRECTION, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_STEC_CORRECTION, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_stec_correction_cmp(const sbp_msg_ssr_stec_correction_t *a, @@ -1782,8 +1782,8 @@ s8 sbp_msg_ssr_gridded_correction_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_GRIDDED_CORRECTION, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_GRIDDED_CORRECTION, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_gridded_correction_cmp( @@ -2065,8 +2065,8 @@ s8 sbp_msg_ssr_gridded_correction_bounds_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_GRIDDED_CORRECTION_BOUNDS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_GRIDDED_CORRECTION_BOUNDS, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_gridded_correction_bounds_cmp( @@ -2252,8 +2252,8 @@ s8 sbp_msg_ssr_tile_definition_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_TILE_DEFINITION_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_TILE_DEFINITION_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_tile_definition_dep_a_cmp( @@ -2420,8 +2420,8 @@ s8 sbp_msg_ssr_tile_definition_dep_b_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_TILE_DEFINITION_DEP_B, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_TILE_DEFINITION_DEP_B, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_tile_definition_dep_b_cmp( @@ -2611,8 +2611,8 @@ s8 sbp_msg_ssr_tile_definition_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_TILE_DEFINITION, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_TILE_DEFINITION, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_tile_definition_cmp(const sbp_msg_ssr_tile_definition_t *a, @@ -2866,8 +2866,8 @@ s8 sbp_msg_ssr_satellite_apc_dep_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_SATELLITE_APC_DEP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_SATELLITE_APC_DEP, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_satellite_apc_dep_cmp( @@ -2976,8 +2976,8 @@ s8 sbp_msg_ssr_satellite_apc_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_SATELLITE_APC, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_SATELLITE_APC, sender_id, + payload_len, payload, write); } int sbp_msg_ssr_satellite_apc_cmp(const sbp_msg_ssr_satellite_apc_t *a, @@ -3150,8 +3150,8 @@ s8 sbp_msg_ssr_orbit_clock_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_ORBIT_CLOCK_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_ORBIT_CLOCK_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_orbit_clock_dep_a_cmp( @@ -3635,8 +3635,8 @@ s8 sbp_msg_ssr_stec_correction_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_STEC_CORRECTION_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_STEC_CORRECTION_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_stec_correction_dep_a_cmp( @@ -3751,8 +3751,9 @@ s8 sbp_msg_ssr_gridded_correction_no_std_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A, - sender_id, payload_len, payload, write); + return sbp_internal_forward_payload( + s, SBP_MSG_SSR_GRIDDED_CORRECTION_NO_STD_DEP_A, sender_id, payload_len, + payload, write); } int sbp_msg_ssr_gridded_correction_no_std_dep_a_cmp( @@ -3874,8 +3875,8 @@ s8 sbp_msg_ssr_gridded_correction_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_GRIDDED_CORRECTION_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_GRIDDED_CORRECTION_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_gridded_correction_dep_a_cmp( @@ -3982,8 +3983,8 @@ s8 sbp_msg_ssr_grid_definition_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_GRID_DEFINITION_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_GRID_DEFINITION_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_grid_definition_dep_a_cmp( @@ -4244,8 +4245,8 @@ s8 sbp_msg_ssr_orbit_clock_bounds_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_ORBIT_CLOCK_BOUNDS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_ORBIT_CLOCK_BOUNDS, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_orbit_clock_bounds_cmp( @@ -4493,8 +4494,8 @@ s8 sbp_msg_ssr_code_phase_biases_bounds_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_CODE_PHASE_BIASES_BOUNDS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SSR_CODE_PHASE_BIASES_BOUNDS, + sender_id, payload_len, payload, write); } int sbp_msg_ssr_code_phase_biases_bounds_cmp( @@ -4756,8 +4757,9 @@ s8 sbp_msg_ssr_orbit_clock_bounds_degradation_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION, - sender_id, payload_len, payload, write); + return sbp_internal_forward_payload( + s, SBP_MSG_SSR_ORBIT_CLOCK_BOUNDS_DEGRADATION, sender_id, payload_len, + payload, write); } int sbp_msg_ssr_orbit_clock_bounds_degradation_cmp( diff --git a/c/src/system.c b/c/src/system.c index 5885d77c41..25a9a4064c 100644 --- a/c/src/system.c +++ b/c/src/system.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -83,8 +83,8 @@ s8 sbp_msg_startup_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_STARTUP, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_STARTUP, sender_id, + payload_len, payload, write); } int sbp_msg_startup_cmp(const sbp_msg_startup_t *a, @@ -279,8 +279,8 @@ s8 sbp_msg_dgnss_status_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_DGNSS_STATUS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_DGNSS_STATUS, sender_id, + payload_len, payload, write); } int sbp_msg_dgnss_status_cmp(const sbp_msg_dgnss_status_t *a, @@ -365,8 +365,8 @@ s8 sbp_msg_heartbeat_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_HEARTBEAT, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_HEARTBEAT, sender_id, + payload_len, payload, write); } int sbp_msg_heartbeat_cmp(const sbp_msg_heartbeat_t *a, @@ -548,8 +548,8 @@ s8 sbp_msg_status_report_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_STATUS_REPORT, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_STATUS_REPORT, sender_id, + payload_len, payload, write); } int sbp_msg_status_report_cmp(const sbp_msg_status_report_t *a, @@ -746,8 +746,8 @@ s8 sbp_msg_status_journal_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_STATUS_JOURNAL, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_STATUS_JOURNAL, sender_id, + payload_len, payload, write); } int sbp_msg_status_journal_cmp(const sbp_msg_status_journal_t *a, @@ -840,8 +840,8 @@ s8 sbp_msg_ins_status_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_INS_STATUS, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_INS_STATUS, sender_id, + payload_len, payload, write); } int sbp_msg_ins_status_cmp(const sbp_msg_ins_status_t *a, @@ -1020,8 +1020,8 @@ s8 sbp_msg_csac_telemetry_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_CSAC_TELEMETRY, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_CSAC_TELEMETRY, sender_id, + payload_len, payload, write); } int sbp_msg_csac_telemetry_cmp(const sbp_msg_csac_telemetry_t *a, @@ -1217,8 +1217,8 @@ s8 sbp_msg_csac_telemetry_labels_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_CSAC_TELEMETRY_LABELS, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_CSAC_TELEMETRY_LABELS, + sender_id, payload_len, payload, write); } int sbp_msg_csac_telemetry_labels_cmp( @@ -1330,8 +1330,8 @@ s8 sbp_msg_ins_updates_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_INS_UPDATES, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_INS_UPDATES, sender_id, + payload_len, payload, write); } int sbp_msg_ins_updates_cmp(const sbp_msg_ins_updates_t *a, @@ -1451,8 +1451,8 @@ s8 sbp_msg_gnss_time_offset_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GNSS_TIME_OFFSET, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GNSS_TIME_OFFSET, sender_id, + payload_len, payload, write); } int sbp_msg_gnss_time_offset_cmp(const sbp_msg_gnss_time_offset_t *a, @@ -1541,8 +1541,8 @@ s8 sbp_msg_pps_time_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_PPS_TIME, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_PPS_TIME, sender_id, + payload_len, payload, write); } int sbp_msg_pps_time_cmp(const sbp_msg_pps_time_t *a, @@ -1661,8 +1661,8 @@ s8 sbp_msg_sensor_aid_event_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_SENSOR_AID_EVENT, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_SENSOR_AID_EVENT, sender_id, + payload_len, payload, write); } int sbp_msg_sensor_aid_event_cmp(const sbp_msg_sensor_aid_event_t *a, @@ -1794,8 +1794,8 @@ s8 sbp_msg_group_meta_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_GROUP_META, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_GROUP_META, sender_id, + payload_len, payload, write); } int sbp_msg_group_meta_cmp(const sbp_msg_group_meta_t *a, diff --git a/c/src/telemetry.c b/c/src/telemetry.c index 6024d40361..c42c830096 100644 --- a/c/src/telemetry.c +++ b/c/src/telemetry.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -249,8 +249,8 @@ s8 sbp_msg_tel_sv_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TEL_SV, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_TEL_SV, sender_id, payload_len, + payload, write); } int sbp_msg_tel_sv_cmp(const sbp_msg_tel_sv_t *a, const sbp_msg_tel_sv_t *b) { diff --git a/c/src/tracking.c b/c/src/tracking.c index 6e5ff95deb..7667fa1f1e 100644 --- a/c/src/tracking.c +++ b/c/src/tracking.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -195,8 +195,8 @@ s8 sbp_msg_tracking_state_detailed_dep_a_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_STATE_DETAILED_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_STATE_DETAILED_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_tracking_state_detailed_dep_a_cmp( @@ -489,8 +489,8 @@ s8 sbp_msg_tracking_state_detailed_dep_send( if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_STATE_DETAILED_DEP, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_STATE_DETAILED_DEP, + sender_id, payload_len, payload, write); } int sbp_msg_tracking_state_detailed_dep_cmp( @@ -753,8 +753,8 @@ s8 sbp_msg_tracking_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_STATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_tracking_state_cmp(const sbp_msg_tracking_state_t *a, @@ -906,8 +906,8 @@ s8 sbp_msg_measurement_state_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_MEASUREMENT_STATE, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_MEASUREMENT_STATE, sender_id, + payload_len, payload, write); } int sbp_msg_measurement_state_cmp(const sbp_msg_measurement_state_t *a, @@ -1069,8 +1069,8 @@ s8 sbp_msg_tracking_iq_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_IQ, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_IQ, sender_id, + payload_len, payload, write); } int sbp_msg_tracking_iq_cmp(const sbp_msg_tracking_iq_t *a, @@ -1243,8 +1243,8 @@ s8 sbp_msg_tracking_iq_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_IQ_DEP_B, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_IQ_DEP_B, sender_id, + payload_len, payload, write); } int sbp_msg_tracking_iq_dep_b_cmp(const sbp_msg_tracking_iq_dep_b_t *a, @@ -1347,8 +1347,8 @@ s8 sbp_msg_tracking_iq_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_IQ_DEP_A, sender_id, payload_len, - payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_IQ_DEP_A, sender_id, + payload_len, payload, write); } int sbp_msg_tracking_iq_dep_a_cmp(const sbp_msg_tracking_iq_dep_a_t *a, @@ -1527,8 +1527,8 @@ s8 sbp_msg_tracking_state_dep_a_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_STATE_DEP_A, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_STATE_DEP_A, + sender_id, payload_len, payload, write); } int sbp_msg_tracking_state_dep_a_cmp(const sbp_msg_tracking_state_dep_a_t *a, @@ -1697,8 +1697,8 @@ s8 sbp_msg_tracking_state_dep_b_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_TRACKING_STATE_DEP_B, sender_id, - payload_len, payload, write); + return sbp_internal_forward_payload(s, SBP_MSG_TRACKING_STATE_DEP_B, + sender_id, payload_len, payload, write); } int sbp_msg_tracking_state_dep_b_cmp(const sbp_msg_tracking_state_dep_b_t *a, diff --git a/c/src/user.c b/c/src/user.c index 612d55ec3e..30a42a22bd 100644 --- a/c/src/user.c +++ b/c/src/user.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -82,8 +82,8 @@ s8 sbp_msg_user_data_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_USER_DATA, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_USER_DATA, sender_id, + payload_len, payload, write); } int sbp_msg_user_data_cmp(const sbp_msg_user_data_t *a, diff --git a/c/src/vehicle.c b/c/src/vehicle.c index c4c7df6eec..70689d4523 100644 --- a/c/src/vehicle.c +++ b/c/src/vehicle.c @@ -8,12 +8,12 @@ #include #include +#include #include #include #include #include #include -#include #include #include @@ -83,8 +83,8 @@ s8 sbp_msg_odometry_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_ODOMETRY, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_ODOMETRY, sender_id, + payload_len, payload, write); } int sbp_msg_odometry_cmp(const sbp_msg_odometry_t *a, @@ -182,8 +182,8 @@ s8 sbp_msg_wheeltick_send(sbp_state_t *s, u16 sender_id, if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, SBP_MSG_WHEELTICK, sender_id, payload_len, payload, - write); + return sbp_internal_forward_payload(s, SBP_MSG_WHEELTICK, sender_id, + payload_len, payload, write); } int sbp_msg_wheeltick_cmp(const sbp_msg_wheeltick_t *a, diff --git a/c/test/CMakeLists.txt b/c/test/CMakeLists.txt index f8031076e0..6a6aebc82f 100644 --- a/c/test/CMakeLists.txt +++ b/c/test/CMakeLists.txt @@ -48,6 +48,7 @@ if (NOT CMAKE_C_COMPILER_ID STREQUAL "MSVC") -Wformat-y2k ADD -Wformat=0 + -Wno-deprecated-declarations ) endif() diff --git a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResult.c b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResult.c index 7e20eb9cfc..4e6da32bbf 100644 --- a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResult.c +++ b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResult.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepA.c b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepA.c index 64713033d9..e72eb8e4ad 100644 --- a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepA.c +++ b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepB.c b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepB.c index 62afefab42..d69d66d953 100644 --- a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepB.c +++ b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepC.c b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepC.c index 9bb7f2e5c0..6b3a5d008d 100644 --- a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepC.c +++ b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqResultDepC.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfile.c b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfile.c index 3a91fb8d45..59912bd3ac 100644 --- a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfile.c +++ b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfile.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c index 4fad72d2e1..2826e8f821 100644 --- a/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c +++ b/c/test/legacy/auto_check_sbp_acquisition_MsgAcqSvProfileDep.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c b/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c index 09c52c907c..25875df82e 100644 --- a/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c +++ b/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c b/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c index 62c130f7a6..330e95bcbc 100644 --- a/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c +++ b/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c b/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c index ec69bb5acd..0181df7548 100644 --- a/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c +++ b/c/test/legacy/auto_check_sbp_bootload_MsgBootloaderJumptoApp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c b/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c index 8c0e66fc42..5a74641925 100644 --- a/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c +++ b/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c b/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c index 1ea5fad31f..cf99c902e2 100644 --- a/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c +++ b/c/test/legacy/auto_check_sbp_bootload_MsgNapDeviceDnaResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ext_events_MsgExtEvent.c b/c/test/legacy/auto_check_sbp_ext_events_MsgExtEvent.c index 8d0ac16444..edaacbee3c 100644 --- a/c/test/legacy/auto_check_sbp_ext_events_MsgExtEvent.c +++ b/c/test/legacy/auto_check_sbp_ext_events_MsgExtEvent.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigReq.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigReq.c index e373a1ad61..560b646483 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigReq.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigResp.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigResp.c index 1c99e247b5..68816e0041 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigResp.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioConfigResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirReq.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirReq.c index 450d570ea7..b633df8fcb 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirReq.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirResp.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirResp.c index f2f521b127..8e67553e7f 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirResp.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadDirResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadReq.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadReq.c index ed80673be7..395d06e5ed 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadReq.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadResp.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadResp.c index 4c16884a9d..c5d3e4b597 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadResp.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioReadResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioRemove.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioRemove.c index 2bc8f45508..15c3241b8f 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioRemove.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioRemove.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_file_io_MsgFileioWriteResp.c b/c/test/legacy/auto_check_sbp_file_io_MsgFileioWriteResp.c index a27fcb036e..b4c91a74c8 100644 --- a/c/test/legacy/auto_check_sbp_file_io_MsgFileioWriteResp.c +++ b/c/test/legacy/auto_check_sbp_file_io_MsgFileioWriteResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgFlashDone.c b/c/test/legacy/auto_check_sbp_flash_MsgFlashDone.c index 64dc52fe6f..29bd5dee46 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgFlashDone.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgFlashDone.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgFlashErase.c b/c/test/legacy/auto_check_sbp_flash_MsgFlashErase.c index 9474ba9bac..cf050a9d14 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgFlashErase.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgFlashErase.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgFlashProgram.c b/c/test/legacy/auto_check_sbp_flash_MsgFlashProgram.c index 787228515e..981a5267e9 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgFlashProgram.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgFlashProgram.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgFlashReadReq.c b/c/test/legacy/auto_check_sbp_flash_MsgFlashReadReq.c index 0d18fa5434..bf9da1dc62 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgFlashReadReq.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgFlashReadReq.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgFlashReadResp.c b/c/test/legacy/auto_check_sbp_flash_MsgFlashReadResp.c index 6473ae3f3a..23b8d88159 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgFlashReadResp.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgFlashReadResp.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgM25FlashWriteStatus.c b/c/test/legacy/auto_check_sbp_flash_MsgM25FlashWriteStatus.c index 5cb31947cb..4512ad19b5 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgM25FlashWriteStatus.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgM25FlashWriteStatus.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgStmFlashLockSector.c b/c/test/legacy/auto_check_sbp_flash_MsgStmFlashLockSector.c index 11461e8394..8e0b278558 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgStmFlashLockSector.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgStmFlashLockSector.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgStmFlashUnlockSector.c b/c/test/legacy/auto_check_sbp_flash_MsgStmFlashUnlockSector.c index 9654fffbc0..51dcff56a2 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgStmFlashUnlockSector.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgStmFlashUnlockSector.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdReq.c b/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdReq.c index c8501fa180..b39d76f1ab 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdReq.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdResp.c b/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdResp.c index f4641e10f3..09fb49471c 100644 --- a/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdResp.c +++ b/c/test/legacy/auto_check_sbp_flash_MsgStmUniqueIdResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_imu_MsgImuAux.c b/c/test/legacy/auto_check_sbp_imu_MsgImuAux.c index fb387a4e3f..46470686df 100644 --- a/c/test/legacy/auto_check_sbp_imu_MsgImuAux.c +++ b/c/test/legacy/auto_check_sbp_imu_MsgImuAux.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_imu_MsgImuRaw.c b/c/test/legacy/auto_check_sbp_imu_MsgImuRaw.c index fdf17cddee..e430958496 100644 --- a/c/test/legacy/auto_check_sbp_imu_MsgImuRaw.c +++ b/c/test/legacy/auto_check_sbp_imu_MsgImuRaw.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_integrity_MsgAcknowledge.c b/c/test/legacy/auto_check_sbp_integrity_MsgAcknowledge.c index 1cd1dcddce..0853446337 100644 --- a/c/test/legacy/auto_check_sbp_integrity_MsgAcknowledge.c +++ b/c/test/legacy/auto_check_sbp_integrity_MsgAcknowledge.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c index b9f870cec6..4d966d41ff 100644 --- a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c +++ b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagHighLevel.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c index cdb7201f95..0d38a5dd47 100644 --- a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c +++ b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.c @@ -15,11 +15,21 @@ // by generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c index cb3bc241f9..5ada35637b 100644 --- a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c +++ b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c index f4450330d8..48967145f6 100644 --- a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c +++ b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagSatellites.c b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagSatellites.c index 19811e095d..40818e1046 100644 --- a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagSatellites.c +++ b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagSatellites.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c index 40a15c68a7..42bb9db6d4 100644 --- a/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c +++ b/c/test/legacy/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuState.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuState.c index af03f57c34..619ec82728 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuState.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuState.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c index 1811d8db5a..7c1b7d2825 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxCpuStateDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemState.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemState.c index 2ba35128f5..b28327ccad 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemState.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemState.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemStateDepA.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemStateDepA.c index 554892058e..387e2bed97 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemStateDepA.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxMemStateDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdCount.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdCount.c index a8cd7664c2..66af42079e 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdCount.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdCount.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c index de84a37aff..e17d0d9fd1 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessFdSummary.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c index 8fa2ef9a76..fdff02a585 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c index acf9ea4227..e8e4aef14f 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxSocketUsage.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxSocketUsage.c index c62234686e..04b2f2ae89 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxSocketUsage.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxSocketUsage.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysState.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysState.c index 9cbc71cb89..b0c6f05cdc 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysState.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysState.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysStateDepA.c b/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysStateDepA.c index f48b472d46..06bd03a89e 100644 --- a/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysStateDepA.c +++ b/c/test/legacy/auto_check_sbp_linux_MsgLinuxSysStateDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_logging_MsgFwd.c b/c/test/legacy/auto_check_sbp_logging_MsgFwd.c index adc9875bf7..49280da42a 100644 --- a/c/test/legacy/auto_check_sbp_logging_MsgFwd.c +++ b/c/test/legacy/auto_check_sbp_logging_MsgFwd.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_logging_MsgLog.c b/c/test/legacy/auto_check_sbp_logging_MsgLog.c index bebd268e58..4c93bd383e 100644 --- a/c/test/legacy/auto_check_sbp_logging_MsgLog.c +++ b/c/test/legacy/auto_check_sbp_logging_MsgLog.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_logging_MsgPrintDep.c b/c/test/legacy/auto_check_sbp_logging_MsgPrintDep.c index 31cc746097..f8931b4755 100644 --- a/c/test/legacy/auto_check_sbp_logging_MsgPrintDep.c +++ b/c/test/legacy/auto_check_sbp_logging_MsgPrintDep.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_mag_MsgMagRaw.c b/c/test/legacy/auto_check_sbp_mag_MsgMagRaw.c index 8381be544f..afacf86bbd 100644 --- a/c/test/legacy/auto_check_sbp_mag_MsgMagRaw.c +++ b/c/test/legacy/auto_check_sbp_mag_MsgMagRaw.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgAgeCorrections.c b/c/test/legacy/auto_check_sbp_navigation_MsgAgeCorrections.c index c8461ad2cf..8899762c2e 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgAgeCorrections.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgAgeCorrections.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEF.c b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEF.c index b305b7bd9d..91e550ea16 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEF.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEF.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEFDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEFDepA.c index 2e1e9546a1..cce704f1e1 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEFDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineECEFDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c index 1e74a5b456..d8ac9c0ac1 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineHeadingDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNED.c b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNED.c index a4089c4d93..70cd5c2ff2 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNED.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNED.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNEDDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNEDDepA.c index e200aaea54..ee3b3533e6 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNEDDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgBaselineNEDDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgDops.c b/c/test/legacy/auto_check_sbp_navigation_MsgDops.c index 0e0ca50a17..401dd3e4ca 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgDops.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgDops.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgDopsDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgDopsDepA.c index c98672637a..572d2f4c95 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgDopsDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgDopsDepA.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgGPSTime.c b/c/test/legacy/auto_check_sbp_navigation_MsgGPSTime.c index d1d0863196..5e5aa4425a 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgGPSTime.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgGPSTime.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeDepA.c index e4d5bac0af..876050c3c5 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeGNSS.c b/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeGNSS.c index 9518275e57..64bf367e9f 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeGNSS.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgGPSTimeGNSS.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEF.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEF.c index db81107ffa..4397fe8bbe 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEF.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEF.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCov.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCov.c index 062c07836e..57d6abd77c 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCov.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCov.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c index f8eb0463a5..4be4acd23f 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFCovGNSS.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFDepA.c index e84c098c59..36946feaa3 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFGNSS.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFGNSS.c index 950e25dd1e..2b3017a50e 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFGNSS.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosECEFGNSS.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosLLH.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosLLH.c index c57f9b689a..892a6d4c86 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosLLH.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosLLH.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHCov.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHCov.c index d16a8c1780..b66b0578d0 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHCov.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHCov.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHDepA.c index 5ef97917dd..a7e26eb1b6 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosLLHDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhAcc.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhAcc.c index 245322998b..cfa076d032 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhAcc.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhAcc.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhCovGnss.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhCovGnss.c index 54be6e40f8..9ff477e267 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhCovGnss.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhCovGnss.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhGnss.c b/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhGnss.c index 981c3578a1..06fa563e69 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhGnss.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPosLlhGnss.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgPoseRelative.c b/c/test/legacy/auto_check_sbp_navigation_MsgPoseRelative.c index 42c5fcff54..4a3f7ef469 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgPoseRelative.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgPoseRelative.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevel.c b/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevel.c index e9c8cc397a..3913afb32d 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevel.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevel.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevelDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevelDepA.c index a71899e553..f7c4d57c4d 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevelDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgProtectionLevelDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgReferenceFrameParam.c b/c/test/legacy/auto_check_sbp_navigation_MsgReferenceFrameParam.c index dc4d02e759..b5c2647e60 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgReferenceFrameParam.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgReferenceFrameParam.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgUTCLeapSecond.c b/c/test/legacy/auto_check_sbp_navigation_MsgUTCLeapSecond.c index 0d7c97f845..18581a373d 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgUTCLeapSecond.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgUTCLeapSecond.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgUTCTime.c b/c/test/legacy/auto_check_sbp_navigation_MsgUTCTime.c index ed51d9aa03..9b5c575402 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgUTCTime.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgUTCTime.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgUTCTimeGNSS.c b/c/test/legacy/auto_check_sbp_navigation_MsgUTCTimeGNSS.c index f9a0035bcb..938a3b758a 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgUTCTimeGNSS.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgUTCTimeGNSS.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelBody.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelBody.c index 3cde10a981..51c68582ed 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelBody.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelBody.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelCog.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelCog.c index 69219bddf0..f110d1fe67 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelCog.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelCog.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelECEF.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelECEF.c index a3f1bcd8e5..ea76b925ad 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelECEF.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelECEF.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFCov.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFCov.c index 1ee9284a7e..7b34aa24c4 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFCov.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFCov.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFDepA.c index 3b410c696d..29084e8e8e 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelECEFDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefCovGnss.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefCovGnss.c index ebc57f9adc..7643874d4b 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefCovGnss.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefCovGnss.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefGnss.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefGnss.c index 4de2739fc0..fb932ca054 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefGnss.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelEcefGnss.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelNED.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelNED.c index 2d2b99c75d..bdb0b403d5 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelNED.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelNED.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDCOV.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDCOV.c index 4a7185c79f..f7d0101e06 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDCOV.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDCOV.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDDepA.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDDepA.c index 5b62f17735..528949fb04 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDDepA.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelNEDDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelNedCovGnss.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelNedCovGnss.c index 4e53057c4b..13d624b5f0 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelNedCovGnss.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelNedCovGnss.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_navigation_MsgVelNedGnss.c b/c/test/legacy/auto_check_sbp_navigation_MsgVelNedGnss.c index ef56387b44..77a517e0eb 100644 --- a/c/test/legacy/auto_check_sbp_navigation_MsgVelNedGnss.c +++ b/c/test/legacy/auto_check_sbp_navigation_MsgVelNedGnss.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ndb_MsgNdbEvent.c b/c/test/legacy/auto_check_sbp_ndb_MsgNdbEvent.c index 1f0b0cc013..c0d29d2702 100644 --- a/c/test/legacy/auto_check_sbp_ndb_MsgNdbEvent.c +++ b/c/test/legacy/auto_check_sbp_ndb_MsgNdbEvent.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLO.c b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLO.c index 3e4a610130..c7665a96c1 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLO.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLO.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLODep.c b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLODep.c index 9cc8f4d5fc..c42f66018e 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLODep.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGLODep.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPS.c b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPS.c index be9e21d2b8..43ece06c15 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPS.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPS.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPSDep.c b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPSDep.c index 30954fb3ad..cd613e3623 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPSDep.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgAlmanacGPSDep.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgBasePosEcef.c b/c/test/legacy/auto_check_sbp_observation_MsgBasePosEcef.c index dcf99c3631..696b07f85f 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgBasePosEcef.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgBasePosEcef.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgBasePosLLH.c b/c/test/legacy/auto_check_sbp_observation_MsgBasePosLLH.c index 6dba7c067b..c904891f37 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgBasePosLLH.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgBasePosLLH.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisBds.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisBds.c index 933508d62a..0d0bc7a7f2 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisBds.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisBds.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepA.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepA.c index f32b3d7dda..ed5afb38d8 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepA.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepC.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepC.c index 91ccdf3af2..01a3fd26b1 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepC.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepC.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepD.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepD.c index 7f863a04c8..f5900a1237 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepD.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisDepD.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLO.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLO.c index fe3b828977..8f1738068c 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLO.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLO.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepA.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepA.c index 4787a2187c..68d51a743f 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepA.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepB.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepB.c index 46f1e54df5..172c935b64 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepB.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepC.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepC.c index c58497d0aa..6970f75b63 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepC.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepC.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepD.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepD.c index f61c9335b4..1f44f3af50 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepD.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGLODepD.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPS.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPS.c index d0f84fdf99..2a82abea00 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPS.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPS.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepE.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepE.c index eb955407f8..a73e62520f 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepE.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepE.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepF.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepF.c index f5eb97a19d..e8b4f56361 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepF.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGPSDepF.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGal.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGal.c index acfb245c1b..4ff78266a9 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGal.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGal.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGalDepA.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGalDepA.c index 9f094c07b9..293b40a43b 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGalDepA.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisGalDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbas.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbas.c index 6fd3be3f96..d101e3365e 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbas.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbas.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepA.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepA.c index 129262b648..0b5d09394d 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepA.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepB.c b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepB.c index 93e64597ed..18c35839f4 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepB.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgEphemerisSbasDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgGloBiases.c b/c/test/legacy/auto_check_sbp_observation_MsgGloBiases.c index ae9ff0c4a8..c4c271be13 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgGloBiases.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgGloBiases.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgGnssCapb.c b/c/test/legacy/auto_check_sbp_observation_MsgGnssCapb.c index ab27bfac72..909f60b525 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgGnssCapb.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgGnssCapb.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgGroupDelay.c b/c/test/legacy/auto_check_sbp_observation_MsgGroupDelay.c index 1f11f70cfa..7ed678ed57 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgGroupDelay.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgGroupDelay.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepA.c b/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepA.c index f3c34a7538..32edb03ee6 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepA.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepB.c b/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepB.c index ee8646240f..b6f39b4568 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepB.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgGroupDelayDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgIono.c b/c/test/legacy/auto_check_sbp_observation_MsgIono.c index 6ce33bd350..69e6e5efb6 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgIono.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgIono.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgObs.c b/c/test/legacy/auto_check_sbp_observation_MsgObs.c index b9571f2ea8..fe58be3a26 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgObs.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgObs.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgObsDepB.c b/c/test/legacy/auto_check_sbp_observation_MsgObsDepB.c index b98708363c..5a955e7bc3 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgObsDepB.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgObsDepB.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgObsDepC.c b/c/test/legacy/auto_check_sbp_observation_MsgObsDepC.c index 136f631f67..18bd59c52e 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgObsDepC.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgObsDepC.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgOsr.c b/c/test/legacy/auto_check_sbp_observation_MsgOsr.c index 91464a0fc4..5b0a69d2e8 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgOsr.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgOsr.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgSvAzEl.c b/c/test/legacy/auto_check_sbp_observation_MsgSvAzEl.c index 53339ba5d3..ee04e712a8 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgSvAzEl.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgSvAzEl.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c b/c/test/legacy/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c index 8be7d04903..1c60161072 100644 --- a/c/test/legacy/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c +++ b/c/test/legacy/auto_check_sbp_observation_MsgSvConfigurationGpsDep.c @@ -15,11 +15,21 @@ // by generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_msgEphemerisDepB.c b/c/test/legacy/auto_check_sbp_observation_msgEphemerisDepB.c index 1b410e2571..e97cca377a 100644 --- a/c/test/legacy/auto_check_sbp_observation_msgEphemerisDepB.c +++ b/c/test/legacy/auto_check_sbp_observation_msgEphemerisDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_msgEphemerisQzss.c b/c/test/legacy/auto_check_sbp_observation_msgEphemerisQzss.c index 0080ab3f07..4155021678 100644 --- a/c/test/legacy/auto_check_sbp_observation_msgEphemerisQzss.c +++ b/c/test/legacy/auto_check_sbp_observation_msgEphemerisQzss.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_observation_msgObsDepA.c b/c/test/legacy/auto_check_sbp_observation_msgObsDepA.c index b1dfb421da..c31278e358 100644 --- a/c/test/legacy/auto_check_sbp_observation_msgObsDepA.c +++ b/c/test/legacy/auto_check_sbp_observation_msgObsDepA.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_orientation_MsgAngularRate.c b/c/test/legacy/auto_check_sbp_orientation_MsgAngularRate.c index 54ce6a155c..1ba0783f07 100644 --- a/c/test/legacy/auto_check_sbp_orientation_MsgAngularRate.c +++ b/c/test/legacy/auto_check_sbp_orientation_MsgAngularRate.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_orientation_MsgBaselineHeading.c b/c/test/legacy/auto_check_sbp_orientation_MsgBaselineHeading.c index beac4b06fa..d15f66011a 100644 --- a/c/test/legacy/auto_check_sbp_orientation_MsgBaselineHeading.c +++ b/c/test/legacy/auto_check_sbp_orientation_MsgBaselineHeading.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_orientation_MsgOrientEuler.c b/c/test/legacy/auto_check_sbp_orientation_MsgOrientEuler.c index 9c0dd5b916..2206410ef8 100644 --- a/c/test/legacy/auto_check_sbp_orientation_MsgOrientEuler.c +++ b/c/test/legacy/auto_check_sbp_orientation_MsgOrientEuler.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_orientation_MsgOrientQuat.c b/c/test/legacy/auto_check_sbp_orientation_MsgOrientQuat.c index cd997164a1..13fd2be4ca 100644 --- a/c/test/legacy/auto_check_sbp_orientation_MsgOrientQuat.c +++ b/c/test/legacy/auto_check_sbp_orientation_MsgOrientQuat.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgAlmanac.c b/c/test/legacy/auto_check_sbp_piksi_MsgAlmanac.c index 4d7260842a..9777ea5873 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgAlmanac.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgAlmanac.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgCellModemStatus.c b/c/test/legacy/auto_check_sbp_piksi_MsgCellModemStatus.c index 52553e7e8b..e8178d71ce 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgCellModemStatus.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgCellModemStatus.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgCommandOutput.c b/c/test/legacy/auto_check_sbp_piksi_MsgCommandOutput.c index f0ccc82a57..b033c2e7bf 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgCommandOutput.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgCommandOutput.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgCommandReq.c b/c/test/legacy/auto_check_sbp_piksi_MsgCommandReq.c index 5f73bc734b..b42a8382db 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgCommandReq.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgCommandReq.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgCommandResp.c b/c/test/legacy/auto_check_sbp_piksi_MsgCommandResp.c index 7f2737f48a..e3b7149979 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgCommandResp.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgCommandResp.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgCwResults.c b/c/test/legacy/auto_check_sbp_piksi_MsgCwResults.c index db17a469c9..60be41939a 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgCwResults.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgCwResults.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgCwStart.c b/c/test/legacy/auto_check_sbp_piksi_MsgCwStart.c index 1f5559d8cc..3756df1d58 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgCwStart.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgCwStart.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgDeviceMonitor.c b/c/test/legacy/auto_check_sbp_piksi_MsgDeviceMonitor.c index a9b1fc722e..f42cbf5bc6 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgDeviceMonitor.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgDeviceMonitor.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgFrontEndGain.c b/c/test/legacy/auto_check_sbp_piksi_MsgFrontEndGain.c index 3212b289f8..f9e613e30e 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgFrontEndGain.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgFrontEndGain.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgIarState.c b/c/test/legacy/auto_check_sbp_piksi_MsgIarState.c index 7ffedd4900..3731aaf914 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgIarState.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgIarState.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgInitBaseDep.c b/c/test/legacy/auto_check_sbp_piksi_MsgInitBaseDep.c index 26f9508a70..e83e7bbf2a 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgInitBaseDep.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgInitBaseDep.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatellite.c b/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatellite.c index e4f242828a..b33c89e9e2 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatellite.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatellite.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatelliteDep.c b/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatelliteDep.c index e327b26d0c..41942e426f 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatelliteDep.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgMaskSatelliteDep.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c b/c/test/legacy/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c index 9c62bdad1c..410c21ca41 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateReq.c b/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateReq.c index 7b92d10e73..796b0123ab 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateReq.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateResp.c b/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateResp.c index 665b4825fd..34f03e9602 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateResp.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgNetworkStateResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgReset.c b/c/test/legacy/auto_check_sbp_piksi_MsgReset.c index 3e0d2bfb1a..a110933a6c 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgReset.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgReset.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgResetDep.c b/c/test/legacy/auto_check_sbp_piksi_MsgResetDep.c index e57956ccfe..f1439b3e62 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgResetDep.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgResetDep.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgResetFilters.c b/c/test/legacy/auto_check_sbp_piksi_MsgResetFilters.c index e371cc56f2..db561228e6 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgResetFilters.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgResetFilters.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgSetTime.c b/c/test/legacy/auto_check_sbp_piksi_MsgSetTime.c index e7b2975013..5559eb5184 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgSetTime.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgSetTime.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgSpecan.c b/c/test/legacy/auto_check_sbp_piksi_MsgSpecan.c index 5a09541f60..6b729e1aaa 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgSpecan.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgSpecan.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgSpecanDep.c b/c/test/legacy/auto_check_sbp_piksi_MsgSpecanDep.c index 73e3a770ba..6ca3ce70ce 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgSpecanDep.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgSpecanDep.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgThreadState.c b/c/test/legacy/auto_check_sbp_piksi_MsgThreadState.c index 512ad8fe7b..dcd7757d93 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgThreadState.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgThreadState.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgUartState.c b/c/test/legacy/auto_check_sbp_piksi_MsgUartState.c index b98bf6a535..a4a641ad4b 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgUartState.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgUartState.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_piksi_MsgUartStateDepA.c b/c/test/legacy/auto_check_sbp_piksi_MsgUartStateDepA.c index 85d8d13899..7b4cc17f95 100644 --- a/c/test/legacy/auto_check_sbp_piksi_MsgUartStateDepA.c +++ b/c/test/legacy/auto_check_sbp_piksi_MsgUartStateDepA.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_sbas_MsgSbasRaw.c b/c/test/legacy/auto_check_sbp_sbas_MsgSbasRaw.c index 203252d1f0..f0cacfbf6b 100644 --- a/c/test/legacy/auto_check_sbp_sbas_MsgSbasRaw.c +++ b/c/test/legacy/auto_check_sbp_sbas_MsgSbasRaw.c @@ -15,11 +15,21 @@ // modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c index 92e1ad8508..77f6c4ccc7 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexDone.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c index 9cc153a8f2..5fc9e0b636 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c index 381fd7fef8..9669175274 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadByIndexResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadReq.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadReq.c index a3b5789e03..de8571c27a 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadReq.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadReq.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadResp.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadResp.c index 75fcaacfc6..b5d05389f7 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadResp.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsReadResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegister.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegister.c index 75d61bda3e..dbcf932fbf 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegister.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegister.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegisterResp.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegisterResp.c index e9a3b0a5d3..e4eddbd305 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegisterResp.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsRegisterResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsSave.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsSave.c index 39aafad389..4cc64fa6b1 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsSave.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsSave.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsWrite.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsWrite.c index 29ed276cf6..2bd4720418 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsWrite.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsWrite.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_settings_MsgSettingsWriteResp.c b/c/test/legacy/auto_check_sbp_settings_MsgSettingsWriteResp.c index b3deae6411..20ed464e50 100644 --- a/c/test/legacy/auto_check_sbp_settings_MsgSettingsWriteResp.c +++ b/c/test/legacy/auto_check_sbp_settings_MsgSettingsWriteResp.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgCertificateChain.c b/c/test/legacy/auto_check_sbp_signing_MsgCertificateChain.c index a3b9c909cd..93697b8424 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgCertificateChain.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgCertificateChain.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgCertificateChainDep.c b/c/test/legacy/auto_check_sbp_signing_MsgCertificateChainDep.c index fa105352a9..a5b892e41e 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgCertificateChainDep.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgCertificateChainDep.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaCertificate.c b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaCertificate.c index 431b2c45a9..e5ae26798c 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaCertificate.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaCertificate.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignature.c b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignature.c index 1af4072e93..190bebbeec 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignature.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignature.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c index fddf4bcaab..feba85e05a 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c index c4dbe5e194..c1f37de209 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgEcdsaSignatureDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgEd25519CertificateDep.c b/c/test/legacy/auto_check_sbp_signing_MsgEd25519CertificateDep.c index 1c2ee1bd3f..1e1e916650 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgEd25519CertificateDep.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgEd25519CertificateDep.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepA.c b/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepA.c index 0b34e9f58e..150052ea30 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepA.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepB.c b/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepB.c index 8103806309..6491f7f8cc 100644 --- a/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepB.c +++ b/c/test/legacy/auto_check_sbp_signing_MsgEd25519SignatureDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMeta.c b/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMeta.c index ae06b95ef9..bb00129e1c 100644 --- a/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMeta.c +++ b/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMeta.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c b/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c index 0b7efbfa52..67421d6786 100644 --- a/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c +++ b/c/test/legacy/auto_check_sbp_solution_meta_MsgSolnMetaDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodeBiases.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodeBiases.c index 8e008a8bfa..7e0ce4c1bb 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodeBiases.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodeBiases.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c index 33dcdec313..e3c6bbea57 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c index 21541ad35b..400c646d9f 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c index 3ffa8a27ed..12ecfae70e 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrection.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c index cd8edf3d22..f817ebff23 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c index feba430fd8..036bc7455b 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c index 4cc108d9d2..bbf9c9d7b8 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.c @@ -15,11 +15,21 @@ // by generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClock.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClock.c index 65cf2145d9..17fb6d5001 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClock.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClock.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c index 7a5bec7b12..3253cd18fc 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c index 329635f3fd..74c56fd7b0 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.c @@ -15,11 +15,21 @@ // by generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c index 1734e9e2a8..d85b2b4c15 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrPhaseBiases.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrPhaseBiases.c index 10fa2f126e..8d4ed9935f 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrPhaseBiases.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrPhaseBiases.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApc.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApc.c index ac852eb72a..c8c0535b7b 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApc.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApc.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c index 7ddaa83e0d..f82804897c 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrection.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrection.c index 1c1b35a394..146104a186 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrection.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrection.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c index cdd24aa0ae..08c4c63d30 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c index f9a4b8baca..75bb8f5364 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinition.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinition.c index aceb07a326..de97f71cd8 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinition.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinition.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c index a04a0548c9..e5660c075a 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c b/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c index d3f121c4bf..b5d655d2f1 100644 --- a/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c +++ b/c/test/legacy/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetry.c b/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetry.c index 532fe570c0..1451f40f22 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetry.c +++ b/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetry.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetryLabels.c b/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetryLabels.c index aa4c558c10..38d5e65ba9 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetryLabels.c +++ b/c/test/legacy/auto_check_sbp_system_MsgCsacTelemetryLabels.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgDgnssStatus.c b/c/test/legacy/auto_check_sbp_system_MsgDgnssStatus.c index 8e5d5128d9..65072ece7f 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgDgnssStatus.c +++ b/c/test/legacy/auto_check_sbp_system_MsgDgnssStatus.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgGnssTimeOffset.c b/c/test/legacy/auto_check_sbp_system_MsgGnssTimeOffset.c index ae41601f9a..92bfc1c633 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgGnssTimeOffset.c +++ b/c/test/legacy/auto_check_sbp_system_MsgGnssTimeOffset.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgGroupMeta.c b/c/test/legacy/auto_check_sbp_system_MsgGroupMeta.c index f78bd87aed..66339ba33c 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgGroupMeta.c +++ b/c/test/legacy/auto_check_sbp_system_MsgGroupMeta.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgHeartbeat.c b/c/test/legacy/auto_check_sbp_system_MsgHeartbeat.c index 7249358a56..09ae9bfbdf 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgHeartbeat.c +++ b/c/test/legacy/auto_check_sbp_system_MsgHeartbeat.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgInsStatus.c b/c/test/legacy/auto_check_sbp_system_MsgInsStatus.c index dc41235a18..2543725b4f 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgInsStatus.c +++ b/c/test/legacy/auto_check_sbp_system_MsgInsStatus.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgInsUpdates.c b/c/test/legacy/auto_check_sbp_system_MsgInsUpdates.c index 49d568708e..ea53cfb853 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgInsUpdates.c +++ b/c/test/legacy/auto_check_sbp_system_MsgInsUpdates.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgPpsTime.c b/c/test/legacy/auto_check_sbp_system_MsgPpsTime.c index a172cb7136..72dccdbf99 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgPpsTime.c +++ b/c/test/legacy/auto_check_sbp_system_MsgPpsTime.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgSensorAidEvent.c b/c/test/legacy/auto_check_sbp_system_MsgSensorAidEvent.c index 614b5c274e..91e2b72373 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgSensorAidEvent.c +++ b/c/test/legacy/auto_check_sbp_system_MsgSensorAidEvent.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgStartup.c b/c/test/legacy/auto_check_sbp_system_MsgStartup.c index 954fc39dbc..27d09507a4 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgStartup.c +++ b/c/test/legacy/auto_check_sbp_system_MsgStartup.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgStatusJournal.c b/c/test/legacy/auto_check_sbp_system_MsgStatusJournal.c index 96c4de158e..231a020c9d 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgStatusJournal.c +++ b/c/test/legacy/auto_check_sbp_system_MsgStatusJournal.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_system_MsgStatusReport.c b/c/test/legacy/auto_check_sbp_system_MsgStatusReport.c index 57cc584146..1bbbb31a52 100644 --- a/c/test/legacy/auto_check_sbp_system_MsgStatusReport.c +++ b/c/test/legacy/auto_check_sbp_system_MsgStatusReport.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_telemetry_MsgTelSv.c b/c/test/legacy/auto_check_sbp_telemetry_MsgTelSv.c index a85f96197a..f1b0f2ed7e 100644 --- a/c/test/legacy/auto_check_sbp_telemetry_MsgTelSv.c +++ b/c/test/legacy/auto_check_sbp_telemetry_MsgTelSv.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgMeasurementState.c b/c/test/legacy/auto_check_sbp_tracking_MsgMeasurementState.c index 76cddc97c0..4ab093573d 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgMeasurementState.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgMeasurementState.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIq.c b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIq.c index 6abc75f904..419ca07c77 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIq.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIq.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepA.c b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepA.c index f5891b4ed3..b77d6c032c 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepA.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepB.c b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepB.c index 82b74b2a77..a7e84372c4 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepB.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingIqDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingState.c b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingState.c index a92234b791..7a1d48fa8d 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingState.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingState.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDepB.c b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDepB.c index 84bd4cdbd4..105d80d788 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDepB.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDepB.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c index 087cc29407..9539bd50b1 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.c @@ -15,11 +15,21 @@ // by generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c index 6a229ee322..b0a9009578 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.c @@ -15,11 +15,21 @@ // by generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_tracking_MsgtrackingStateDepA.c b/c/test/legacy/auto_check_sbp_tracking_MsgtrackingStateDepA.c index 20061408bc..7ed5888ea8 100644 --- a/c/test/legacy/auto_check_sbp_tracking_MsgtrackingStateDepA.c +++ b/c/test/legacy/auto_check_sbp_tracking_MsgtrackingStateDepA.c @@ -15,11 +15,21 @@ // generate.py. Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_user_MsgUserData.c b/c/test/legacy/auto_check_sbp_user_MsgUserData.c index 193a838b50..dfffd87860 100644 --- a/c/test/legacy/auto_check_sbp_user_MsgUserData.c +++ b/c/test/legacy/auto_check_sbp_user_MsgUserData.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_vehicle_MsgOdometry.c b/c/test/legacy/auto_check_sbp_vehicle_MsgOdometry.c index ec1c7e5ccd..5b1afbcb55 100644 --- a/c/test/legacy/auto_check_sbp_vehicle_MsgOdometry.c +++ b/c/test/legacy/auto_check_sbp_vehicle_MsgOdometry.c @@ -15,11 +15,21 @@ // not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/auto_check_sbp_vehicle_MsgWheeltick.c b/c/test/legacy/auto_check_sbp_vehicle_MsgWheeltick.c index f4141acf6f..f83f64dcc5 100644 --- a/c/test/legacy/auto_check_sbp_vehicle_MsgWheeltick.c +++ b/c/test/legacy/auto_check_sbp_vehicle_MsgWheeltick.c @@ -15,11 +15,21 @@ // Do not modify by hand! #include -#include #include #include // for debugging #include // for malloc +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include +#include +#include + static struct { u32 n_callbacks_logged; u16 sender_id; diff --git a/c/test/legacy/cpp/CMakeLists.txt b/c/test/legacy/cpp/CMakeLists.txt index 0331081338..deb8a38e7b 100644 --- a/c/test/legacy/cpp/CMakeLists.txt +++ b/c/test/legacy/cpp/CMakeLists.txt @@ -11,6 +11,10 @@ swift_add_test(test-libsbp-cpp-legacy sbp gtest_main) swift_set_language_standards(test-libsbp-cpp-legacy) -swift_set_compile_options(test-libsbp-cpp-legacy ADD -Wno-error=array-bounds) +swift_set_compile_options(test-libsbp-cpp-legacy + ADD + -Wno-error=array-bounds + -Wno-deprecated-declarations +) file(COPY sbp_data/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/c/test/legacy/cpp/sbp_data/) diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc index 40ada2f6b3..9bf1a53ea8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResult0 diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc index 3b0533fed2..af07fd54ec 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA0 diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc index 825e518d61..90e9528bea 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB0 diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc index bd0ab2e6ca..95ee86d817 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC0 diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc index b411472d3a..862db337d2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqSvProfile0 diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc index be682851fa..727ea902a2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqSvProfileDep0 diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc index 95e21b1e37..fd623a430b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc @@ -15,6 +15,17 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc index 1aee09f308..2ec128b453 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_bootload_MsgBootloaderHandshakeResp0 diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc index 5a2c098d36..b3a87ae717 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_bootload_MsgBootloaderJumptoApp0 diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc index de12108473..b1cb44f101 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc @@ -15,6 +15,17 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc index 56dcacb0b6..61d7cfd83b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc @@ -15,7 +15,18 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include class Test_legacy_auto_check_sbp_bootload_MsgNapDeviceDnaResp0 diff --git a/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc b/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc index 383db101a5..0b2d06fc39 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ext_events_MsgExtEvent0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc index 237550bfab..87bbca75d3 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioConfigReq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc index 83a52e2c98..dfd5918701 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioConfigResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc index 72b4e358c1..f4b408603a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadDirReq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc index ec3545c252..65eb62eb77 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadDirResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc index c24aa972dc..17c5ca7648 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadReq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc index 963c8c5dcf..94f12cbac4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc index 2d7a2cd32e..831e6b8b64 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioRemove0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc index 6c55f35d51..5622e967cc 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_file_io_MsgFileioWriteResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc index 6b2f9e03e4..ca8af7c8a6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgFlashDone0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc index c74a254f22..5be6838010 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgFlashErase0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc index f57574e5b5..8a90094601 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgFlashProgram0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc index 62d3751fe2..d11981908d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgFlashReadReq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc index 807c6d59b1..cc5993a232 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgFlashReadResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc index 02fc16516b..5e998b877b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgM25FlashWriteStatus0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc index 45550167a7..7e488bd3cf 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgStmFlashLockSector0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc index 3705c2a915..0071e51597 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgStmFlashUnlockSector0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc index 039b0be426..5a975b2cdf 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc @@ -15,6 +15,17 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc index 6c9fcff604..83073e5170 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_flash_MsgStmUniqueIdResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc index 0b910ec0ca..c0a26b67b1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc +++ b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_imu_MsgImuAux0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc index e247e772e7..3df4067220 100644 --- a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc +++ b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_imu_MsgImuRaw0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc index 9b847f07fb..0d864e5763 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_integrity_MsgAcknowledge0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc index 68a8ae01f4..2aff8f5b92 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagHighLevel0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc index 786ec69d4d..990fea5cae 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc @@ -15,9 +15,20 @@ // by generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc index 67f9790b02..af4cafd69f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc index d03b0e04d0..87512951ab 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc index f5cefd8cd4..8111878211 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagSatellites0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc index 109c4b1931..93f351d9c9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc index 846a1eaaac..0d1b8110ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxCpuState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc index c489c96e30..db33881e06 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxCpuStateDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc index 36dcc407d2..238d6ff1ca 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxMemState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc index 3d5738c181..2c6ba758da 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxMemStateDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc index c55d034f73..3b79026669 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessFdCount0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc index d55370edea..5ccf63639e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessFdSummary0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc index 5a56c387cc..a65a52def7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessSocketCounts0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc index bef3207f7a..c9538362f0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessSocketQueues0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc index 31c3fd1dc0..9314c2e698 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxSocketUsage0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc index 667bf5dea2..fcbb936aa6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxSysState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc index 5151ce0992..edaaf98c39 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_linux_MsgLinuxSysStateDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc b/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc index 063f81fe0c..90e3f677aa 100644 --- a/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc +++ b/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_logging_MsgFwd0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc b/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc index dfcde24771..229211346a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc +++ b/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_logging_MsgLog0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc b/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc index f10237dc7e..bf4b868e33 100644 --- a/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_logging_MsgPrintDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc b/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc index 0bc22684c6..5fffdb4bba 100644 --- a/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc +++ b/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_mag_MsgMagRaw0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc index 52748e4ebb..0054dd0d90 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgAgeCorrections0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc index cd5fc2df9a..92a79e5c43 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc index 916e53941e..31b140d784 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc index 5154f47942..c51b0cd4d8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgBaselineHeadingDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc index 6a0c4b5c8c..02ba588b6b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgBaselineNED0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc index 1e963d2068..e166e11148 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc index 8ca218759e..39898ef504 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgDops0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc index 32f88f5d64..fcd97e42b6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc index f5f81a63b0..61ba0b974b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgGPSTime0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc index d72b342e28..0f592910a9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc index ad0232fe53..b6c6ab3fad 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc index b8d2e94c46..8fcc18ff57 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosECEF0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc index 8f827812ed..f6d2b70670 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFCov0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc index 2ddc68d08d..013d76a917 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFCovGNSS0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc index 5b96b7ea8b..503cdb9fac 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc index b8c7665503..cb3ecbe702 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFGNSS0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc index a78b03422b..9605c35453 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosLLH0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc index 6e08462c80..74d1d1cf81 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosLLHCov0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc index 2492b3b31f..e01b00cd6e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc index 8390514db0..4604b9a273 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosLlhAcc0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc index d558a46479..ad02ee0c3f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosLlhCovGnss0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc index 45e70055b5..3662f11563 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPosLlhGnss0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc index 33e237ad64..8692d97fc1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgPoseRelative0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc index 1084956596..645a4757fe 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgProtectionLevel0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc index 05ee4d54ff..aa68d23173 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgProtectionLevelDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc index 83582b4e87..d435459a70 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgReferenceFrameParam0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc index 591f6e7da2..f6e093545d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgUTCLeapSecond0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc index 0ba698e739..31f6d54540 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgUTCTime0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc index c622f0ab83..6d61e8e52a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgUTCTimeGNSS0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc index 0ad1fee31d..d917e88248 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelBody0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc index 2ed7b1b354..6763f0a84d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelCog0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc index 479b230fab..e5e8726e81 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelECEF0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc index 5e14e8161e..d37dfe7f86 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelECEFCov0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc index 33424e1a59..e71bc512ad 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc index e25a10b2c5..3984412af9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelEcefCovGnss0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc index bb2efbfe25..fd475cbbe4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelEcefGnss0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc index 5ee8ddac90..ce857216c0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelNED0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc index c99668abfb..8643d35663 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelNEDCOV0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc index b0d5df6b0a..14dacc1ab7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc index f4f2d9aa56..2564000f94 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelNedCovGnss0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc index 2040d8b007..5f1216de9d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_navigation_MsgVelNedGnss0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc b/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc index d3d3c9cdfb..dc45794eeb 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ndb_MsgNdbEvent0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc index ad4deb21b1..e86908914e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGLO0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc index c8959406c6..2c61ddaacf 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGLODep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc index 7be8a24e4b..8f2f183255 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGPS0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc index 890d21b7ef..a5d725e9ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGPSDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc index 349eda6b19..4824813bea 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgBasePosEcef0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc index 02c74832c9..88ed852311 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgBasePosLLH0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc index 4ce852a134..3749d271ec 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisBds0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc index 2d1b6c3b3b..caa130ac15 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc index 4c79a32f9a..bf5b6eea7f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisDepC0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc index 993b81f423..212919dfc7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisDepD0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc index dc1b5ea8ac..c679fb8bad 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLO0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc index d66faac051..2a05a9760f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc index ac88b0656a..8b0bbe3305 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc index 1d4f0fedc8..47c7b75dd5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepC0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc index 5934d0e409..42cef16c9a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepD0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc index dfebeb63c1..282d619d92 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGPS0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc index 5f06daff2b..3db47054b9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGPSDepE0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc index 7fa51091d5..168f94e919 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGPSDepF0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc index 39e997be01..ba5a379923 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGal0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc index 18c6bb285e..ead2616db7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGalDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc index c1b6a95b69..46401827f4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisSbas0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc index 3249339ae6..222f986346 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisSbasDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc index 7cc2b1fa3a..1c3d1195ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgEphemerisSbasDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc index 1e4b8fd2f5..f4e111c447 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgGloBiases0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc index f241d8fe32..243be25ad9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgGnssCapb0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc index db91586c25..8a1fbf6174 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgGroupDelay0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc index ad0a067e6f..a48d3c4953 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgGroupDelayDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc index 06f694f245..ad4685f94f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgGroupDelayDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc index 4ff2f3808f..fb5eacf5c8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgIono0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc index bccd38552e..06a9976c8c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgObs0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc index 3648d2636d..c7ef5d80ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgObsDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc index 518aecaf0c..e67b905e79 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgObsDepC0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc index b92f8c81f1..e1306ced7c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgOsr0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc index 1b1155c7a9..44fafd2afd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgSvAzEl0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc index 1832697c45..209c849cac 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc @@ -15,9 +15,20 @@ // by generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_MsgSvConfigurationGpsDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc index 61cfb021fb..02f00be3bc 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_msgEphemerisDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc index 7ca7ea7030..dac76507da 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_msgEphemerisQzss0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc index ee25210eed..a70e359213 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_observation_msgObsDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc index 3fc80bb234..8c807930e0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_orientation_MsgAngularRate0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc index 897662bb54..6b9ee9801d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_orientation_MsgBaselineHeading0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc index 8b1eba2459..667a18cc24 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_orientation_MsgOrientEuler0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc index bf60151f61..3efc7c85b9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_orientation_MsgOrientQuat0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc index 1f96674098..175d518828 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc @@ -15,6 +15,17 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc index 5ce988e0ce..6c8229577e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgCellModemStatus0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc index 097644cd47..6d5ebe35d5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgCommandOutput0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc index 826a279230..3fc1ccdb17 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgCommandReq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc index 7b478f20e5..8a717a8ccd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgCommandResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc index 2d0e661723..582c030440 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc @@ -15,6 +15,17 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc index 8b0869d145..042c265382 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc @@ -15,6 +15,17 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc index eeca83afc3..eab022587a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc index f703c5c5f3..457f401bac 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgFrontEndGain0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc index ba5e037200..793f58514a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgIarState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc index 1234f713c2..0b53f1cebd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc @@ -15,6 +15,17 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc index 8367826463..7a374c6f70 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgMaskSatellite0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc index e19a963fd1..9dff5f3bc8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgMaskSatelliteDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc index 5ec1430031..8fcff4df2c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgNetworkBandwidthUsage0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc index dde04080bd..44627a0d93 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc @@ -15,6 +15,17 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc index 421aab73e2..5658d3d828 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgNetworkStateResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc index 3a1c7db560..0dcdd78276 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgReset0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc index 99a27d8006..1cfc8783ab 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc @@ -15,6 +15,17 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc index 65355e379e..9bd0e30cb1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgResetFilters0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc index ecaba9f99a..e53bf615c8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc @@ -15,6 +15,17 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc index ab5581dd2f..f2837dfd26 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgSpecan0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc index 1340182b1f..7e0f8ee2f5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgSpecanDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc index f01a6b743f..e9e508da20 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgThreadState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc index 42641a0565..bb2ac62ee7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgUartState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc index 0c69a7e6c9..9c10ca02f0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc b/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc index ea936220f8..3cd14c6892 100644 --- a/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc +++ b/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc @@ -15,9 +15,20 @@ // modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_sbas_MsgSbasRaw0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc index 3716539204..8e5f102e42 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc @@ -15,6 +15,17 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc index f69d2b70e1..977df0f3df 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexReq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc index 5d15ebfb5e..44d428e2a4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc index a7c00160e5..0be105fd0e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadReq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc index 76e73e270a..b79c89e318 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc index 3c6ce5e1b9..162a63f7d3 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsRegister0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc index 33daab26bc..c85cc4ce18 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsRegisterResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc index c8b4acc7e6..2480610578 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc @@ -15,6 +15,17 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc index 0ed876462d..5f57b241d7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsWrite0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc index 6a050b6b1c..06c55be4fd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_settings_MsgSettingsWriteResp0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc index dc7ae2fc2f..cc2b84b2b7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgCertificateChain0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc index bbe984b907..bd36d0ea7b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgCertificateChainDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc index cf1b3c5c28..02b208f3d3 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgEcdsaCertificate0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc index fe30635809..cd98c0cc0e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgEcdsaSignature0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc index b3a297cb12..d33fa595c2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgEcdsaSignatureDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc index 17ca262381..35f96bd0e8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgEcdsaSignatureDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc index dbf5967edd..44f7ffa375 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgEd25519CertificateDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc index aed7b4fcd0..02f6a75e8b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgEd25519SignatureDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc index c45674480c..8839b5bcc5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_signing_MsgEd25519SignatureDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc index 7e5c1c50f1..07e1269713 100644 --- a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc +++ b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_solution_meta_MsgSolnMeta0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc index 269a8226bc..76e062baf4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_solution_meta_MsgSolnMetaDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc index 7c8669c852..a09529df23 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrCodeBiases0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc index 8a78dc6d5c..d092cca826 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc index d22a0befdf..2cea5eea49 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrGridDefinitionDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc index 73a257363e..802fe50a68 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrection0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc index 9ec205e22b..6a422982f5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc index 8b61459328..b207b917a1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc index b2f5ed9974..ec1f9bf99f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc @@ -15,9 +15,20 @@ // by generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc index 7f7adc0598..b23e1689bb 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClock0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc index a11c533ac0..9dddf81430 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockBounds0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc index 094218a5f7..1de64e3ea3 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc @@ -15,9 +15,20 @@ // by generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc index 4472780ba9..be5186a1f0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc index 1fb1b77329..c5df4544c5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrPhaseBiases0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc index da5a14faf5..8fbe33a917 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrSatelliteApc0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc index 2bb41591ab..d7f1535091 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrSatelliteApcDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc index 5457b264d4..86cb9f4a71 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrection0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc index b9e80fe81f..241e862f40 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrectionDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc index fa2858e47f..bb2bc3df4d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrectionDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc index 2c03db7f7b..71658cc360 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinition0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc index 17176901ec..2ba0c946a9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinitionDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc index 8375ffa30c..5ecc1951f6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinitionDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc index 2f8f963c49..2c4edd98ec 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgCsacTelemetry0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc index a0cd92fe4d..e0ab599b8d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgCsacTelemetryLabels0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc index 6879ea59a6..0facfb0cfa 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgDgnssStatus0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc index 76c289cb7a..c43f852ce6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgGnssTimeOffset0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc index 28a2eb6910..0ae43c5b14 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgGroupMeta0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc index 3168fb0b49..6700163b03 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgHeartbeat0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc index e94ca3b483..c370d1b089 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgInsStatus0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc index deecbffdd0..1d4b415ffa 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgInsUpdates0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc index 1242ed6337..0bee058c1a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgPpsTime0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc index 8de898d6ac..ed6dfeb3aa 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgSensorAidEvent0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc index bffbd39a36..211229d4ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgStartup0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc index cd75588cd1..b29d08d076 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgStatusJournal0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc index bf8fe574e9..284b718ee0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_system_MsgStatusReport0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc b/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc index 297e783bd5..abbec27af5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc +++ b/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_telemetry_MsgTelSv0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc index 44e45ad649..424a895866 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgMeasurementState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc index a085c5e43d..7f07a69d2c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgTrackingIq0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc index b77824a640..04b63dcb32 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgTrackingIqDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc index 9065a319b9..c45d4a819d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgTrackingIqDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc index f11b8a68a7..6718e8ec5a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgTrackingState0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc index 283a8216ef..7d61c42bac 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDepB0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc index dd96861c9b..32adfc6688 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc @@ -15,9 +15,20 @@ // by generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc index de70f2359b..a769598afe 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc @@ -15,9 +15,20 @@ // by generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc index 99050e2bb0..0353c01b9e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc @@ -15,9 +15,20 @@ // generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc b/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc index dafc79dcb8..87712587ac 100644 --- a/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc +++ b/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_user_MsgUserData0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc index 2f6ddf15cd..a2b36f76ef 100644 --- a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc +++ b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc @@ -15,9 +15,20 @@ // not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_vehicle_MsgOdometry0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc index 986af36590..fe22ceb7ba 100644 --- a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc +++ b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc @@ -15,9 +15,20 @@ // Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include +#include class Test_legacy_auto_check_sbp_vehicle_MsgWheeltick0 : public ::testing::Test, public sbp::State, diff --git a/c/test/legacy/cpp/test_sbp_stdio.cc b/c/test/legacy/cpp/test_sbp_stdio.cc index 5de76451dd..bf78785119 100644 --- a/c/test/legacy/cpp/test_sbp_stdio.cc +++ b/c/test/legacy/cpp/test_sbp_stdio.cc @@ -12,6 +12,14 @@ #include +#include +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include #include diff --git a/generator/sbpg/targets/resources/c/include/libsbp/legacy/sbp_messages_template.h b/generator/sbpg/targets/resources/c/include/libsbp/legacy/sbp_messages_template.h index 6a920c27c7..9466ff5d33 100644 --- a/generator/sbpg/targets/resources/c/include/libsbp/legacy/sbp_messages_template.h +++ b/generator/sbpg/targets/resources/c/include/libsbp/legacy/sbp_messages_template.h @@ -25,6 +25,10 @@ #include +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols contained will " + "be removed in version 6. You should immediately switch over to the modern libsbp API.") + #include ((*- for i in include *)) #include @@ -41,7 +45,7 @@ SBP_PACK_START ((*- endif *)) ((*- if m.fields *)) -typedef struct SBP_ATTR_PACKED { +typedef struct SBP_ATTR_PACKED SBP_DEPRECATED { ((*- for f in m.fields *)) ((*- if f.desc *)) (((f|mk_id))) ((((f|mk_size).ljust(m.max_fid_len+4)))) /**< ((( f.desc|commentify_field(f,m) ))) ((* if f.units *))[(((f.units)))] ((* endif *))*/ diff --git a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c index 9cdaa724bc..fcc5d59ce3 100644 --- a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c +++ b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include ((*- for m in package.msgs *)) @@ -253,7 +253,7 @@ s8 (((m.send_fn)))(sbp_state_t *s, u16 sender_id, const (((m.type_name))) *msg, uint8_t payload_len; s8 ret = (((m.public_encode_fn)))(payload, sizeof(payload), &payload_len, msg); if (ret != SBP_OK) { return ret; } - return sbp_payload_send(s, (((m.legacy_msg_type))), sender_id, payload_len, payload, write); + return sbp_internal_forward_payload(s, (((m.legacy_msg_type))), sender_id, payload_len, payload, write); } ((*- endif *)) diff --git a/generator/sbpg/targets/resources/c/test/legacy/sbp_c_test.c.j2 b/generator/sbpg/targets/resources/c/test/legacy/sbp_c_test.c.j2 index bf47485684..2d422f6cb2 100644 --- a/generator/sbpg/targets/resources/c/test/legacy/sbp_c_test.c.j2 +++ b/generator/sbpg/targets/resources/c/test/legacy/sbp_c_test.c.j2 @@ -16,7 +16,17 @@ #include // for debugging #include // for malloc #include + +// Obviously we don't normally want to silence this message, but we also need to still +// test the legacy implementation for as long as it exists. By silencing these messages +// here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif #include +#include +#include static struct { u32 n_callbacks_logged; diff --git a/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 b/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 index ac9c3c2132..edf5dcf1e5 100644 --- a/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 +++ b/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 @@ -13,7 +13,18 @@ // This file was auto-generated from (((s.src_filename))) by generate.py. Do not modify by hand! #include + +#include #include + +// Obviously we don't normally want to silence this message, but we also need to still +// test the legacy implementation for as long as it exists. By silencing these messages +// here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include #include #include From 80e1e8f4d40748eef1c798350120667ccf6af1ae Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 16:04:29 +1100 Subject: [PATCH 11/19] Break up C++ State to remove legacy dependency, silence compile time warnings in legacy test suites --- c/include/libsbp/cpp/state.h | 11 +---- c/include/libsbp/legacy/cpp/frame_handler.h | 14 +++--- c/include/libsbp/legacy/cpp/legacy_state.h | 42 +++++++++++++++++ c/include/libsbp/legacy/cpp/payload_handler.h | 8 ++-- ...auto_check_sbp_acquisition_MsgAcqResult.cc | 6 +-- ..._check_sbp_acquisition_MsgAcqResultDepA.cc | 26 +++++------ ..._check_sbp_acquisition_MsgAcqResultDepB.cc | 22 ++++----- ..._check_sbp_acquisition_MsgAcqResultDepC.cc | 22 ++++----- ...o_check_sbp_acquisition_MsgAcqSvProfile.cc | 6 +-- ...heck_sbp_acquisition_MsgAcqSvProfileDep.cc | 6 +-- ..._sbp_bootload_MsgBootloaderHandshakeReq.cc | 2 +- ...sbp_bootload_MsgBootloaderHandshakeResp.cc | 10 ++-- ...eck_sbp_bootload_MsgBootloaderJumptoApp.cc | 6 +-- ...o_check_sbp_bootload_MsgNapDeviceDnaReq.cc | 2 +- ..._check_sbp_bootload_MsgNapDeviceDnaResp.cc | 6 +-- .../auto_check_sbp_ext_events_MsgExtEvent.cc | 6 +-- ...to_check_sbp_file_io_MsgFileioConfigReq.cc | 6 +-- ...o_check_sbp_file_io_MsgFileioConfigResp.cc | 6 +-- ...o_check_sbp_file_io_MsgFileioReadDirReq.cc | 6 +-- ..._check_sbp_file_io_MsgFileioReadDirResp.cc | 6 +-- ...auto_check_sbp_file_io_MsgFileioReadReq.cc | 6 +-- ...uto_check_sbp_file_io_MsgFileioReadResp.cc | 6 +-- .../auto_check_sbp_file_io_MsgFileioRemove.cc | 6 +-- ...to_check_sbp_file_io_MsgFileioWriteResp.cc | 6 +-- .../cpp/auto_check_sbp_flash_MsgFlashDone.cc | 6 +-- .../cpp/auto_check_sbp_flash_MsgFlashErase.cc | 6 +-- .../auto_check_sbp_flash_MsgFlashProgram.cc | 6 +-- .../auto_check_sbp_flash_MsgFlashReadReq.cc | 6 +-- .../auto_check_sbp_flash_MsgFlashReadResp.cc | 6 +-- ..._check_sbp_flash_MsgM25FlashWriteStatus.cc | 6 +-- ...o_check_sbp_flash_MsgStmFlashLockSector.cc | 6 +-- ...check_sbp_flash_MsgStmFlashUnlockSector.cc | 6 +-- .../auto_check_sbp_flash_MsgStmUniqueIdReq.cc | 2 +- ...auto_check_sbp_flash_MsgStmUniqueIdResp.cc | 6 +-- .../cpp/auto_check_sbp_imu_MsgImuAux.cc | 6 +-- .../cpp/auto_check_sbp_imu_MsgImuRaw.cc | 6 +-- ...auto_check_sbp_integrity_MsgAcknowledge.cc | 6 +-- ...check_sbp_integrity_MsgSsrFlagHighLevel.cc | 6 +-- ...integrity_MsgSsrFlagIonoGridPointSatLos.cc | 6 +-- ..._sbp_integrity_MsgSsrFlagIonoGridPoints.cc | 6 +-- ..._sbp_integrity_MsgSsrFlagIonoTileSatLos.cc | 6 +-- ...heck_sbp_integrity_MsgSsrFlagSatellites.cc | 6 +-- ...sbp_integrity_MsgSsrFlagTropoGridPoints.cc | 6 +-- .../auto_check_sbp_linux_MsgLinuxCpuState.cc | 6 +-- ...to_check_sbp_linux_MsgLinuxCpuStateDepA.cc | 6 +-- .../auto_check_sbp_linux_MsgLinuxMemState.cc | 6 +-- ...to_check_sbp_linux_MsgLinuxMemStateDepA.cc | 6 +-- ..._check_sbp_linux_MsgLinuxProcessFdCount.cc | 6 +-- ...heck_sbp_linux_MsgLinuxProcessFdSummary.cc | 6 +-- ...k_sbp_linux_MsgLinuxProcessSocketCounts.cc | 6 +-- ...k_sbp_linux_MsgLinuxProcessSocketQueues.cc | 6 +-- ...uto_check_sbp_linux_MsgLinuxSocketUsage.cc | 6 +-- .../auto_check_sbp_linux_MsgLinuxSysState.cc | 6 +-- ...to_check_sbp_linux_MsgLinuxSysStateDepA.cc | 6 +-- .../cpp/auto_check_sbp_logging_MsgFwd.cc | 6 +-- .../cpp/auto_check_sbp_logging_MsgLog.cc | 6 +-- .../cpp/auto_check_sbp_logging_MsgPrintDep.cc | 26 +++++------ .../cpp/auto_check_sbp_mag_MsgMagRaw.cc | 6 +-- ..._check_sbp_navigation_MsgAgeCorrections.cc | 6 +-- ...to_check_sbp_navigation_MsgBaselineECEF.cc | 22 ++++----- ...heck_sbp_navigation_MsgBaselineECEFDepA.cc | 46 +++++++++---------- ...k_sbp_navigation_MsgBaselineHeadingDepA.cc | 6 +-- ...uto_check_sbp_navigation_MsgBaselineNED.cc | 22 ++++----- ...check_sbp_navigation_MsgBaselineNEDDepA.cc | 46 +++++++++---------- .../cpp/auto_check_sbp_navigation_MsgDops.cc | 6 +-- .../auto_check_sbp_navigation_MsgDopsDepA.cc | 38 +++++++-------- .../auto_check_sbp_navigation_MsgGPSTime.cc | 22 ++++----- ...uto_check_sbp_navigation_MsgGPSTimeDepA.cc | 46 +++++++++---------- ...uto_check_sbp_navigation_MsgGPSTimeGNSS.cc | 22 ++++----- .../auto_check_sbp_navigation_MsgPosECEF.cc | 18 ++++---- ...auto_check_sbp_navigation_MsgPosECEFCov.cc | 6 +-- ..._check_sbp_navigation_MsgPosECEFCovGNSS.cc | 6 +-- ...uto_check_sbp_navigation_MsgPosECEFDepA.cc | 46 +++++++++---------- ...uto_check_sbp_navigation_MsgPosECEFGNSS.cc | 6 +-- .../auto_check_sbp_navigation_MsgPosLLH.cc | 22 ++++----- .../auto_check_sbp_navigation_MsgPosLLHCov.cc | 6 +-- ...auto_check_sbp_navigation_MsgPosLLHDepA.cc | 46 +++++++++---------- .../auto_check_sbp_navigation_MsgPosLlhAcc.cc | 6 +-- ...o_check_sbp_navigation_MsgPosLlhCovGnss.cc | 6 +-- ...auto_check_sbp_navigation_MsgPosLlhGnss.cc | 6 +-- ...to_check_sbp_navigation_MsgPoseRelative.cc | 6 +-- ...check_sbp_navigation_MsgProtectionLevel.cc | 6 +-- ...k_sbp_navigation_MsgProtectionLevelDepA.cc | 6 +-- ...k_sbp_navigation_MsgReferenceFrameParam.cc | 6 +-- ...o_check_sbp_navigation_MsgUTCLeapSecond.cc | 6 +-- .../auto_check_sbp_navigation_MsgUTCTime.cc | 6 +-- ...uto_check_sbp_navigation_MsgUTCTimeGNSS.cc | 6 +-- .../auto_check_sbp_navigation_MsgVelBody.cc | 6 +-- .../auto_check_sbp_navigation_MsgVelCog.cc | 14 +++--- .../auto_check_sbp_navigation_MsgVelECEF.cc | 22 ++++----- ...auto_check_sbp_navigation_MsgVelECEFCov.cc | 6 +-- ...uto_check_sbp_navigation_MsgVelECEFDepA.cc | 46 +++++++++---------- ..._check_sbp_navigation_MsgVelEcefCovGnss.cc | 6 +-- ...uto_check_sbp_navigation_MsgVelEcefGnss.cc | 6 +-- .../auto_check_sbp_navigation_MsgVelNED.cc | 22 ++++----- .../auto_check_sbp_navigation_MsgVelNEDCOV.cc | 6 +-- ...auto_check_sbp_navigation_MsgVelNEDDepA.cc | 46 +++++++++---------- ...o_check_sbp_navigation_MsgVelNedCovGnss.cc | 6 +-- ...auto_check_sbp_navigation_MsgVelNedGnss.cc | 6 +-- .../cpp/auto_check_sbp_ndb_MsgNdbEvent.cc | 6 +-- ...uto_check_sbp_observation_MsgAlmanacGLO.cc | 6 +-- ..._check_sbp_observation_MsgAlmanacGLODep.cc | 6 +-- ...uto_check_sbp_observation_MsgAlmanacGPS.cc | 6 +-- ..._check_sbp_observation_MsgAlmanacGPSDep.cc | 6 +-- ...to_check_sbp_observation_MsgBasePosEcef.cc | 6 +-- ...uto_check_sbp_observation_MsgBasePosLLH.cc | 6 +-- ...o_check_sbp_observation_MsgEphemerisBds.cc | 6 +-- ..._check_sbp_observation_MsgEphemerisDepA.cc | 6 +-- ..._check_sbp_observation_MsgEphemerisDepC.cc | 6 +-- ..._check_sbp_observation_MsgEphemerisDepD.cc | 6 +-- ...o_check_sbp_observation_MsgEphemerisGLO.cc | 6 +-- ...eck_sbp_observation_MsgEphemerisGLODepA.cc | 6 +-- ...eck_sbp_observation_MsgEphemerisGLODepB.cc | 6 +-- ...eck_sbp_observation_MsgEphemerisGLODepC.cc | 6 +-- ...eck_sbp_observation_MsgEphemerisGLODepD.cc | 6 +-- ...o_check_sbp_observation_MsgEphemerisGPS.cc | 6 +-- ...eck_sbp_observation_MsgEphemerisGPSDepE.cc | 6 +-- ...eck_sbp_observation_MsgEphemerisGPSDepF.cc | 6 +-- ...o_check_sbp_observation_MsgEphemerisGal.cc | 6 +-- ...eck_sbp_observation_MsgEphemerisGalDepA.cc | 6 +-- ..._check_sbp_observation_MsgEphemerisSbas.cc | 6 +-- ...ck_sbp_observation_MsgEphemerisSbasDepA.cc | 6 +-- ...ck_sbp_observation_MsgEphemerisSbasDepB.cc | 6 +-- ...auto_check_sbp_observation_MsgGloBiases.cc | 6 +-- .../auto_check_sbp_observation_MsgGnssCapb.cc | 6 +-- ...uto_check_sbp_observation_MsgGroupDelay.cc | 6 +-- ...check_sbp_observation_MsgGroupDelayDepA.cc | 6 +-- ...check_sbp_observation_MsgGroupDelayDepB.cc | 6 +-- .../cpp/auto_check_sbp_observation_MsgIono.cc | 6 +-- .../cpp/auto_check_sbp_observation_MsgObs.cc | 10 ++-- .../auto_check_sbp_observation_MsgObsDepB.cc | 22 ++++----- .../auto_check_sbp_observation_MsgObsDepC.cc | 22 ++++----- .../cpp/auto_check_sbp_observation_MsgOsr.cc | 6 +-- .../auto_check_sbp_observation_MsgSvAzEl.cc | 6 +-- ...bp_observation_MsgSvConfigurationGpsDep.cc | 6 +-- ..._check_sbp_observation_msgEphemerisDepB.cc | 26 +++++------ ..._check_sbp_observation_msgEphemerisQzss.cc | 6 +-- .../auto_check_sbp_observation_msgObsDepA.cc | 26 +++++------ ...to_check_sbp_orientation_MsgAngularRate.cc | 6 +-- ...heck_sbp_orientation_MsgBaselineHeading.cc | 6 +-- ...to_check_sbp_orientation_MsgOrientEuler.cc | 6 +-- ...uto_check_sbp_orientation_MsgOrientQuat.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgAlmanac.cc | 2 +- ...auto_check_sbp_piksi_MsgCellModemStatus.cc | 6 +-- .../auto_check_sbp_piksi_MsgCommandOutput.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgCommandReq.cc | 6 +-- .../auto_check_sbp_piksi_MsgCommandResp.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgCwResults.cc | 2 +- .../cpp/auto_check_sbp_piksi_MsgCwStart.cc | 2 +- .../auto_check_sbp_piksi_MsgDeviceMonitor.cc | 22 ++++----- .../auto_check_sbp_piksi_MsgFrontEndGain.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgIarState.cc | 30 ++++++------ .../auto_check_sbp_piksi_MsgInitBaseDep.cc | 2 +- .../auto_check_sbp_piksi_MsgMaskSatellite.cc | 6 +-- ...uto_check_sbp_piksi_MsgMaskSatelliteDep.cc | 6 +-- ...heck_sbp_piksi_MsgNetworkBandwidthUsage.cc | 6 +-- ...auto_check_sbp_piksi_MsgNetworkStateReq.cc | 2 +- ...uto_check_sbp_piksi_MsgNetworkStateResp.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgReset.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgResetDep.cc | 2 +- .../auto_check_sbp_piksi_MsgResetFilters.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgSetTime.cc | 2 +- .../cpp/auto_check_sbp_piksi_MsgSpecan.cc | 6 +-- .../cpp/auto_check_sbp_piksi_MsgSpecanDep.cc | 6 +-- .../auto_check_sbp_piksi_MsgThreadState.cc | 46 +++++++++---------- .../cpp/auto_check_sbp_piksi_MsgUartState.cc | 14 +++--- .../auto_check_sbp_piksi_MsgUartStateDepA.cc | 26 +++++------ .../cpp/auto_check_sbp_sbas_MsgSbasRaw.cc | 6 +-- ...sbp_settings_MsgSettingsReadByIndexDone.cc | 2 +- ..._sbp_settings_MsgSettingsReadByIndexReq.cc | 6 +-- ...sbp_settings_MsgSettingsReadByIndexResp.cc | 22 ++++----- ...o_check_sbp_settings_MsgSettingsReadReq.cc | 6 +-- ..._check_sbp_settings_MsgSettingsReadResp.cc | 6 +-- ..._check_sbp_settings_MsgSettingsRegister.cc | 6 +-- ...ck_sbp_settings_MsgSettingsRegisterResp.cc | 6 +-- ...auto_check_sbp_settings_MsgSettingsSave.cc | 2 +- ...uto_check_sbp_settings_MsgSettingsWrite.cc | 6 +-- ...check_sbp_settings_MsgSettingsWriteResp.cc | 6 +-- ...o_check_sbp_signing_MsgCertificateChain.cc | 6 +-- ...heck_sbp_signing_MsgCertificateChainDep.cc | 6 +-- ...o_check_sbp_signing_MsgEcdsaCertificate.cc | 6 +-- ...uto_check_sbp_signing_MsgEcdsaSignature.cc | 6 +-- ...check_sbp_signing_MsgEcdsaSignatureDepA.cc | 6 +-- ...check_sbp_signing_MsgEcdsaSignatureDepB.cc | 6 +-- ...ck_sbp_signing_MsgEd25519CertificateDep.cc | 6 +-- ...eck_sbp_signing_MsgEd25519SignatureDepA.cc | 6 +-- ...eck_sbp_signing_MsgEd25519SignatureDepB.cc | 6 +-- ...uto_check_sbp_solution_meta_MsgSolnMeta.cc | 6 +-- ...check_sbp_solution_meta_MsgSolnMetaDepA.cc | 6 +-- .../auto_check_sbp_ssr_MsgSsrCodeBiases.cc | 6 +-- ...eck_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc | 6 +-- ..._check_sbp_ssr_MsgSsrGridDefinitionDepA.cc | 6 +-- ...o_check_sbp_ssr_MsgSsrGriddedCorrection.cc | 6 +-- ...k_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc | 10 ++-- ...eck_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc | 6 +-- ...bp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc | 6 +-- .../auto_check_sbp_ssr_MsgSsrOrbitClock.cc | 6 +-- ...to_check_sbp_ssr_MsgSsrOrbitClockBounds.cc | 6 +-- ...p_ssr_MsgSsrOrbitClockBoundsDegradation.cc | 6 +-- ...auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc | 6 +-- .../auto_check_sbp_ssr_MsgSsrPhaseBiases.cc | 6 +-- .../auto_check_sbp_ssr_MsgSsrSatelliteApc.cc | 6 +-- ...to_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc | 6 +-- ...auto_check_sbp_ssr_MsgSsrStecCorrection.cc | 6 +-- ...o_check_sbp_ssr_MsgSsrStecCorrectionDep.cc | 6 +-- ..._check_sbp_ssr_MsgSsrStecCorrectionDepA.cc | 6 +-- ...auto_check_sbp_ssr_MsgSsrTileDefinition.cc | 6 +-- ..._check_sbp_ssr_MsgSsrTileDefinitionDepA.cc | 6 +-- ..._check_sbp_ssr_MsgSsrTileDefinitionDepB.cc | 6 +-- .../auto_check_sbp_system_MsgCsacTelemetry.cc | 6 +-- ...check_sbp_system_MsgCsacTelemetryLabels.cc | 6 +-- .../auto_check_sbp_system_MsgDgnssStatus.cc | 6 +-- ...auto_check_sbp_system_MsgGnssTimeOffset.cc | 6 +-- .../cpp/auto_check_sbp_system_MsgGroupMeta.cc | 10 ++-- .../cpp/auto_check_sbp_system_MsgHeartbeat.cc | 10 ++-- .../cpp/auto_check_sbp_system_MsgInsStatus.cc | 6 +-- .../auto_check_sbp_system_MsgInsUpdates.cc | 6 +-- .../cpp/auto_check_sbp_system_MsgPpsTime.cc | 6 +-- ...auto_check_sbp_system_MsgSensorAidEvent.cc | 6 +-- .../cpp/auto_check_sbp_system_MsgStartup.cc | 10 ++-- .../auto_check_sbp_system_MsgStatusJournal.cc | 10 ++-- .../auto_check_sbp_system_MsgStatusReport.cc | 6 +-- .../cpp/auto_check_sbp_telemetry_MsgTelSv.cc | 6 +-- ..._check_sbp_tracking_MsgMeasurementState.cc | 6 +-- .../auto_check_sbp_tracking_MsgTrackingIq.cc | 6 +-- ...to_check_sbp_tracking_MsgTrackingIqDepA.cc | 6 +-- ...to_check_sbp_tracking_MsgTrackingIqDepB.cc | 6 +-- ...uto_check_sbp_tracking_MsgTrackingState.cc | 26 +++++------ ...check_sbp_tracking_MsgTrackingStateDepB.cc | 6 +-- ...bp_tracking_MsgTrackingStateDetailedDep.cc | 22 ++++----- ...p_tracking_MsgTrackingStateDetailedDepA.cc | 6 +-- ...check_sbp_tracking_MsgtrackingStateDepA.cc | 26 +++++------ .../cpp/auto_check_sbp_user_MsgUserData.cc | 6 +-- .../cpp/auto_check_sbp_vehicle_MsgOdometry.cc | 6 +-- .../auto_check_sbp_vehicle_MsgWheeltick.cc | 6 +-- c/test/legacy/cpp/test_sbp_stdio.cc | 8 ++-- .../c/test/legacy/sbp_cpp_test.cc.j2 | 6 +-- 237 files changed, 1128 insertions(+), 1095 deletions(-) create mode 100644 c/include/libsbp/legacy/cpp/legacy_state.h diff --git a/c/include/libsbp/cpp/state.h b/c/include/libsbp/cpp/state.h index ed6d5e20a8..b620593b31 100644 --- a/c/include/libsbp/cpp/state.h +++ b/c/include/libsbp/cpp/state.h @@ -48,6 +48,7 @@ class State { return instance->reader_->read(buff, n); } +protected: static s32 write_func(u8 *buff, u32 n, void *ctx) { State *instance = static_cast(ctx); return instance->writer_->write(buff, n); @@ -76,16 +77,6 @@ class State { return sbp_process(&state_, &read_func); } - s8 send_message(u16 msg_type, u16 sender_id, u8 length, const u8 payload[]) { - // NOLINTNEXTLINE - return sbp_payload_send(&state_, msg_type, sender_id, length, const_cast(payload), &write_func); - } - - s8 process_payload(u16 sender_id, u16 msg_type, u8 msg_length, const u8 payload[]) { - // NOLINTNEXTLINE - return sbp_payload_process(&state_, sender_id, msg_type, msg_length, const_cast(payload)); - } - s8 process_message(u16 sender_id, sbp_msg_type_t msg_type, const sbp_msg_t *msg) { return sbp_message_process(&state_, sender_id, msg_type, msg); } diff --git a/c/include/libsbp/legacy/cpp/frame_handler.h b/c/include/libsbp/legacy/cpp/frame_handler.h index 0ec1063643..f8dca47c7b 100644 --- a/c/include/libsbp/legacy/cpp/frame_handler.h +++ b/c/include/libsbp/legacy/cpp/frame_handler.h @@ -17,7 +17,7 @@ #include #include -#include +#include #include SBP_MESSAGE( @@ -81,7 +81,7 @@ inline void sbp_frame_cb_passthrough(uint16_t sender_id, uint16_t msg_type, * @example * class ECEFHandler : private sbp::FrameHandler { * public: - * ECEFHandler(sbp::State *state) : sbp::FrameHandler(state) { + * ECEFHandler(sbp::LegacyState *state) : sbp::FrameHandler(state) { * // The callbacks have already been registered * // Perform other initialization tasks * } @@ -99,12 +99,12 @@ template class SBP_DEPRECATED FrameHandler { static constexpr std::size_t kMsgCount = sizeof...(MsgTypes); - State &state_; + LegacyState &state_; std::array callback_nodes_; public: - explicit FrameHandler(State *state) : state_(*state), callback_nodes_() { + explicit FrameHandler(LegacyState *state) : state_(*state), callback_nodes_() { static constexpr std::array ids = { sbp::MessageTraits::id... }; for (std::size_t i = 0; i < kMsgCount; ++i) { @@ -156,7 +156,7 @@ class SBP_DEPRECATED FrameHandler { * @example * class EverythingHandler : private sbp::AllFrameHandler { * public: - * EverythingHandler(sbp::State *state) : sbp::AllFrameHandler(state) { + * EverythingHandler(sbp::LegacyState *state) : sbp::AllFrameHandler(state) { * // The callbacks have already been registered * // Perform other initialization tasks * } @@ -170,12 +170,12 @@ class SBP_DEPRECATED FrameHandler { * */ class SBP_DEPRECATED AllFrameHandler { - State &state_; + LegacyState &state_; sbp_msg_callbacks_node_t callback_node_; public: - explicit AllFrameHandler(State *state) : state_(*state), callback_node_() { + explicit AllFrameHandler(LegacyState *state) : state_(*state), callback_node_() { sbp_all_payload_callback_register(state_.get_state(), sbp_frame_cb_passthrough, this, diff --git a/c/include/libsbp/legacy/cpp/legacy_state.h b/c/include/libsbp/legacy/cpp/legacy_state.h new file mode 100644 index 0000000000..a4cdd8a99e --- /dev/null +++ b/c/include/libsbp/legacy/cpp/legacy_state.h @@ -0,0 +1,42 @@ +/** + * Copyright (C) 2019-2021 Swift Navigation Inc. + * Contact: https://support.swiftnav.com + * + * This source is subject to the license found in the file 'LICENSE' which must + * be be distributed together with this source. All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef SBP_LEGACY_CPP_LEGACY_STATE_H +#define SBP_LEGACY_CPP_LEGACY_STATE_H + +#include + +SBP_MESSAGE( + "The legacy libsbp API has been deprecated. This file and all symbols contained will " + "be removed in version 6. You should immediately switch over to the modern libsbp API.") + +namespace sbp { + +class SBP_DEPRECATED LegacyState : public State { +public: + SBP_DEPRECATED s8 send_message(u16 msg_type, u16 sender_id, u8 length, const u8 payload[]) { + // NOLINTNEXTLINE + return sbp_payload_send(get_state(), msg_type, sender_id, length, + const_cast(payload), &State::write_func); + } + + SBP_DEPRECATED s8 process_payload(u16 sender_id, u16 msg_type, u8 msg_length, + const u8 payload[]) { + // NOLINTNEXTLINE + return sbp_payload_process(get_state(), sender_id, msg_type, msg_length, + const_cast(payload)); + } +}; + +} // namespace sbp + +#endif diff --git a/c/include/libsbp/legacy/cpp/payload_handler.h b/c/include/libsbp/legacy/cpp/payload_handler.h index aa34a12934..8d448cfb6d 100644 --- a/c/include/libsbp/legacy/cpp/payload_handler.h +++ b/c/include/libsbp/legacy/cpp/payload_handler.h @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include @@ -127,7 +127,7 @@ class SBP_DEPRECATED PayloadCallbackInterface { * @example * class ECEFHandler : private sbp::PayloadHandler { * public: - * ECEFHandler(sbp::State *state) : sbp::PayloadHandler(state) { + * ECEFHandler(sbp::LegacyState *state) : sbp::PayloadHandler(state) { * // The callbacks have already been registered * // Perform other initialization tasks * } @@ -147,12 +147,12 @@ template class SBP_DEPRECATED PayloadHandler : public details::PayloadCallbackInterface { static constexpr std::size_t kMsgCount = sizeof...(MsgTypes); - State &state_; + LegacyState &state_; std::array callback_nodes_; public: - explicit PayloadHandler(State *state) : details::PayloadCallbackInterface(), state_(*state), callback_nodes_() { + explicit PayloadHandler(LegacyState *state) : details::PayloadCallbackInterface(), state_(*state), callback_nodes_() { details::PayloadCallbackInterface::register_callback(state_.get_state(), callback_nodes_.data()); } diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc index 9bf1a53ea8..281521c7a7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResult.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResult0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResult0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc index af07fd54ec..0a6340fde2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -126,14 +126,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA0, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -222,14 +222,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA1, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -319,14 +319,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA2, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -416,14 +416,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA3, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -512,14 +512,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA4, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc index 90e9528bea..a80b783202 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -134,14 +134,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB0, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -238,14 +238,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB1, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -341,14 +341,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB2, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -444,14 +444,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB3, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepB4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc index 95ee86d817..2c19205544 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqResultDepC.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -134,14 +134,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC0, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -238,14 +238,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC1, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -341,14 +341,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC2, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -444,14 +444,14 @@ TEST_F(Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC3, Test) { } class Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqResultDepC4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc index 862db337d2..066e70c02f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfile.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqSvProfile0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqSvProfile0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc index 727ea902a2..2cd630fe10 100644 --- a/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_acquisition_MsgAcqSvProfileDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_acquisition_MsgAcqSvProfileDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_acquisition_MsgAcqSvProfileDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc index fd623a430b..1ebaaf777d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,5 +26,6 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc index 2ec128b453..56747e94ef 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderHandshakeResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_bootload_MsgBootloaderHandshakeResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_bootload_MsgBootloaderHandshakeResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -132,14 +132,14 @@ TEST_F(Test_legacy_auto_check_sbp_bootload_MsgBootloaderHandshakeResp0, Test) { } class Test_legacy_auto_check_sbp_bootload_MsgBootloaderHandshakeResp1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_bootload_MsgBootloaderHandshakeResp1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc index b3a87ae717..6a16df43eb 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgBootloaderJumptoApp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_bootload_MsgBootloaderJumptoApp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_bootload_MsgBootloaderJumptoApp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc index b1cb44f101..cad5486f4d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,5 +26,6 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc index 61d7cfd83b..b26b4e757f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_bootload_MsgNapDeviceDnaResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -27,18 +26,19 @@ #define SBP_MESSAGE(x) #endif #include +#include #include #include class Test_legacy_auto_check_sbp_bootload_MsgNapDeviceDnaResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_bootload_MsgNapDeviceDnaResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc b/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc index 0b2d06fc39..3e1572a48c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ext_events_MsgExtEvent.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ext_events_MsgExtEvent0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ext_events_MsgExtEvent0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc index 87bbca75d3..a94045af5e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioConfigReq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioConfigReq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc index dfd5918701..c934ed2721 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioConfigResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioConfigResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioConfigResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc index f4b408603a..7eddf6e7ca 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadDirReq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioReadDirReq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc index 65eb62eb77..70696f2c63 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadDirResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadDirResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioReadDirResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc index 17c5ca7648..b5c763a6fb 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadReq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioReadReq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc index 94f12cbac4..4e896f13c6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioReadResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioReadResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioReadResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc index 831e6b8b64..57ba878e3c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioRemove.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioRemove0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioRemove0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc index 5622e967cc..8598ce95ab 100644 --- a/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_file_io_MsgFileioWriteResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_file_io_MsgFileioWriteResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_file_io_MsgFileioWriteResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc index ca8af7c8a6..a81a2c7a0c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashDone.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgFlashDone0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgFlashDone0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc index 5be6838010..f1c1810918 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashErase.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgFlashErase0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgFlashErase0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc index 8a90094601..26aa5e1361 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashProgram.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgFlashProgram0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgFlashProgram0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc index d11981908d..2b0201af73 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgFlashReadReq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgFlashReadReq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc index cc5993a232..449c61f386 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgFlashReadResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgFlashReadResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgFlashReadResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc index 5e998b877b..e7f0a7bc66 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgM25FlashWriteStatus.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgM25FlashWriteStatus0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgM25FlashWriteStatus0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc index 7e488bd3cf..a017a5fc43 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashLockSector.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgStmFlashLockSector0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgStmFlashLockSector0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc index 0071e51597..7280f2477f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmFlashUnlockSector.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgStmFlashUnlockSector0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgStmFlashUnlockSector0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc index 5a975b2cdf..9d0f1a081c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc index 83073e5170..405b3c45db 100644 --- a/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_flash_MsgStmUniqueIdResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_flash_MsgStmUniqueIdResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_flash_MsgStmUniqueIdResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc index c0a26b67b1..44d97bfc0a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc +++ b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuAux.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_imu_MsgImuAux0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_imu_MsgImuAux0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc index 3df4067220..4b37550ff8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc +++ b/c/test/legacy/cpp/auto_check_sbp_imu_MsgImuRaw.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_imu_MsgImuRaw0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_imu_MsgImuRaw0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc index 0d864e5763..8df5974734 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgAcknowledge.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_integrity_MsgAcknowledge0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_integrity_MsgAcknowledge0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc index 2aff8f5b92..d0c8b90029 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagHighLevel.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagHighLevel0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_integrity_MsgSsrFlagHighLevel0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc index 990fea5cae..7319e68385 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoGridPointSatLos0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc index af4cafd69f..aef7ebe4b7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoGridPoints0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc index 87512951ab..d8c4280d89 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_integrity_MsgSsrFlagIonoTileSatLos0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc index 8111878211..350f010cd4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagSatellites.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagSatellites0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_integrity_MsgSsrFlagSatellites0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc index 93f351d9c9..0b55b8b680 100644 --- a/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc +++ b/c/test/legacy/cpp/auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_integrity_MsgSsrFlagTropoGridPoints0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc index 0d1b8110ff..1984d0d603 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxCpuState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxCpuState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc index db33881e06..ff3d863d7e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxCpuStateDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxCpuStateDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxCpuStateDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc index 238d6ff1ca..b9d6bfe64d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxMemState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxMemState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc index 2c6ba758da..6e9c86f254 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxMemStateDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxMemStateDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxMemStateDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc index 3b79026669..9b8352231d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdCount.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessFdCount0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxProcessFdCount0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc index 5ccf63639e..51c8a43d3b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessFdSummary.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessFdSummary0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxProcessFdSummary0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc index a65a52def7..2476f3129c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketCounts.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessSocketCounts0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxProcessSocketCounts0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc index c9538362f0..eaffef0734 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxProcessSocketQueues.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxProcessSocketQueues0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxProcessSocketQueues0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc index 9314c2e698..e06e74bf68 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSocketUsage.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxSocketUsage0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxSocketUsage0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc index fcbb936aa6..ad4fad4ca1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxSysState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxSysState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc index edaaf98c39..c65d923f17 100644 --- a/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_linux_MsgLinuxSysStateDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_linux_MsgLinuxSysStateDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_linux_MsgLinuxSysStateDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc b/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc index 90e3f677aa..5f3021b6ab 100644 --- a/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc +++ b/c/test/legacy/cpp/auto_check_sbp_logging_MsgFwd.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_logging_MsgFwd0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgFwd0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc b/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc index 229211346a..236a1ca1a6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc +++ b/c/test/legacy/cpp/auto_check_sbp_logging_MsgLog.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_logging_MsgLog0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgLog0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc b/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc index bf4b868e33..801fa74ead 100644 --- a/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_logging_MsgPrintDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_logging_MsgPrintDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgPrintDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -144,14 +144,14 @@ TEST_F(Test_legacy_auto_check_sbp_logging_MsgPrintDep0, Test) { } class Test_legacy_auto_check_sbp_logging_MsgPrintDep1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgPrintDep1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -254,14 +254,14 @@ TEST_F(Test_legacy_auto_check_sbp_logging_MsgPrintDep1, Test) { } class Test_legacy_auto_check_sbp_logging_MsgPrintDep2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgPrintDep2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -362,14 +362,14 @@ TEST_F(Test_legacy_auto_check_sbp_logging_MsgPrintDep2, Test) { } class Test_legacy_auto_check_sbp_logging_MsgPrintDep3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgPrintDep3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -473,14 +473,14 @@ TEST_F(Test_legacy_auto_check_sbp_logging_MsgPrintDep3, Test) { } class Test_legacy_auto_check_sbp_logging_MsgPrintDep4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgPrintDep4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -584,14 +584,14 @@ TEST_F(Test_legacy_auto_check_sbp_logging_MsgPrintDep4, Test) { } class Test_legacy_auto_check_sbp_logging_MsgPrintDep5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_logging_MsgPrintDep5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc b/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc index 5fffdb4bba..6d19135f66 100644 --- a/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc +++ b/c/test/legacy/cpp/auto_check_sbp_mag_MsgMagRaw.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_mag_MsgMagRaw0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_mag_MsgMagRaw0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc index 0054dd0d90..66a105e186 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgAgeCorrections.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgAgeCorrections0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgAgeCorrections0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc index 92a79e5c43..dd13b38bd5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEF.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -134,14 +134,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -237,14 +237,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -340,14 +340,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -443,14 +443,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEF4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc index 31b140d784..6158429342 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineECEFDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -136,14 +136,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -241,14 +241,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -346,14 +346,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -451,14 +451,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -556,14 +556,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -661,14 +661,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -766,14 +766,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -871,14 +871,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -976,14 +976,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA8, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1081,14 +1081,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA9, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineECEFDepA10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc index c51b0cd4d8..7497eafcc6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineHeadingDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgBaselineHeadingDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineHeadingDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc index 02ba588b6b..3e4fbd0b1e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNED.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgBaselineNED0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNED0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -139,14 +139,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNED0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNED1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNED1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -247,14 +247,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNED1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNED2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNED2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -355,14 +355,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNED2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNED3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNED3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -463,14 +463,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNED3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNED4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNED4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc index e166e11148..19179ae465 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgBaselineNEDDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -141,14 +141,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -251,14 +251,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -361,14 +361,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -471,14 +471,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -581,14 +581,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -691,14 +691,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -801,14 +801,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -911,14 +911,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1021,14 +1021,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA8, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1131,14 +1131,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA9, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgBaselineNEDDepA10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc index 39898ef504..c4e9644373 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDops.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgDops0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDops0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc index fcd97e42b6..404eddc7a9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgDopsDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -131,14 +131,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -231,14 +231,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -331,14 +331,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -431,14 +431,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -531,14 +531,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -631,14 +631,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -731,14 +731,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -831,14 +831,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgDopsDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgDopsDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgDopsDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc index 61ba0b974b..533eb5a77b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTime.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgGPSTime0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTime0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -126,14 +126,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTime0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTime1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTime1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -221,14 +221,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTime1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTime2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTime2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -316,14 +316,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTime2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTime3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTime3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -411,14 +411,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTime3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTime4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTime4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc index 0f592910a9..e9323db7fd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -125,14 +125,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -219,14 +219,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -313,14 +313,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -407,14 +407,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -501,14 +501,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -596,14 +596,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -690,14 +690,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -785,14 +785,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -879,14 +879,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA8, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -974,14 +974,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA9, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeDepA10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc index b6c6ab3fad..f2a31a3ded 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgGPSTimeGNSS.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -126,14 +126,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -221,14 +221,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -316,14 +316,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -411,14 +411,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgGPSTimeGNSS4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc index 8fcc18ff57..44f8db354c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEF.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosECEF0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEF0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -135,14 +135,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEF0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEF1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEF1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -239,14 +239,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEF1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEF2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEF2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -343,14 +343,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEF2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEF3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEF3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc index f6d2b70670..3b4a920aeb 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCov.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFCov0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFCov0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc index 013d76a917..a5a3b54446 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFCovGNSS.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFCovGNSS0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFCovGNSS0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc index 503cdb9fac..a1422cce07 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -135,14 +135,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -239,14 +239,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -343,14 +343,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -447,14 +447,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -551,14 +551,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -655,14 +655,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -759,14 +759,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -863,14 +863,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -967,14 +967,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA8, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1071,14 +1071,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA9, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFDepA10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc index cb3ecbe702..6d790d7317 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosECEFGNSS.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosECEFGNSS0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosECEFGNSS0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc index 9605c35453..3a14392caf 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLH.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosLLH0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLH0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -143,14 +143,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLH0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLH1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLH1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -255,14 +255,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLH1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLH2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLH2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -367,14 +367,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLH2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLH3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLH3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -479,14 +479,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLH3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLH4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLH4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc index 74d1d1cf81..550e8fc382 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHCov.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosLLHCov0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHCov0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc index e01b00cd6e..6e6341d4b7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLLHDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -143,14 +143,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -255,14 +255,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -367,14 +367,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -479,14 +479,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -591,14 +591,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -703,14 +703,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -815,14 +815,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -927,14 +927,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1039,14 +1039,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA8, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1151,14 +1151,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA9, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLLHDepA10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc index 4604b9a273..b50bf0e7fe 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhAcc.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosLlhAcc0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLlhAcc0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc index ad02ee0c3f..9fcc896b34 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhCovGnss.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosLlhCovGnss0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLlhCovGnss0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc index 3662f11563..327ee63656 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPosLlhGnss.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPosLlhGnss0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPosLlhGnss0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc index 8692d97fc1..50c3d9f259 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgPoseRelative.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgPoseRelative0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgPoseRelative0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc index 645a4757fe..e39a0e515c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevel.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgProtectionLevel0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgProtectionLevel0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc index aa68d23173..af5bc6407c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgProtectionLevelDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgProtectionLevelDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgProtectionLevelDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc index d435459a70..7b484ae259 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgReferenceFrameParam.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgReferenceFrameParam0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgReferenceFrameParam0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc index f6e093545d..803d498414 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCLeapSecond.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgUTCLeapSecond0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgUTCLeapSecond0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc index 31f6d54540..fdaa250bb8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTime.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgUTCTime0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgUTCTime0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc index 6d61e8e52a..1749098680 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgUTCTimeGNSS.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgUTCTimeGNSS0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgUTCTimeGNSS0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc index d917e88248..cf58544143 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelBody.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelBody0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelBody0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc index 6763f0a84d..70bcc350ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelCog.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelCog0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelCog0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -141,14 +141,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelCog0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelCog1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelCog1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -251,14 +251,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelCog1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelCog2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelCog2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc index e5e8726e81..8883b59c37 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEF.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelECEF0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEF0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -134,14 +134,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEF0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEF1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEF1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -237,14 +237,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEF1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEF2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEF2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -340,14 +340,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEF2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEF3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEF3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -443,14 +443,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEF3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEF4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEF4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc index d37dfe7f86..fcb4a5a055 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFCov.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelECEFCov0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFCov0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc index e71bc512ad..bf8e24b9f9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelECEFDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -134,14 +134,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -237,14 +237,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -340,14 +340,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -443,14 +443,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -546,14 +546,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -649,14 +649,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -752,14 +752,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -855,14 +855,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -958,14 +958,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA8, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1061,14 +1061,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA9, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelECEFDepA10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc index 3984412af9..003db89a7c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefCovGnss.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelEcefCovGnss0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelEcefCovGnss0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc index fd475cbbe4..e452df25dc 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelEcefGnss.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelEcefGnss0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelEcefGnss0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc index ce857216c0..ce176114a5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNED.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelNED0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNED0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -139,14 +139,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNED0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNED1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNED1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -247,14 +247,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNED1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNED2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNED2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -355,14 +355,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNED2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNED3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNED3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -463,14 +463,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNED3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNED4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNED4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc index 8643d35663..22f8d9edb5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDCOV.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelNEDCOV0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDCOV0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc index 14dacc1ab7..e0ab576e91 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNEDDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -139,14 +139,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA0, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -247,14 +247,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA1, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -355,14 +355,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA2, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -463,14 +463,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA3, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -571,14 +571,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA4, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -679,14 +679,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA5, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -787,14 +787,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA6, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -895,14 +895,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA7, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1003,14 +1003,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA8, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1111,14 +1111,14 @@ TEST_F(Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA9, Test) { } class Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNEDDepA10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc index 2564000f94..499c201648 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedCovGnss.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelNedCovGnss0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNedCovGnss0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc index 5f1216de9d..5115be9eca 100644 --- a/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_navigation_MsgVelNedGnss.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_navigation_MsgVelNedGnss0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_navigation_MsgVelNedGnss0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc b/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc index dc45794eeb..9950180e66 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ndb_MsgNdbEvent.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ndb_MsgNdbEvent0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ndb_MsgNdbEvent0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc index e86908914e..29302ce62d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLO.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGLO0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgAlmanacGLO0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc index 2c61ddaacf..cea9a52c41 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGLODep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGLODep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgAlmanacGLODep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc index 8f2f183255..ee731f8bb8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPS.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGPS0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgAlmanacGPS0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc index a5d725e9ff..1d96ecaa1f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgAlmanacGPSDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgAlmanacGPSDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgAlmanacGPSDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc index 4824813bea..34b11e32ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosEcef.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgBasePosEcef0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgBasePosEcef0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc index 88ed852311..214d4020ce 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgBasePosLLH.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgBasePosLLH0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgBasePosLLH0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc index 3749d271ec..74349ac4b2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisBds.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisBds0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisBds0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc index caa130ac15..8291a0a54e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc index bf5b6eea7f..a9d24aeb8c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepC.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisDepC0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisDepC0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc index 212919dfc7..f72d219e9a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisDepD.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisDepD0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisDepD0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc index c679fb8bad..cdebd48b5d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLO.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLO0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGLO0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc index 2a05a9760f..f9091e45db 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc index 8b0bbe3305..03d8cdf33b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc index 47c7b75dd5..d0ee109356 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepC.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepC0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepC0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc index 42cef16c9a..462003358b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGLODepD.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepD0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGLODepD0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc index 282d619d92..612915f232 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPS.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGPS0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGPS0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc index 3db47054b9..224c34dc64 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepE.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGPSDepE0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGPSDepE0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc index 168f94e919..cbac5f8603 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGPSDepF.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGPSDepF0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGPSDepF0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc index ba5a379923..29d42ccc7b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGal.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGal0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGal0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc index ead2616db7..fae1af8256 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisGalDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisGalDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisGalDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc index 46401827f4..2e7528eb78 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbas.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisSbas0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisSbas0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc index 222f986346..edfe5ad7fb 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisSbasDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisSbasDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc index 1c3d1195ff..383d6180d1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgEphemerisSbasDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgEphemerisSbasDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgEphemerisSbasDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc index f4e111c447..5d24018aad 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGloBiases.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgGloBiases0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgGloBiases0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc index 243be25ad9..b718390039 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGnssCapb.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgGnssCapb0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgGnssCapb0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc index 8a1fbf6174..d4ed506e78 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelay.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgGroupDelay0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgGroupDelay0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc index a48d3c4953..2c8a64494a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgGroupDelayDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgGroupDelayDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc index ad4685f94f..1612f5ceae 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgGroupDelayDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgGroupDelayDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgGroupDelayDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc index fb5eacf5c8..99a2e06ad9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgIono.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgIono0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgIono0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc index 06a9976c8c..72fff2dd5b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObs.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgObs0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObs0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -761,14 +761,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObs0, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObs1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObs1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc index c7ef5d80ff..78f2432ad8 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgObsDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -346,14 +346,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepB0, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepB1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepB1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -550,14 +550,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepB1, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepB2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepB2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -865,14 +865,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepB2, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepB3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepB3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1069,14 +1069,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepB3, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepB4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepB4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc index e67b905e79..7603a5bd1b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgObsDepC.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgObsDepC0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepC0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -309,14 +309,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepC0, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepC1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepC1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -513,14 +513,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepC1, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepC2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepC2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -791,14 +791,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepC2, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepC3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepC3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -995,14 +995,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_MsgObsDepC3, Test) { } class Test_legacy_auto_check_sbp_observation_MsgObsDepC4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgObsDepC4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc index e1306ced7c..6d4e6c913b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgOsr.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgOsr0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgOsr0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc index 44fafd2afd..3fe6df7dd9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvAzEl.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgSvAzEl0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgSvAzEl0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc index 209c849cac..0d9f77ffe0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_MsgSvConfigurationGpsDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_MsgSvConfigurationGpsDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_MsgSvConfigurationGpsDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc index 02f00be3bc..b062dab282 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_msgEphemerisDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgEphemerisDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -221,14 +221,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgEphemerisDepB0, Test) { } class Test_legacy_auto_check_sbp_observation_msgEphemerisDepB1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgEphemerisDepB1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -412,14 +412,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgEphemerisDepB1, Test) { } class Test_legacy_auto_check_sbp_observation_msgEphemerisDepB2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgEphemerisDepB2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -602,14 +602,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgEphemerisDepB2, Test) { } class Test_legacy_auto_check_sbp_observation_msgEphemerisDepB3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgEphemerisDepB3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -793,14 +793,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgEphemerisDepB3, Test) { } class Test_legacy_auto_check_sbp_observation_msgEphemerisDepB4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgEphemerisDepB4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -984,14 +984,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgEphemerisDepB4, Test) { } class Test_legacy_auto_check_sbp_observation_msgEphemerisDepB5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgEphemerisDepB5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc index dac76507da..b1d9f1242f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_msgEphemerisQzss.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_msgEphemerisQzss0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgEphemerisQzss0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc b/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc index a70e359213..93bb7b7141 100644 --- a/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_observation_msgObsDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_observation_msgObsDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgObsDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -327,14 +327,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgObsDepA0, Test) { } class Test_legacy_auto_check_sbp_observation_msgObsDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgObsDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -449,14 +449,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgObsDepA1, Test) { } class Test_legacy_auto_check_sbp_observation_msgObsDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgObsDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -745,14 +745,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgObsDepA2, Test) { } class Test_legacy_auto_check_sbp_observation_msgObsDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgObsDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -867,14 +867,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgObsDepA3, Test) { } class Test_legacy_auto_check_sbp_observation_msgObsDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgObsDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1105,14 +1105,14 @@ TEST_F(Test_legacy_auto_check_sbp_observation_msgObsDepA4, Test) { } class Test_legacy_auto_check_sbp_observation_msgObsDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_observation_msgObsDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc index 8c807930e0..a161d272a7 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgAngularRate.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_orientation_MsgAngularRate0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_orientation_MsgAngularRate0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc index 6b9ee9801d..7c08d25f23 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgBaselineHeading.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_orientation_MsgBaselineHeading0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_orientation_MsgBaselineHeading0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc index 667a18cc24..0f2ab9d3bf 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientEuler.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_orientation_MsgOrientEuler0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_orientation_MsgOrientEuler0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc index 3efc7c85b9..95bd5f0948 100644 --- a/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc +++ b/c/test/legacy/cpp/auto_check_sbp_orientation_MsgOrientQuat.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_orientation_MsgOrientQuat0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_orientation_MsgOrientQuat0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc index 175d518828..28f14bae1d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgAlmanac.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc index 6c8229577e..b7897db64f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCellModemStatus.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgCellModemStatus0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgCellModemStatus0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc index 6d5ebe35d5..e3ac063028 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandOutput.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgCommandOutput0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgCommandOutput0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc index 3fc1ccdb17..b759909fa4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgCommandReq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgCommandReq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc index 8a717a8ccd..a5ced3ee12 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCommandResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgCommandResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgCommandResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc index 582c030440..663489894a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwResults.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc index 042c265382..72c830d150 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgCwStart.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc index eab022587a..bda34f15e4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgDeviceMonitor.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -133,14 +133,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor0, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -235,14 +235,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor1, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -337,14 +337,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor2, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -439,14 +439,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor3, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgDeviceMonitor4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc index 457f401bac..22f95fc31f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgFrontEndGain.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgFrontEndGain0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgFrontEndGain0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc index 793f58514a..34e1f30f44 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgIarState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgIarState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgIarState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -115,14 +115,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgIarState0, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgIarState1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgIarState1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -199,14 +199,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgIarState1, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgIarState2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgIarState2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -283,14 +283,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgIarState2, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgIarState3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgIarState3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -368,14 +368,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgIarState3, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgIarState4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgIarState4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -453,14 +453,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgIarState4, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgIarState5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgIarState5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -538,14 +538,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgIarState5, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgIarState6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgIarState6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc index 0b53f1cebd..680b42b3de 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgInitBaseDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc index 7a374c6f70..110cff4624 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatellite.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgMaskSatellite0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgMaskSatellite0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc index 9dff5f3bc8..7f02010655 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgMaskSatelliteDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgMaskSatelliteDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgMaskSatelliteDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc index 8fcff4df2c..e97d1ef863 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkBandwidthUsage.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgNetworkBandwidthUsage0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgNetworkBandwidthUsage0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc index 44627a0d93..f4a133d4f0 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc index 5658d3d828..0d1bbf7c19 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgNetworkStateResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgNetworkStateResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgNetworkStateResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc index 0dcdd78276..62d1cae380 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgReset.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgReset0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgReset0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc index 1cfc8783ab..5b8947acbe 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc index 9bd0e30cb1..33eecdcaf6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgResetFilters.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgResetFilters0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgResetFilters0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc index e53bf615c8..d1c03b2de3 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSetTime.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc index f2837dfd26..db0ece5998 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecan.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgSpecan0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgSpecan0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc index 7e0f8ee2f5..b525152567 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgSpecanDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgSpecanDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgSpecanDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc index e9e508da20..21cfbd8527 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgThreadState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgThreadState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -139,14 +139,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState0, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -247,14 +247,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState1, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -355,14 +355,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState2, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -463,14 +463,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState3, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -573,14 +573,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState4, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -681,14 +681,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState5, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState6 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState6() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -789,14 +789,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState6, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState7 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState7() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -897,14 +897,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState7, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState8 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState8() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1005,14 +1005,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState8, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState9 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState9() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1115,14 +1115,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgThreadState9, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgThreadState10 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgThreadState10() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc index bb2ac62ee7..c45c24f4af 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgUartState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -225,14 +225,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgUartState0, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgUartState1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartState1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -404,14 +404,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgUartState1, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgUartState2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartState2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc index 9c10ca02f0..dfc6dbc848 100644 --- a/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_piksi_MsgUartStateDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -205,14 +205,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA0, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -379,14 +379,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA1, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -553,14 +553,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA2, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -727,14 +727,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA3, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -906,14 +906,14 @@ TEST_F(Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA4, Test) { } class Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_piksi_MsgUartStateDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc b/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc index 3cd14c6892..da053ee90d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc +++ b/c/test/legacy/cpp/auto_check_sbp_sbas_MsgSbasRaw.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_sbas_MsgSbasRaw0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_sbas_MsgSbasRaw0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc index 8e5f102e42..54c341bf23 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexDone.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc index 977df0f3df..573233aeca 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexReq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexReq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc index 44d428e2a4..38fbf1345b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadByIndexResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -161,14 +161,14 @@ TEST_F(Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp0, Test) { } class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -274,14 +274,14 @@ TEST_F(Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp1, Test) { } class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -387,14 +387,14 @@ TEST_F(Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp2, Test) { } class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -498,14 +498,14 @@ TEST_F(Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp3, Test) { } class Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadByIndexResp4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc index 0be105fd0e..1bab18dd4d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadReq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadReq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadReq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc index b79c89e318..143d078521 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsReadResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsReadResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsReadResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc index 162a63f7d3..5704ce11f2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegister.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsRegister0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsRegister0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc index c85cc4ce18..b29ad742ef 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsRegisterResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsRegisterResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsRegisterResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc index 2480610578..cb1b09bbc1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsSave.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,6 +25,7 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc index 5f57b241d7..5cfcd734d6 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWrite.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsWrite0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsWrite0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc index 06c55be4fd..21b956c995 100644 --- a/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc +++ b/c/test/legacy/cpp/auto_check_sbp_settings_MsgSettingsWriteResp.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_settings_MsgSettingsWriteResp0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_settings_MsgSettingsWriteResp0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc index cc2b84b2b7..50f2e0e7b9 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChain.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgCertificateChain0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgCertificateChain0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc index bd36d0ea7b..c3ef5674c5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgCertificateChainDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgCertificateChainDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgCertificateChainDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc index 02b208f3d3..153b726cbc 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaCertificate.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgEcdsaCertificate0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgEcdsaCertificate0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc index cd98c0cc0e..e521fb8f81 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignature.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgEcdsaSignature0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgEcdsaSignature0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc index d33fa595c2..3353f7dc0e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgEcdsaSignatureDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgEcdsaSignatureDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc index 35f96bd0e8..80c38074b4 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEcdsaSignatureDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgEcdsaSignatureDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgEcdsaSignatureDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc index 44f7ffa375..ea91fc75b5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519CertificateDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgEd25519CertificateDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgEd25519CertificateDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc index 02f6a75e8b..f132194e5d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgEd25519SignatureDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgEd25519SignatureDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc index 8839b5bcc5..58f443d8ac 100644 --- a/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_signing_MsgEd25519SignatureDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_signing_MsgEd25519SignatureDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_signing_MsgEd25519SignatureDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc index 07e1269713..d18e79a6dd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc +++ b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMeta.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_solution_meta_MsgSolnMeta0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_solution_meta_MsgSolnMeta0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc index 76e062baf4..60d1082bd2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_solution_meta_MsgSolnMetaDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_solution_meta_MsgSolnMetaDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_solution_meta_MsgSolnMetaDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc index a09529df23..e0607c5c6f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodeBiases.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrCodeBiases0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrCodeBiases0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc index d092cca826..afc05f5a4a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrCodePhaseBiasesBounds0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc index 2cea5eea49..a6da34b281 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGridDefinitionDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrGridDefinitionDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrGridDefinitionDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc index 802fe50a68..6b400c5904 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrection.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrection0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrection0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc index 6a422982f5..fc5f05c1ff 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -275,14 +275,14 @@ TEST_F(Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds0, Test) { } class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionBounds1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc index b207b917a1..077d6559c1 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc index ec1f9bf99f..1d113b5762 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrGriddedCorrectionNoStdDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc index b23e1689bb..5ced05ae15 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClock.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClock0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClock0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc index 9dddf81430..16feda6e35 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBounds.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockBounds0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockBounds0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc index 1de64e3ea3..1bf5be9c1a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockBoundsDegradation0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc index be5186a1f0..ef2f09b497 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrOrbitClockDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrOrbitClockDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc index c5df4544c5..0e727727e2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrPhaseBiases.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrPhaseBiases0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrPhaseBiases0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc index 8fbe33a917..341ab0a436 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApc.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrSatelliteApc0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrSatelliteApc0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc index d7f1535091..91ae031d80 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrSatelliteApcDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrSatelliteApcDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrSatelliteApcDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc index 86cb9f4a71..6ec58dc638 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrection.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrection0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrection0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc index 241e862f40..33e1fb49cd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrectionDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrectionDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc index bb2bc3df4d..79c907b0cd 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrStecCorrectionDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrectionDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrStecCorrectionDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc index 71658cc360..800c11dfc2 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinition.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinition0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinition0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc index 2ba0c946a9..02e9e859bb 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinitionDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinitionDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc index 5ecc1951f6..f21576ab18 100644 --- a/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_ssr_MsgSsrTileDefinitionDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinitionDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_ssr_MsgSsrTileDefinitionDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc index 2c4edd98ec..13b8b635f5 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetry.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgCsacTelemetry0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgCsacTelemetry0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc index e0ab599b8d..0741bd4c93 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgCsacTelemetryLabels.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgCsacTelemetryLabels0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgCsacTelemetryLabels0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc index 0facfb0cfa..f6ad7c2462 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgDgnssStatus.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgDgnssStatus0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgDgnssStatus0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc index c43f852ce6..d66f93212e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgGnssTimeOffset.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgGnssTimeOffset0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgGnssTimeOffset0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc index 0ae43c5b14..7fe0269b1c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgGroupMeta.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgGroupMeta0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgGroupMeta0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -147,14 +147,14 @@ TEST_F(Test_legacy_auto_check_sbp_system_MsgGroupMeta0, Test) { } class Test_legacy_auto_check_sbp_system_MsgGroupMeta1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgGroupMeta1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc index 6700163b03..9d67f6498f 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgHeartbeat.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgHeartbeat0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgHeartbeat0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -116,14 +116,14 @@ TEST_F(Test_legacy_auto_check_sbp_system_MsgHeartbeat0, Test) { } class Test_legacy_auto_check_sbp_system_MsgHeartbeat1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgHeartbeat1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc index c370d1b089..802c32efef 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsStatus.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgInsStatus0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgInsStatus0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc index 1d4b415ffa..837d5d8127 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgInsUpdates.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgInsUpdates0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgInsUpdates0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc index 0bee058c1a..3f79365f89 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgPpsTime.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgPpsTime0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgPpsTime0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc index ed6dfeb3aa..c700384901 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgSensorAidEvent.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgSensorAidEvent0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgSensorAidEvent0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc index 211229d4ff..94bf3adc40 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgStartup.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgStartup0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgStartup0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -122,14 +122,14 @@ TEST_F(Test_legacy_auto_check_sbp_system_MsgStartup0, Test) { } class Test_legacy_auto_check_sbp_system_MsgStartup1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgStartup1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc index b29d08d076..ab8df97705 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusJournal.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgStatusJournal0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgStatusJournal0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -191,14 +191,14 @@ TEST_F(Test_legacy_auto_check_sbp_system_MsgStatusJournal0, Test) { } class Test_legacy_auto_check_sbp_system_MsgStatusJournal1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgStatusJournal1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc index 284b718ee0..274bb44b0e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc +++ b/c/test/legacy/cpp/auto_check_sbp_system_MsgStatusReport.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_system_MsgStatusReport0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_system_MsgStatusReport0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc b/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc index abbec27af5..bbf7e51468 100644 --- a/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc +++ b/c/test/legacy/cpp/auto_check_sbp_telemetry_MsgTelSv.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_telemetry_MsgTelSv0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_telemetry_MsgTelSv0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc index 424a895866..4440fa3a8c 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgMeasurementState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgMeasurementState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgMeasurementState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc index 7f07a69d2c..d27aa0b97e 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIq.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgTrackingIq0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingIq0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc index 04b63dcb32..5749adf53b 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgTrackingIqDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingIqDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc index c45d4a819d..cb5369d253 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingIqDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgTrackingIqDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingIqDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc index 6718e8ec5a..e04d8dae1d 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingState.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgTrackingState0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingState0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1389,14 +1389,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingState0, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingState1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingState1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1743,14 +1743,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingState1, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingState2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingState2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -2097,14 +2097,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingState2, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingState3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingState3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -2451,14 +2451,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingState3, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingState4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingState4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -2805,14 +2805,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingState4, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingState5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingState5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc index 7d61c42bac..593841fc41 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDepB.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDepB0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDepB0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc index 32adfc6688..c11e7a5bdf 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDep.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -206,14 +206,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep0, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -381,14 +381,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep1, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -556,14 +556,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep2, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -731,14 +731,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep3, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDep4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc index a769598afe..ea75f4dc7a 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgTrackingStateDetailedDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgTrackingStateDetailedDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc index 0353c01b9e..8399b21aaa 100644 --- a/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc +++ b/c/test/legacy/cpp/auto_check_sbp_tracking_MsgtrackingStateDepA.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -294,14 +294,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA0, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA1 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA1() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -557,14 +557,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA1, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA2 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA2() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -820,14 +820,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA2, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA3 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA3() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1083,14 +1083,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA3, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA4 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA4() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), @@ -1346,14 +1346,14 @@ TEST_F(Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA4, Test) { } class Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA5 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_tracking_MsgtrackingStateDepA5() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc b/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc index 87712587ac..29129a8e27 100644 --- a/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc +++ b/c/test/legacy/cpp/auto_check_sbp_user_MsgUserData.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_user_MsgUserData0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_user_MsgUserData0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc index a2b36f76ef..e4cf873b81 100644 --- a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc +++ b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgOdometry.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_vehicle_MsgOdometry0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_vehicle_MsgOdometry0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc index fe22ceb7ba..0914c6d444 100644 --- a/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc +++ b/c/test/legacy/cpp/auto_check_sbp_vehicle_MsgWheeltick.cc @@ -17,7 +17,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to // still test the legacy implementation for as long as it exists. By silencing @@ -26,19 +25,20 @@ #undef SBP_MESSAGE #define SBP_MESSAGE(x) #endif +#include #include #include #include class Test_legacy_auto_check_sbp_vehicle_MsgWheeltick0 : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler { public: Test_legacy_auto_check_sbp_vehicle_MsgWheeltick0() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler(this), diff --git a/c/test/legacy/cpp/test_sbp_stdio.cc b/c/test/legacy/cpp/test_sbp_stdio.cc index bf78785119..9306b74073 100644 --- a/c/test/legacy/cpp/test_sbp_stdio.cc +++ b/c/test/legacy/cpp/test_sbp_stdio.cc @@ -34,7 +34,7 @@ struct SbpHeaderParams { class MsgObsHandler : private sbp::PayloadHandler { public: - explicit MsgObsHandler(sbp::State *state) + explicit MsgObsHandler(sbp::LegacyState *state) : sbp::PayloadHandler(state), state_(state) {} void handle_sbp_msg(uint16_t sender_id, uint8_t message_length, @@ -57,14 +57,14 @@ class MsgObsHandler : private sbp::PayloadHandler { private: SbpHeaderParams header_params_; - sbp::State *state_; + sbp::LegacyState *state_; }; class SbpStdioTest : public ::testing::Test { protected: static int num_entries_in_file(const std::string &input_file) { sbp::SbpFileReader reader = sbp::SbpFileReader(input_file.data()); - sbp::State state; + sbp::LegacyState state; state.set_reader(&reader); MsgObsHandler handler(&state); @@ -85,7 +85,7 @@ class SbpStdioTest : public ::testing::Test { const std::string &output_file) { sbp::SbpFileReader reader = sbp::SbpFileReader(input_file.data()); sbp::SbpFileWriter writer = sbp::SbpFileWriter(output_file.data()); - sbp::State state; + sbp::LegacyState state; state.set_reader(&reader); state.set_writer(&writer); MsgObsHandler handler(&state); diff --git a/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 b/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 index edf5dcf1e5..26b4bdf528 100644 --- a/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 +++ b/generator/sbpg/targets/resources/c/test/legacy/sbp_cpp_test.cc.j2 @@ -15,7 +15,6 @@ #include #include -#include // Obviously we don't normally want to silence this message, but we also need to still // test the legacy implementation for as long as it exists. By silencing these messages @@ -27,12 +26,13 @@ #include #include #include +#include ((*- for t in s.tests *)) ((*- if t.fields *)) class Test_legacy_(((s.suite_name)))(((loop.index0))) : public ::testing::Test, - public sbp::State, + public sbp::LegacyState, public sbp::IReader, public sbp::IWriter, sbp::PayloadHandler<(((t.msg_type_name|convert)))> @@ -40,7 +40,7 @@ class Test_legacy_(((s.suite_name)))(((loop.index0))) : public: Test_legacy_(((s.suite_name)))(((loop.index0)))() : ::testing::Test(), - sbp::State(), + sbp::LegacyState(), sbp::IReader(), sbp::IWriter(), sbp::PayloadHandler<(((t.msg_type_name|convert)))>(this), From 72dd99b54c192167fcd54f48043951af087ec945 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 16:23:28 +1100 Subject: [PATCH 12/19] Fixup examples --- c/examples/legacy/cpp_example/cpp_example.cc | 10 +++++----- c/include/libsbp/legacy/cpp/legacy_state.h | 2 ++ c/test_package/legacy.cc | 12 ++++++------ 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/c/examples/legacy/cpp_example/cpp_example.cc b/c/examples/legacy/cpp_example/cpp_example.cc index 9e8b3a4725..f0fb61a7c1 100644 --- a/c/examples/legacy/cpp_example/cpp_example.cc +++ b/c/examples/legacy/cpp_example/cpp_example.cc @@ -1,7 +1,7 @@ #include #include -#include +#include #include #include @@ -36,7 +36,7 @@ class SbpFileReader : public sbp::IReader { class ECEFHandler : private sbp::PayloadHandler { public: - ECEFHandler(sbp::State *state) : sbp::PayloadHandler(state) { + ECEFHandler(sbp::LegacyState *state) : sbp::PayloadHandler(state) { } void handle_sbp_msg(uint16_t sender_id, uint8_t message_length, const msg_gps_time_t& msg) { @@ -55,7 +55,7 @@ class ECEFHandler : private sbp::PayloadHandler class LLHFrameHandler : private sbp::FrameHandler { public: - LLHFrameHandler(sbp::State *state) : sbp::FrameHandler(state) { + LLHFrameHandler(sbp::LegacyState *state) : sbp::FrameHandler(state) { } void handle_sbp_frame(uint16_t sender_id, uint16_t msg_type, @@ -74,7 +74,7 @@ class LLHFrameHandler : private sbp::FrameHandler class EverythingHandler : private sbp::AllFrameHandler { public: - EverythingHandler(sbp::State *state) : sbp::AllFrameHandler(state) { + EverythingHandler(sbp::LegacyState *state) : sbp::AllFrameHandler(state) { } void handle_sbp_frame(uint16_t sender_id, uint16_t msg_type, @@ -102,7 +102,7 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); } - sbp::State s; + sbp::LegacyState s; ECEFHandler ecef_handler(&s); LLHFrameHandler llh_handler(&s); EverythingHandler everything_handler(&s); diff --git a/c/include/libsbp/legacy/cpp/legacy_state.h b/c/include/libsbp/legacy/cpp/legacy_state.h index a4cdd8a99e..33534494bd 100644 --- a/c/include/libsbp/legacy/cpp/legacy_state.h +++ b/c/include/libsbp/legacy/cpp/legacy_state.h @@ -23,6 +23,8 @@ namespace sbp { class SBP_DEPRECATED LegacyState : public State { public: + using State::State; + SBP_DEPRECATED s8 send_message(u16 msg_type, u16 sender_id, u8 length, const u8 payload[]) { // NOLINTNEXTLINE return sbp_payload_send(get_state(), msg_type, sender_id, length, diff --git a/c/test_package/legacy.cc b/c/test_package/legacy.cc index a5c0f3fa3f..b9581a1d56 100644 --- a/c/test_package/legacy.cc +++ b/c/test_package/legacy.cc @@ -1,7 +1,7 @@ #include #include -#include +#include #include struct FileBase { @@ -52,7 +52,7 @@ class FileWriter : public FileBase, public sbp::IWriter { class MessageHandler : public sbp::AllFrameHandler { public: - MessageHandler(sbp::State *input_state, sbp::State *output_state) : AllFrameHandler(input_state), + MessageHandler(sbp::LegacyState *input_state, sbp::LegacyState *output_state) : AllFrameHandler(input_state), output_state_(output_state) {} void handle_sbp_frame(uint16_t sender_id, uint16_t message_type, uint8_t payload_length, uint8_t *payload, @@ -64,7 +64,7 @@ class MessageHandler : public sbp::AllFrameHandler { } private: - sbp::State *const output_state_; + sbp::LegacyState *const output_state_; }; int main() { @@ -81,8 +81,8 @@ int main() { return EXIT_FAILURE; } - sbp::State input_state(&input_file, nullptr); - sbp::State output_state(nullptr, &output_file); + sbp::LegacyState input_state(&input_file, nullptr); + sbp::LegacyState output_state(nullptr, &output_file); MessageHandler message_handler(&input_state, &output_state); s8 ret = 0; @@ -107,4 +107,4 @@ int main() { } return EXIT_SUCCESS; -} \ No newline at end of file +} From 0ee0b56461a33562a31434c07d8b6a266cace2a7 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 16:25:19 +1100 Subject: [PATCH 13/19] Fix invocation of modern tests from top level makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bdf74e5288..68c50ff904 100644 --- a/Makefile +++ b/Makefile @@ -387,8 +387,8 @@ test-c-v4: cd $(SWIFTNAV_ROOT)/c; \ mkdir -p build/ && cd build/; \ cmake $(CMAKEFLAGS) ../; \ - $(MAKE) -j4 test-libsbp-v4 test-libsbp-cpp-v4; \ - $(MAKE) do-test-libsbp-v4 do-test-libsbp-cpp-v4 + $(MAKE) -j4 test-libsbp test-libsbp-cpp; \ + $(MAKE) do-test-libsbp do-test-libsbp-cpp $(call announce-end,"Finished running C tests") test-python: From b72b2629edb9e456d5e5fab91ab7d0a49768867f Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 16:27:21 +1100 Subject: [PATCH 14/19] Rework bitfield macro tests to avoid legacy API --- c/test/check_bitfield_macros.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/c/test/check_bitfield_macros.c b/c/test/check_bitfield_macros.c index b6e2b28dc5..9d7b6a2a80 100644 --- a/c/test/check_bitfield_macros.c +++ b/c/test/check_bitfield_macros.c @@ -11,14 +11,14 @@ */ #include -#include -#include -#include -#include +#include +#include +#include +#include #include START_TEST(test_nav_bitfields) { - msg_gps_time_t gps_t = {.wn = 1, .tow = 100, .ns_residual = 1, .flags = 0}; + sbp_msg_gps_time_t gps_t = {.wn = 1, .tow = 100, .ns_residual = 1, .flags = 0}; SBP_GPS_TIME_TIME_SOURCE_SET(gps_t.flags, SBP_GPS_TIME_TIME_SOURCE_NONE); fail_unless(gps_t.flags == 0); @@ -32,7 +32,7 @@ START_TEST(test_nav_bitfields) { SBP_GPS_TIME_TIME_SOURCE_SET(gps_t.flags, SBP_GPS_TIME_TIME_SOURCE_PROPAGATED); - msg_pos_llh_t pos = {.flags = 0}; + sbp_msg_pos_llh_t pos = {.flags = 0}; uint8_t ins_mode = SBP_POS_LLH_INERTIAL_NAVIGATION_MODE_GET(pos.flags); fail_unless(ins_mode == 0); SBP_POS_LLH_INERTIAL_NAVIGATION_MODE_SET( @@ -45,7 +45,7 @@ START_TEST(test_nav_bitfields) { END_TEST START_TEST(test_imu_bitfields) { - msg_imu_raw_t imu = {.tow = 100}; + sbp_msg_imu_raw_t imu = {.tow = 100}; SBP_IMU_RAW_TIME_STATUS_SET( imu.tow, SBP_IMU_RAW_TIME_STATUS_REFERENCE_EPOCH_IS_TIME_OF_SYSTEM_STARTUP); @@ -61,7 +61,7 @@ END_TEST START_TEST(test_ins_status_bitfields) { // TODO(?) : This test case currently failing - msg_ins_status_t ins_status = {.flags = 0}; + sbp_msg_ins_status_t ins_status = {.flags = 0}; SBP_INS_STATUS_INS_TYPE_SET( ins_status.flags, SBP_INS_STATUS_INS_TYPE_SMOOTHPOSE_LOOSELY_COUPLED); fail_unless(ins_status.flags == 0); From b6926c4e8e966eca2e6b4b31d28b0af78f1faa02 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 16:36:08 +1100 Subject: [PATCH 15/19] Non-legacy headers shouldn't be including legacy api headers --- .github/workflows/c.yaml | 2 +- c/include/libsbp/cpp/state.h | 1 - c/include/libsbp/legacy/cpp/legacy_state.h | 1 + c/test/check_sbp.c | 10 +++++++++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c.yaml b/.github/workflows/c.yaml index 00a4375a35..74fb049624 100644 --- a/.github/workflows/c.yaml +++ b/.github/workflows/c.yaml @@ -126,7 +126,7 @@ jobs: sudo apt-get -qq install gcc-multilib-mips-linux-gnu gcc-mips-linux-gnu qemu-user g++-mips-linux-gnu - name: Run big endian tests - run: make test-c-v4 + run: make test-c env: CC: mips-linux-gnu-gcc CXX: mips-linux-gnu-g++ diff --git a/c/include/libsbp/cpp/state.h b/c/include/libsbp/cpp/state.h index b620593b31..e273b5aa3c 100644 --- a/c/include/libsbp/cpp/state.h +++ b/c/include/libsbp/cpp/state.h @@ -15,7 +15,6 @@ #include #include -#include namespace sbp { diff --git a/c/include/libsbp/legacy/cpp/legacy_state.h b/c/include/libsbp/legacy/cpp/legacy_state.h index 33534494bd..0c13eb333c 100644 --- a/c/include/libsbp/legacy/cpp/legacy_state.h +++ b/c/include/libsbp/legacy/cpp/legacy_state.h @@ -14,6 +14,7 @@ #define SBP_LEGACY_CPP_LEGACY_STATE_H #include +#include SBP_MESSAGE( "The legacy libsbp API has been deprecated. This file and all symbols contained will " diff --git a/c/test/check_sbp.c b/c/test/check_sbp.c index 18d2fba9a6..96cf708daa 100644 --- a/c/test/check_sbp.c +++ b/c/test/check_sbp.c @@ -11,10 +11,18 @@ */ #include -#include #include #include +// Obviously we don't normally want to silence this message, but we also need to +// still test the legacy implementation for as long as it exists. By silencing +// these messages here we can get a less noisy build in libsbp +#ifdef SBP_MESSAGE +#undef SBP_MESSAGE +#define SBP_MESSAGE(x) +#endif +#include + int DUMMY_MEMORY_FOR_CALLBACKS = (int)0xdeadbeef; int DUMMY_MEMORY_FOR_IO = (int)0xdead0000; From 14d444933eb118f910d6dc8d2fdd3a6778055862 Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Thu, 23 Nov 2023 17:03:19 +1100 Subject: [PATCH 16/19] Fix big endian stage, only run modern tests --- .github/workflows/c.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c.yaml b/.github/workflows/c.yaml index 74fb049624..0b9352b52b 100644 --- a/.github/workflows/c.yaml +++ b/.github/workflows/c.yaml @@ -126,7 +126,7 @@ jobs: sudo apt-get -qq install gcc-multilib-mips-linux-gnu gcc-mips-linux-gnu qemu-user g++-mips-linux-gnu - name: Run big endian tests - run: make test-c + run: make test-c-modern env: CC: mips-linux-gnu-gcc CXX: mips-linux-gnu-g++ diff --git a/Makefile b/Makefile index 68c50ff904..fd7961c079 100644 --- a/Makefile +++ b/Makefile @@ -382,7 +382,7 @@ test-c: $(MAKE) do-all-tests $(call announce-end,"Finished running C tests") -test-c-v4: +test-c-modern: $(call announce-begin,"Running C tests") cd $(SWIFTNAV_ROOT)/c; \ mkdir -p build/ && cd build/; \ From c7099921297715dd5137d9e7d34e8f8c60c1d713 Mon Sep 17 00:00:00 2001 From: Matt Woodward <46688854+woodfell@users.noreply.github.com> Date: Thu, 23 Nov 2023 20:28:16 +1100 Subject: [PATCH 17/19] Woodfell/reduce code smella (#1384) # Description @swift-nav/devinfra # API compatibility Does this change introduce a API compatibility risk? ## API compatibility plan If the above is "Yes", please detail the compatibility (or migration) plan: # JIRA Reference https://swift-nav.atlassian.net/browse/BOARD-XXXX --- c/src/acquisition.c | 38 +- c/src/bootload.c | 18 +- c/src/ext_events.c | 3 - c/src/file_io.c | 39 +- c/src/flash.c | 63 ++-- c/src/gnss.c | 21 -- c/src/imu.c | 6 - c/src/integrity.c | 60 ++-- c/src/linux.c | 75 ++-- c/src/logging.c | 15 +- c/src/mag.c | 3 - c/src/navigation.c | 143 +------- c/src/ndb.c | 3 - c/src/observation.c | 336 +++++++----------- c/src/orientation.c | 12 - c/src/piksi.c | 129 +++---- c/src/sbas.c | 8 +- c/src/settings.c | 24 -- c/src/signing.c | 195 ++++++---- c/src/solution_meta.c | 30 +- c/src/ssr.c | 222 ++++++------ c/src/system.c | 63 +--- c/src/telemetry.c | 12 +- c/src/tracking.c | 86 ++--- c/src/user.c | 9 +- c/src/vehicle.c | 6 - .../resources/c/src/sbp_messages_template.c | 6 +- 27 files changed, 630 insertions(+), 995 deletions(-) diff --git a/c/src/acquisition.c b/c/src/acquisition.c index 427b6b1478..2f5c4e1b96 100644 --- a/c/src/acquisition.c +++ b/c/src/acquisition.c @@ -115,9 +115,6 @@ int sbp_msg_acq_result_cmp(const sbp_msg_acq_result_t *a, } ret = sbp_v4_gnss_signal_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -221,9 +218,6 @@ int sbp_msg_acq_result_dep_c_cmp(const sbp_msg_acq_result_dep_c_t *a, } ret = sbp_gnss_signal_dep_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -327,9 +321,6 @@ int sbp_msg_acq_result_dep_b_cmp(const sbp_msg_acq_result_dep_b_t *a, } ret = sbp_gnss_signal_dep_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -433,9 +424,6 @@ int sbp_msg_acq_result_dep_a_cmp(const sbp_msg_acq_result_dep_a_t *a, } ret = sbp_u8_cmp(&a->prn, &b->prn); - if (ret != 0) { - return ret; - } return ret; } @@ -611,9 +599,6 @@ int sbp_acq_sv_profile_cmp(const sbp_acq_sv_profile_t *a, } ret = sbp_u32_cmp(&a->cp, &b->cp); - if (ret != 0) { - return ret; - } return ret; } @@ -790,9 +775,6 @@ int sbp_acq_sv_profile_dep_cmp(const sbp_acq_sv_profile_dep_t *a, } ret = sbp_u32_cmp(&a->cp, &b->cp); - if (ret != 0) { - return ret; - } return ret; } @@ -871,12 +853,15 @@ int sbp_msg_acq_sv_profile_cmp(const sbp_msg_acq_sv_profile_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_acq_sv_profile, &b->n_acq_sv_profile); - for (uint8_t i = 0; ret == 0 && i < a->n_acq_sv_profile; i++) { - ret = sbp_acq_sv_profile_cmp(&a->acq_sv_profile[i], &b->acq_sv_profile[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_acq_sv_profile; i++) { + ret = sbp_acq_sv_profile_cmp(&a->acq_sv_profile[i], &b->acq_sv_profile[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -957,12 +942,15 @@ int sbp_msg_acq_sv_profile_dep_cmp(const sbp_msg_acq_sv_profile_dep_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_acq_sv_profile, &b->n_acq_sv_profile); - for (uint8_t i = 0; ret == 0 && i < a->n_acq_sv_profile; i++) { - ret = sbp_acq_sv_profile_dep_cmp(&a->acq_sv_profile[i], - &b->acq_sv_profile[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_acq_sv_profile; i++) { + ret = sbp_acq_sv_profile_dep_cmp(&a->acq_sv_profile[i], + &b->acq_sv_profile[i]); + if (ret != 0) { + return ret; + } + } return ret; } diff --git a/c/src/bootload.c b/c/src/bootload.c index 1c4acb4a22..6339d0ba5f 100644 --- a/c/src/bootload.c +++ b/c/src/bootload.c @@ -264,9 +264,6 @@ int sbp_msg_bootloader_handshake_resp_cmp( } ret = sbp_msg_bootloader_handshake_resp_version_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -338,9 +335,6 @@ int sbp_msg_bootloader_jump_to_app_cmp( int ret = 0; ret = sbp_u8_cmp(&a->jump, &b->jump); - if (ret != 0) { - return ret; - } return ret; } @@ -482,12 +476,11 @@ int sbp_msg_nap_device_dna_resp_cmp(const sbp_msg_nap_device_dna_resp_t *a, const sbp_msg_nap_device_dna_resp_t *b) { int ret = 0; - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_NAP_DEVICE_DNA_RESP_DNA_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_NAP_DEVICE_DNA_RESP_DNA_MAX; i++) { ret = sbp_u8_cmp(&a->dna[i], &b->dna[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -662,8 +655,5 @@ int sbp_msg_bootloader_handshake_dep_a_cmp( int ret = 0; ret = sbp_msg_bootloader_handshake_dep_a_handshake_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/ext_events.c b/c/src/ext_events.c index 4aa438f3b6..3167fa6172 100644 --- a/c/src/ext_events.c +++ b/c/src/ext_events.c @@ -126,8 +126,5 @@ int sbp_msg_ext_event_cmp(const sbp_msg_ext_event_t *a, } ret = sbp_u8_cmp(&a->pin, &b->pin); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/file_io.c b/c/src/file_io.c index 08ba0eca77..d64592db67 100644 --- a/c/src/file_io.c +++ b/c/src/file_io.c @@ -218,9 +218,6 @@ int sbp_msg_fileio_read_req_cmp(const sbp_msg_fileio_read_req_t *a, } ret = sbp_msg_fileio_read_req_filename_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -311,12 +308,15 @@ int sbp_msg_fileio_read_resp_cmp(const sbp_msg_fileio_read_resp_t *a, } ret = sbp_u8_cmp(&a->n_contents, &b->n_contents); - for (uint8_t i = 0; ret == 0 && i < a->n_contents; i++) { - ret = sbp_u8_cmp(&a->contents[i], &b->contents[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_contents; i++) { + ret = sbp_u8_cmp(&a->contents[i], &b->contents[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -509,9 +509,6 @@ int sbp_msg_fileio_read_dir_req_cmp(const sbp_msg_fileio_read_dir_req_t *a, } ret = sbp_msg_fileio_read_dir_req_dirname_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -686,9 +683,6 @@ int sbp_msg_fileio_read_dir_resp_cmp(const sbp_msg_fileio_read_dir_resp_t *a, } ret = sbp_msg_fileio_read_dir_resp_contents_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -859,9 +853,6 @@ int sbp_msg_fileio_remove_cmp(const sbp_msg_fileio_remove_t *a, int ret = 0; ret = sbp_msg_fileio_remove_filename_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1075,12 +1066,15 @@ int sbp_msg_fileio_write_req_cmp(const sbp_msg_fileio_write_req_t *a, } ret = sbp_u8_cmp(&a->n_data, &b->n_data); - for (uint8_t i = 0; ret == 0 && i < a->n_data; i++) { - ret = sbp_u8_cmp(&a->data[i], &b->data[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_data; i++) { + ret = sbp_u8_cmp(&a->data[i], &b->data[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1151,9 +1145,6 @@ int sbp_msg_fileio_write_resp_cmp(const sbp_msg_fileio_write_resp_t *a, int ret = 0; ret = sbp_u32_cmp(&a->sequence, &b->sequence); - if (ret != 0) { - return ret; - } return ret; } @@ -1224,9 +1215,6 @@ int sbp_msg_fileio_config_req_cmp(const sbp_msg_fileio_config_req_t *a, int ret = 0; ret = sbp_u32_cmp(&a->sequence, &b->sequence); - if (ret != 0) { - return ret; - } return ret; } @@ -1330,8 +1318,5 @@ int sbp_msg_fileio_config_resp_cmp(const sbp_msg_fileio_config_resp_t *a, } ret = sbp_u32_cmp(&a->fileio_version, &b->fileio_version); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/flash.c b/c/src/flash.c index fdabc64cf1..7dfbcfe438 100644 --- a/c/src/flash.c +++ b/c/src/flash.c @@ -116,9 +116,11 @@ int sbp_msg_flash_program_cmp(const sbp_msg_flash_program_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_FLASH_PROGRAM_ADDR_START_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_FLASH_PROGRAM_ADDR_START_MAX; i++) { ret = sbp_u8_cmp(&a->addr_start[i], &b->addr_start[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -130,12 +132,15 @@ int sbp_msg_flash_program_cmp(const sbp_msg_flash_program_t *a, } ret = sbp_u8_cmp(&a->addr_len, &b->addr_len); - for (uint8_t i = 0; ret == 0 && i < a->addr_len; i++) { - ret = sbp_u8_cmp(&a->data[i], &b->data[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->addr_len; i++) { + ret = sbp_u8_cmp(&a->data[i], &b->data[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -204,9 +209,6 @@ int sbp_msg_flash_done_cmp(const sbp_msg_flash_done_t *a, int ret = 0; ret = sbp_u8_cmp(&a->response, &b->response); - if (ret != 0) { - return ret; - } return ret; } @@ -296,18 +298,17 @@ int sbp_msg_flash_read_req_cmp(const sbp_msg_flash_read_req_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_FLASH_READ_REQ_ADDR_START_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_FLASH_READ_REQ_ADDR_START_MAX; i++) { ret = sbp_u8_cmp(&a->addr_start[i], &b->addr_start[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->addr_len, &b->addr_len); - if (ret != 0) { - return ret; - } return ret; } @@ -397,18 +398,17 @@ int sbp_msg_flash_read_resp_cmp(const sbp_msg_flash_read_resp_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_FLASH_READ_RESP_ADDR_START_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_FLASH_READ_RESP_ADDR_START_MAX; i++) { ret = sbp_u8_cmp(&a->addr_start[i], &b->addr_start[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->addr_len, &b->addr_len); - if (ret != 0) { - return ret; - } return ret; } @@ -488,9 +488,6 @@ int sbp_msg_flash_erase_cmp(const sbp_msg_flash_erase_t *a, } ret = sbp_u32_cmp(&a->sector_num, &b->sector_num); - if (ret != 0) { - return ret; - } return ret; } @@ -562,9 +559,6 @@ int sbp_msg_stm_flash_lock_sector_cmp( int ret = 0; ret = sbp_u32_cmp(&a->sector, &b->sector); - if (ret != 0) { - return ret; - } return ret; } @@ -636,9 +630,6 @@ int sbp_msg_stm_flash_unlock_sector_cmp( int ret = 0; ret = sbp_u32_cmp(&a->sector, &b->sector); - if (ret != 0) { - return ret; - } return ret; } @@ -780,12 +771,11 @@ int sbp_msg_stm_unique_id_resp_cmp(const sbp_msg_stm_unique_id_resp_t *a, const sbp_msg_stm_unique_id_resp_t *b) { int ret = 0; - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_STM_UNIQUE_ID_RESP_STM_ID_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_STM_UNIQUE_ID_RESP_STM_ID_MAX; i++) { ret = sbp_u8_cmp(&a->stm_id[i], &b->stm_id[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -861,12 +851,11 @@ int sbp_msg_m25_flash_write_status_cmp( const sbp_msg_m25_flash_write_status_t *b) { int ret = 0; - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_M25_FLASH_WRITE_STATUS_STATUS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_M25_FLASH_WRITE_STATUS_STATUS_MAX; i++) { ret = sbp_u8_cmp(&a->status[i], &b->status[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } diff --git a/c/src/gnss.c b/c/src/gnss.c index 7ab62b659e..48eae61d36 100644 --- a/c/src/gnss.c +++ b/c/src/gnss.c @@ -79,9 +79,6 @@ int sbp_v4_gnss_signal_cmp(const sbp_v4_gnss_signal_t *a, } ret = sbp_u8_cmp(&a->code, &b->code); - if (ret != 0) { - return ret; - } return ret; } @@ -144,9 +141,6 @@ int sbp_sv_id_cmp(const sbp_sv_id_t *a, const sbp_sv_id_t *b) { } ret = sbp_u8_cmp(&a->constellation, &b->constellation); - if (ret != 0) { - return ret; - } return ret; } @@ -223,9 +217,6 @@ int sbp_gnss_signal_dep_cmp(const sbp_gnss_signal_dep_t *a, } ret = sbp_u8_cmp(&a->reserved, &b->reserved); - if (ret != 0) { - return ret; - } return ret; } @@ -291,9 +282,6 @@ int sbp_gps_time_dep_cmp(const sbp_gps_time_dep_t *a, } ret = sbp_u16_cmp(&a->wn, &b->wn); - if (ret != 0) { - return ret; - } return ret; } @@ -359,9 +347,6 @@ int sbp_gps_time_sec_cmp(const sbp_gps_time_sec_t *a, } ret = sbp_u16_cmp(&a->wn, &b->wn); - if (ret != 0) { - return ret; - } return ret; } @@ -438,9 +423,6 @@ int sbp_v4_gps_time_cmp(const sbp_v4_gps_time_t *a, } ret = sbp_u16_cmp(&a->wn, &b->wn); - if (ret != 0) { - return ret; - } return ret; } @@ -506,8 +488,5 @@ int sbp_carrier_phase_cmp(const sbp_carrier_phase_t *a, } ret = sbp_u8_cmp(&a->f, &b->f); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/imu.c b/c/src/imu.c index d29d818dd2..4560f3bde0 100644 --- a/c/src/imu.c +++ b/c/src/imu.c @@ -157,9 +157,6 @@ int sbp_msg_imu_raw_cmp(const sbp_msg_imu_raw_t *a, } ret = sbp_s16_cmp(&a->gyr_z, &b->gyr_z); - if (ret != 0) { - return ret; - } return ret; } @@ -248,8 +245,5 @@ int sbp_msg_imu_aux_cmp(const sbp_msg_imu_aux_t *a, } ret = sbp_u8_cmp(&a->imu_conf, &b->imu_conf); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/integrity.c b/c/src/integrity.c index 23ab5c295d..34e539ba4c 100644 --- a/c/src/integrity.c +++ b/c/src/integrity.c @@ -136,9 +136,6 @@ int sbp_integrity_ssr_header_cmp(const sbp_integrity_ssr_header_t *a, } ret = sbp_u8_cmp(&a->chain_id, &b->chain_id); - if (ret != 0) { - return ret; - } return ret; } @@ -335,9 +332,11 @@ int sbp_msg_ssr_flag_high_level_cmp(const sbp_msg_ssr_flag_high_level_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_SSR_FLAG_HIGH_LEVEL_RESERVED_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_SSR_FLAG_HIGH_LEVEL_RESERVED_MAX; i++) { ret = sbp_u8_cmp(&a->reserved[i], &b->reserved[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -360,9 +359,6 @@ int sbp_msg_ssr_flag_high_level_cmp(const sbp_msg_ssr_flag_high_level_t *a, ret = sbp_u8_cmp(&a->use_iono_grid_point_sat_los, &b->use_iono_grid_point_sat_los); - if (ret != 0) { - return ret; - } return ret; } @@ -519,12 +515,15 @@ int sbp_msg_ssr_flag_satellites_cmp(const sbp_msg_ssr_flag_satellites_t *a, } ret = sbp_u8_cmp(&a->n_faulty_sats, &b->n_faulty_sats); - for (uint8_t i = 0; ret == 0 && i < a->n_faulty_sats; i++) { - ret = sbp_u8_cmp(&a->faulty_sats[i], &b->faulty_sats[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_faulty_sats; i++) { + ret = sbp_u8_cmp(&a->faulty_sats[i], &b->faulty_sats[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -627,12 +626,15 @@ int sbp_msg_ssr_flag_tropo_grid_points_cmp( } ret = sbp_u8_cmp(&a->n_faulty_points, &b->n_faulty_points); - for (uint8_t i = 0; ret == 0 && i < a->n_faulty_points; i++) { - ret = sbp_u16_cmp(&a->faulty_points[i], &b->faulty_points[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_faulty_points; i++) { + ret = sbp_u16_cmp(&a->faulty_points[i], &b->faulty_points[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -735,12 +737,15 @@ int sbp_msg_ssr_flag_iono_grid_points_cmp( } ret = sbp_u8_cmp(&a->n_faulty_points, &b->n_faulty_points); - for (uint8_t i = 0; ret == 0 && i < a->n_faulty_points; i++) { - ret = sbp_u16_cmp(&a->faulty_points[i], &b->faulty_points[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_faulty_points; i++) { + ret = sbp_u16_cmp(&a->faulty_points[i], &b->faulty_points[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -843,12 +848,15 @@ int sbp_msg_ssr_flag_iono_tile_sat_los_cmp( } ret = sbp_u8_cmp(&a->n_faulty_los, &b->n_faulty_los); - for (uint8_t i = 0; ret == 0 && i < a->n_faulty_los; i++) { - ret = sbp_sv_id_cmp(&a->faulty_los[i], &b->faulty_los[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_faulty_los; i++) { + ret = sbp_sv_id_cmp(&a->faulty_los[i], &b->faulty_los[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -965,12 +973,15 @@ int sbp_msg_ssr_flag_iono_grid_point_sat_los_cmp( } ret = sbp_u8_cmp(&a->n_faulty_los, &b->n_faulty_los); - for (uint8_t i = 0; ret == 0 && i < a->n_faulty_los; i++) { - ret = sbp_sv_id_cmp(&a->faulty_los[i], &b->faulty_los[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_faulty_los; i++) { + ret = sbp_sv_id_cmp(&a->faulty_los[i], &b->faulty_los[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1095,8 +1106,5 @@ int sbp_msg_acknowledge_cmp(const sbp_msg_acknowledge_t *a, } ret = sbp_u8_cmp(&a->solution_id, &b->solution_id); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/linux.c b/c/src/linux.c index 6d050c2b42..33aea91ace 100644 --- a/c/src/linux.c +++ b/c/src/linux.c @@ -226,18 +226,17 @@ int sbp_msg_linux_cpu_state_dep_a_cmp( return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_LINUX_CPU_STATE_DEP_A_TNAME_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_LINUX_CPU_STATE_DEP_A_TNAME_MAX; i++) { ret = sbp_char_cmp(&a->tname[i], &b->tname[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_msg_linux_cpu_state_dep_a_cmdline_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -450,18 +449,17 @@ int sbp_msg_linux_mem_state_dep_a_cmp( return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_LINUX_MEM_STATE_DEP_A_TNAME_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_LINUX_MEM_STATE_DEP_A_TNAME_MAX; i++) { ret = sbp_char_cmp(&a->tname[i], &b->tname[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_msg_linux_mem_state_dep_a_cmdline_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -588,9 +586,6 @@ int sbp_msg_linux_sys_state_dep_a_cmp( } ret = sbp_u16_cmp(&a->pid_count, &b->pid_count); - if (ret != 0) { - return ret; - } return ret; } @@ -819,9 +814,6 @@ int sbp_msg_linux_process_socket_counts_cmp( } ret = sbp_msg_linux_process_socket_counts_cmdline_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1073,19 +1065,17 @@ int sbp_msg_linux_process_socket_queues_cmp( } for (uint8_t i = 0; - ret == 0 && - i < SBP_MSG_LINUX_PROCESS_SOCKET_QUEUES_ADDRESS_OF_LARGEST_MAX; - i++) { + i < SBP_MSG_LINUX_PROCESS_SOCKET_QUEUES_ADDRESS_OF_LARGEST_MAX; i++) { ret = sbp_char_cmp(&a->address_of_largest[i], &b->address_of_largest[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_msg_linux_process_socket_queues_cmdline_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1195,21 +1185,23 @@ int sbp_msg_linux_socket_usage_cmp(const sbp_msg_linux_socket_usage_t *a, return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_LINUX_SOCKET_USAGE_SOCKET_STATE_COUNTS_MAX; + for (uint8_t i = 0; i < SBP_MSG_LINUX_SOCKET_USAGE_SOCKET_STATE_COUNTS_MAX; i++) { ret = sbp_u16_cmp(&a->socket_state_counts[i], &b->socket_state_counts[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_LINUX_SOCKET_USAGE_SOCKET_TYPE_COUNTS_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_LINUX_SOCKET_USAGE_SOCKET_TYPE_COUNTS_MAX; + i++) { ret = sbp_u16_cmp(&a->socket_type_counts[i], &b->socket_type_counts[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -1414,9 +1406,6 @@ int sbp_msg_linux_process_fd_count_cmp( } ret = sbp_msg_linux_process_fd_count_cmdline_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1602,9 +1591,6 @@ int sbp_msg_linux_process_fd_summary_cmp( } ret = sbp_msg_linux_process_fd_summary_most_opened_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1839,17 +1825,17 @@ int sbp_msg_linux_cpu_state_cmp(const sbp_msg_linux_cpu_state_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_LINUX_CPU_STATE_TNAME_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_LINUX_CPU_STATE_TNAME_MAX; i++) { ret = sbp_char_cmp(&a->tname[i], &b->tname[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_msg_linux_cpu_state_cmdline_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -2084,17 +2070,17 @@ int sbp_msg_linux_mem_state_cmp(const sbp_msg_linux_mem_state_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_LINUX_MEM_STATE_TNAME_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_LINUX_MEM_STATE_TNAME_MAX; i++) { ret = sbp_char_cmp(&a->tname[i], &b->tname[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_msg_linux_mem_state_cmdline_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -2241,8 +2227,5 @@ int sbp_msg_linux_sys_state_cmp(const sbp_msg_linux_sys_state_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/logging.c b/c/src/logging.c index c0ca0edd3a..f34dda0c69 100644 --- a/c/src/logging.c +++ b/c/src/logging.c @@ -165,9 +165,6 @@ int sbp_msg_log_cmp(const sbp_msg_log_t *a, const sbp_msg_log_t *b) { } ret = sbp_msg_log_text_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -263,12 +260,15 @@ int sbp_msg_fwd_cmp(const sbp_msg_fwd_t *a, const sbp_msg_fwd_t *b) { } ret = sbp_u8_cmp(&a->n_fwd_payload, &b->n_fwd_payload); - for (uint8_t i = 0; ret == 0 && i < a->n_fwd_payload; i++) { - ret = sbp_u8_cmp(&a->fwd_payload[i], &b->fwd_payload[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_fwd_payload; i++) { + ret = sbp_u8_cmp(&a->fwd_payload[i], &b->fwd_payload[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -419,8 +419,5 @@ int sbp_msg_print_dep_cmp(const sbp_msg_print_dep_t *a, int ret = 0; ret = sbp_msg_print_dep_text_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/mag.c b/c/src/mag.c index de9c63bc3c..c92640959f 100644 --- a/c/src/mag.c +++ b/c/src/mag.c @@ -124,8 +124,5 @@ int sbp_msg_mag_raw_cmp(const sbp_msg_mag_raw_t *a, } ret = sbp_s16_cmp(&a->mag_z, &b->mag_z); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/navigation.c b/c/src/navigation.c index 1f1328933c..641487066d 100644 --- a/c/src/navigation.c +++ b/c/src/navigation.c @@ -113,9 +113,6 @@ int sbp_msg_gps_time_cmp(const sbp_msg_gps_time_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -217,9 +214,6 @@ int sbp_msg_gps_time_gnss_cmp(const sbp_msg_gps_time_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -374,9 +368,6 @@ int sbp_msg_utc_time_cmp(const sbp_msg_utc_time_t *a, } ret = sbp_u32_cmp(&a->ns, &b->ns); - if (ret != 0) { - return ret; - } return ret; } @@ -533,9 +524,6 @@ int sbp_msg_utc_time_gnss_cmp(const sbp_msg_utc_time_gnss_t *a, } ret = sbp_u32_cmp(&a->ns, &b->ns); - if (ret != 0) { - return ret; - } return ret; } @@ -666,9 +654,6 @@ int sbp_msg_dops_cmp(const sbp_msg_dops_t *a, const sbp_msg_dops_t *b) { } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -801,9 +786,6 @@ int sbp_msg_pos_ecef_cmp(const sbp_msg_pos_ecef_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -993,9 +975,6 @@ int sbp_msg_pos_ecef_cov_cmp(const sbp_msg_pos_ecef_cov_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1139,9 +1118,6 @@ int sbp_msg_pos_llh_cmp(const sbp_msg_pos_llh_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1331,9 +1307,6 @@ int sbp_msg_pos_llh_cov_cmp(const sbp_msg_pos_llh_cov_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1414,9 +1387,6 @@ int sbp_estimated_horizontal_error_ellipse_cmp( } ret = sbp_float_cmp(&a->orientation, &b->orientation); - if (ret != 0) { - return ret; - } return ret; } @@ -1620,9 +1590,6 @@ int sbp_msg_pos_llh_acc_cmp(const sbp_msg_pos_llh_acc_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1757,9 +1724,6 @@ int sbp_msg_baseline_ecef_cmp(const sbp_msg_baseline_ecef_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1905,9 +1869,6 @@ int sbp_msg_baseline_ned_cmp(const sbp_msg_baseline_ned_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -2040,9 +2001,6 @@ int sbp_msg_vel_ecef_cmp(const sbp_msg_vel_ecef_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -2232,9 +2190,6 @@ int sbp_msg_vel_ecef_cov_cmp(const sbp_msg_vel_ecef_cov_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -2378,9 +2333,6 @@ int sbp_msg_vel_ned_cmp(const sbp_msg_vel_ned_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -2570,9 +2522,6 @@ int sbp_msg_vel_ned_cov_cmp(const sbp_msg_vel_ned_cov_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -2707,9 +2656,6 @@ int sbp_msg_pos_ecef_gnss_cmp(const sbp_msg_pos_ecef_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -2901,9 +2847,6 @@ int sbp_msg_pos_ecef_cov_gnss_cmp(const sbp_msg_pos_ecef_cov_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -3049,9 +2992,6 @@ int sbp_msg_pos_llh_gnss_cmp(const sbp_msg_pos_llh_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -3243,9 +3183,6 @@ int sbp_msg_pos_llh_cov_gnss_cmp(const sbp_msg_pos_llh_cov_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -3380,9 +3317,6 @@ int sbp_msg_vel_ecef_gnss_cmp(const sbp_msg_vel_ecef_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -3574,9 +3508,6 @@ int sbp_msg_vel_ecef_cov_gnss_cmp(const sbp_msg_vel_ecef_cov_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -3722,9 +3653,6 @@ int sbp_msg_vel_ned_gnss_cmp(const sbp_msg_vel_ned_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -3916,9 +3844,6 @@ int sbp_msg_vel_ned_cov_gnss_cmp(const sbp_msg_vel_ned_cov_gnss_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -4106,9 +4031,6 @@ int sbp_msg_vel_body_cmp(const sbp_msg_vel_body_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -4252,9 +4174,6 @@ int sbp_msg_vel_cog_cmp(const sbp_msg_vel_cog_t *a, } ret = sbp_u16_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -4335,9 +4254,6 @@ int sbp_msg_age_corrections_cmp(const sbp_msg_age_corrections_t *a, } ret = sbp_u16_cmp(&a->age, &b->age); - if (ret != 0) { - return ret; - } return ret; } @@ -4440,9 +4356,6 @@ int sbp_msg_gps_time_dep_a_cmp(const sbp_msg_gps_time_dep_a_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -4566,9 +4479,6 @@ int sbp_msg_dops_dep_a_cmp(const sbp_msg_dops_dep_a_t *a, } ret = sbp_u16_cmp(&a->vdop, &b->vdop); - if (ret != 0) { - return ret; - } return ret; } @@ -4704,9 +4614,6 @@ int sbp_msg_pos_ecef_dep_a_cmp(const sbp_msg_pos_ecef_dep_a_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -4852,9 +4759,6 @@ int sbp_msg_pos_llh_dep_a_cmp(const sbp_msg_pos_llh_dep_a_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -4991,9 +4895,6 @@ int sbp_msg_baseline_ecef_dep_a_cmp(const sbp_msg_baseline_ecef_dep_a_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -5141,9 +5042,6 @@ int sbp_msg_baseline_ned_dep_a_cmp(const sbp_msg_baseline_ned_dep_a_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -5279,9 +5177,6 @@ int sbp_msg_vel_ecef_dep_a_cmp(const sbp_msg_vel_ecef_dep_a_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -5427,9 +5322,6 @@ int sbp_msg_vel_ned_dep_a_cmp(const sbp_msg_vel_ned_dep_a_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -5534,9 +5426,6 @@ int sbp_msg_baseline_heading_dep_a_cmp( } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -5674,9 +5563,6 @@ int sbp_msg_protection_level_dep_a_cmp( } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -5967,9 +5853,6 @@ int sbp_msg_protection_level_cmp(const sbp_msg_protection_level_t *a, } ret = sbp_u32_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -6127,9 +6010,6 @@ int sbp_msg_utc_leap_second_cmp(const sbp_msg_utc_leap_second_t *a, } ret = sbp_s8_cmp(&a->count_after, &b->count_after); - if (ret != 0) { - return ret; - } return ret; } @@ -6327,17 +6207,21 @@ int sbp_msg_reference_frame_param_cmp( return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_REFERENCE_FRAME_PARAM_SN_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_REFERENCE_FRAME_PARAM_SN_MAX; i++) { ret = sbp_char_cmp(&a->sn[i], &b->sn[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_REFERENCE_FRAME_PARAM_TN_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_REFERENCE_FRAME_PARAM_TN_MAX; i++) { ret = sbp_char_cmp(&a->tn[i], &b->tn[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -6424,9 +6308,6 @@ int sbp_msg_reference_frame_param_cmp( } ret = sbp_s16_cmp(&a->dot_scale, &b->dot_scale); - if (ret != 0) { - return ret; - } return ret; } @@ -6644,8 +6525,11 @@ int sbp_msg_pose_relative_cmp(const sbp_msg_pose_relative_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_POSE_RELATIVE_TRANS_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_POSE_RELATIVE_TRANS_MAX; i++) { ret = sbp_s32_cmp(&a->trans[i], &b->trans[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -6732,8 +6616,5 @@ int sbp_msg_pose_relative_cmp(const sbp_msg_pose_relative_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/ndb.c b/c/src/ndb.c index 09358b7df7..29913d3fe0 100644 --- a/c/src/ndb.c +++ b/c/src/ndb.c @@ -159,8 +159,5 @@ int sbp_msg_ndb_event_cmp(const sbp_msg_ndb_event_t *a, } ret = sbp_u16_cmp(&a->original_sender, &b->original_sender); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/observation.c b/c/src/observation.c index e8707ebe17..0894fb73c5 100644 --- a/c/src/observation.c +++ b/c/src/observation.c @@ -80,9 +80,6 @@ int sbp_observation_header_cmp(const sbp_observation_header_t *a, } ret = sbp_u8_cmp(&a->n_obs, &b->n_obs); - if (ret != 0) { - return ret; - } return ret; } @@ -146,9 +143,6 @@ int sbp_doppler_cmp(const sbp_doppler_t *a, const sbp_doppler_t *b) { } ret = sbp_u8_cmp(&a->f, &b->f); - if (ret != 0) { - return ret; - } return ret; } @@ -270,9 +264,6 @@ int sbp_packed_obs_content_cmp(const sbp_packed_obs_content_t *a, } ret = sbp_v4_gnss_signal_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -405,9 +396,6 @@ int sbp_packed_osr_content_cmp(const sbp_packed_osr_content_t *a, } ret = sbp_u16_cmp(&a->range_std, &b->range_std); - if (ret != 0) { - return ret; - } return ret; } @@ -493,12 +481,15 @@ int sbp_msg_obs_cmp(const sbp_msg_obs_t *a, const sbp_msg_obs_t *b) { } ret = sbp_u8_cmp(&a->n_obs, &b->n_obs); - for (uint8_t i = 0; ret == 0 && i < a->n_obs; i++) { - ret = sbp_packed_obs_content_cmp(&a->obs[i], &b->obs[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_obs; i++) { + ret = sbp_packed_obs_content_cmp(&a->obs[i], &b->obs[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -589,9 +580,6 @@ int sbp_msg_base_pos_llh_cmp(const sbp_msg_base_pos_llh_t *a, } ret = sbp_double_cmp(&a->height, &b->height); - if (ret != 0) { - return ret; - } return ret; } @@ -682,9 +670,6 @@ int sbp_msg_base_pos_ecef_cmp(const sbp_msg_base_pos_ecef_t *a, } ret = sbp_double_cmp(&a->z, &b->z); - if (ret != 0) { - return ret; - } return ret; } @@ -796,9 +781,6 @@ int sbp_ephemeris_common_content_cmp(const sbp_ephemeris_common_content_t *a, } ret = sbp_u8_cmp(&a->health_bits, &b->health_bits); - if (ret != 0) { - return ret; - } return ret; } @@ -911,9 +893,6 @@ int sbp_ephemeris_common_content_dep_b_cmp( } ret = sbp_u8_cmp(&a->health_bits, &b->health_bits); - if (ret != 0) { - return ret; - } return ret; } @@ -1026,9 +1005,6 @@ int sbp_ephemeris_common_content_dep_a_cmp( } ret = sbp_u8_cmp(&a->health_bits, &b->health_bits); - if (ret != 0) { - return ret; - } return ret; } @@ -1341,9 +1317,6 @@ int sbp_msg_ephemeris_gps_dep_e_cmp(const sbp_msg_ephemeris_gps_dep_e_t *a, } ret = sbp_u16_cmp(&a->iodc, &b->iodc); - if (ret != 0) { - return ret; - } return ret; } @@ -1656,9 +1629,6 @@ int sbp_msg_ephemeris_gps_dep_f_cmp(const sbp_msg_ephemeris_gps_dep_f_t *a, } ret = sbp_u16_cmp(&a->iodc, &b->iodc); - if (ret != 0) { - return ret; - } return ret; } @@ -1969,9 +1939,6 @@ int sbp_msg_ephemeris_gps_cmp(const sbp_msg_ephemeris_gps_t *a, } ret = sbp_u16_cmp(&a->iodc, &b->iodc); - if (ret != 0) { - return ret; - } return ret; } @@ -2283,9 +2250,6 @@ int sbp_msg_ephemeris_qzss_cmp(const sbp_msg_ephemeris_qzss_t *a, } ret = sbp_u16_cmp(&a->iodc, &b->iodc); - if (ret != 0) { - return ret; - } return ret; } @@ -2607,9 +2571,6 @@ int sbp_msg_ephemeris_bds_cmp(const sbp_msg_ephemeris_bds_t *a, } ret = sbp_u16_cmp(&a->iodc, &b->iodc); - if (ret != 0) { - return ret; - } return ret; } @@ -2933,9 +2894,6 @@ int sbp_msg_ephemeris_gal_dep_a_cmp(const sbp_msg_ephemeris_gal_dep_a_t *a, } ret = sbp_u16_cmp(&a->iodc, &b->iodc); - if (ret != 0) { - return ret; - } return ret; } @@ -3268,9 +3226,6 @@ int sbp_msg_ephemeris_gal_cmp(const sbp_msg_ephemeris_gal_t *a, } ret = sbp_u8_cmp(&a->source, &b->source); - if (ret != 0) { - return ret; - } return ret; } @@ -3387,25 +3342,31 @@ int sbp_msg_ephemeris_sbas_dep_a_cmp(const sbp_msg_ephemeris_sbas_dep_a_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_DEP_A_POS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_DEP_A_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_DEP_A_VEL_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_DEP_A_VEL_MAX; i++) { ret = sbp_double_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_DEP_A_ACC_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_DEP_A_ACC_MAX; i++) { ret = sbp_double_cmp(&a->acc[i], &b->acc[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -3417,9 +3378,6 @@ int sbp_msg_ephemeris_sbas_dep_a_cmp(const sbp_msg_ephemeris_sbas_dep_a_t *a, } ret = sbp_double_cmp(&a->a_gf1, &b->a_gf1); - if (ret != 0) { - return ret; - } return ret; } @@ -3546,28 +3504,31 @@ int sbp_msg_ephemeris_glo_dep_a_cmp(const sbp_msg_ephemeris_glo_dep_a_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_A_POS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_A_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_A_VEL_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_A_VEL_MAX; i++) { ret = sbp_double_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_A_ACC_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_A_ACC_MAX; i++) { ret = sbp_double_cmp(&a->acc[i], &b->acc[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -3685,25 +3646,31 @@ int sbp_msg_ephemeris_sbas_dep_b_cmp(const sbp_msg_ephemeris_sbas_dep_b_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_DEP_B_POS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_DEP_B_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_DEP_B_VEL_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_DEP_B_VEL_MAX; i++) { ret = sbp_double_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_DEP_B_ACC_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_DEP_B_ACC_MAX; i++) { ret = sbp_double_cmp(&a->acc[i], &b->acc[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -3715,9 +3682,6 @@ int sbp_msg_ephemeris_sbas_dep_b_cmp(const sbp_msg_ephemeris_sbas_dep_b_t *a, } ret = sbp_double_cmp(&a->a_gf1, &b->a_gf1); - if (ret != 0) { - return ret; - } return ret; } @@ -3833,22 +3797,31 @@ int sbp_msg_ephemeris_sbas_cmp(const sbp_msg_ephemeris_sbas_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_POS_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_VEL_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_VEL_MAX; i++) { ret = sbp_float_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_SBAS_ACC_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_SBAS_ACC_MAX; i++) { ret = sbp_float_cmp(&a->acc[i], &b->acc[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -3860,9 +3833,6 @@ int sbp_msg_ephemeris_sbas_cmp(const sbp_msg_ephemeris_sbas_t *a, } ret = sbp_float_cmp(&a->a_gf1, &b->a_gf1); - if (ret != 0) { - return ret; - } return ret; } @@ -3989,28 +3959,31 @@ int sbp_msg_ephemeris_glo_dep_b_cmp(const sbp_msg_ephemeris_glo_dep_b_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_B_POS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_B_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_B_VEL_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_B_VEL_MAX; i++) { ret = sbp_double_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_B_ACC_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_B_ACC_MAX; i++) { ret = sbp_double_cmp(&a->acc[i], &b->acc[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -4155,34 +4128,37 @@ int sbp_msg_ephemeris_glo_dep_c_cmp(const sbp_msg_ephemeris_glo_dep_c_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_C_POS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_C_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_C_VEL_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_C_VEL_MAX; i++) { ret = sbp_double_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_C_ACC_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_C_ACC_MAX; i++) { ret = sbp_double_cmp(&a->acc[i], &b->acc[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->fcn, &b->fcn); - if (ret != 0) { - return ret; - } return ret; } @@ -4332,25 +4308,31 @@ int sbp_msg_ephemeris_glo_dep_d_cmp(const sbp_msg_ephemeris_glo_dep_d_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_D_POS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_D_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_D_VEL_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_D_VEL_MAX; i++) { ret = sbp_double_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_DEP_D_ACC_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_DEP_D_ACC_MAX; i++) { ret = sbp_double_cmp(&a->acc[i], &b->acc[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -4362,9 +4344,6 @@ int sbp_msg_ephemeris_glo_dep_d_cmp(const sbp_msg_ephemeris_glo_dep_d_t *a, } ret = sbp_u8_cmp(&a->iod, &b->iod); - if (ret != 0) { - return ret; - } return ret; } @@ -4512,22 +4491,31 @@ int sbp_msg_ephemeris_glo_cmp(const sbp_msg_ephemeris_glo_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_POS_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_POS_MAX; i++) { ret = sbp_double_cmp(&a->pos[i], &b->pos[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_VEL_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_VEL_MAX; i++) { ret = sbp_double_cmp(&a->vel[i], &b->vel[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_EPHEMERIS_GLO_ACC_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_EPHEMERIS_GLO_ACC_MAX; i++) { ret = sbp_float_cmp(&a->acc[i], &b->acc[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -4539,9 +4527,6 @@ int sbp_msg_ephemeris_glo_cmp(const sbp_msg_ephemeris_glo_t *a, } ret = sbp_u8_cmp(&a->iod, &b->iod); - if (ret != 0) { - return ret; - } return ret; } @@ -4919,9 +4904,6 @@ int sbp_msg_ephemeris_dep_d_cmp(const sbp_msg_ephemeris_dep_d_t *a, } ret = sbp_u32_cmp(&a->reserved, &b->reserved); - if (ret != 0) { - return ret; - } return ret; } @@ -5266,9 +5248,6 @@ int sbp_msg_ephemeris_dep_a_cmp(const sbp_msg_ephemeris_dep_a_t *a, } ret = sbp_u8_cmp(&a->prn, &b->prn); - if (ret != 0) { - return ret; - } return ret; } @@ -5624,9 +5603,6 @@ int sbp_msg_ephemeris_dep_b_cmp(const sbp_msg_ephemeris_dep_b_t *a, } ret = sbp_u8_cmp(&a->iode, &b->iode); - if (ret != 0) { - return ret; - } return ret; } @@ -6004,9 +5980,6 @@ int sbp_msg_ephemeris_dep_c_cmp(const sbp_msg_ephemeris_dep_c_t *a, } ret = sbp_u32_cmp(&a->reserved, &b->reserved); - if (ret != 0) { - return ret; - } return ret; } @@ -6074,9 +6047,6 @@ int sbp_observation_header_dep_cmp(const sbp_observation_header_dep_t *a, } ret = sbp_u8_cmp(&a->n_obs, &b->n_obs); - if (ret != 0) { - return ret; - } return ret; } @@ -6143,9 +6113,6 @@ int sbp_carrier_phase_dep_a_cmp(const sbp_carrier_phase_dep_a_t *a, } ret = sbp_u8_cmp(&a->f, &b->f); - if (ret != 0) { - return ret; - } return ret; } @@ -6246,9 +6213,6 @@ int sbp_packed_obs_content_dep_a_cmp(const sbp_packed_obs_content_dep_a_t *a, } ret = sbp_u8_cmp(&a->prn, &b->prn); - if (ret != 0) { - return ret; - } return ret; } @@ -6349,9 +6313,6 @@ int sbp_packed_obs_content_dep_b_cmp(const sbp_packed_obs_content_dep_b_t *a, } ret = sbp_gnss_signal_dep_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -6452,9 +6413,6 @@ int sbp_packed_obs_content_dep_c_cmp(const sbp_packed_obs_content_dep_c_t *a, } ret = sbp_gnss_signal_dep_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -6544,12 +6502,15 @@ int sbp_msg_obs_dep_a_cmp(const sbp_msg_obs_dep_a_t *a, } ret = sbp_u8_cmp(&a->n_obs, &b->n_obs); - for (uint8_t i = 0; ret == 0 && i < a->n_obs; i++) { - ret = sbp_packed_obs_content_dep_a_cmp(&a->obs[i], &b->obs[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_obs; i++) { + ret = sbp_packed_obs_content_dep_a_cmp(&a->obs[i], &b->obs[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -6639,12 +6600,15 @@ int sbp_msg_obs_dep_b_cmp(const sbp_msg_obs_dep_b_t *a, } ret = sbp_u8_cmp(&a->n_obs, &b->n_obs); - for (uint8_t i = 0; ret == 0 && i < a->n_obs; i++) { - ret = sbp_packed_obs_content_dep_b_cmp(&a->obs[i], &b->obs[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_obs; i++) { + ret = sbp_packed_obs_content_dep_b_cmp(&a->obs[i], &b->obs[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -6734,12 +6698,15 @@ int sbp_msg_obs_dep_c_cmp(const sbp_msg_obs_dep_c_t *a, } ret = sbp_u8_cmp(&a->n_obs, &b->n_obs); - for (uint8_t i = 0; ret == 0 && i < a->n_obs; i++) { - ret = sbp_packed_obs_content_dep_c_cmp(&a->obs[i], &b->obs[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_obs; i++) { + ret = sbp_packed_obs_content_dep_c_cmp(&a->obs[i], &b->obs[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -6892,9 +6859,6 @@ int sbp_msg_iono_cmp(const sbp_msg_iono_t *a, const sbp_msg_iono_t *b) { } ret = sbp_double_cmp(&a->b3, &b->b3); - if (ret != 0) { - return ret; - } return ret; } @@ -6977,9 +6941,6 @@ int sbp_msg_sv_configuration_gps_dep_cmp( } ret = sbp_u32_cmp(&a->l2c_mask, &b->l2c_mask); - if (ret != 0) { - return ret; - } return ret; } @@ -7187,9 +7148,6 @@ int sbp_gnss_capb_cmp(const sbp_gnss_capb_t *a, const sbp_gnss_capb_t *b) { } ret = sbp_u64_cmp(&a->gal_e5, &b->gal_e5); - if (ret != 0) { - return ret; - } return ret; } @@ -7269,9 +7227,6 @@ int sbp_msg_gnss_capb_cmp(const sbp_msg_gnss_capb_t *a, } ret = sbp_gnss_capb_cmp(&a->gc, &b->gc); - if (ret != 0) { - return ret; - } return ret; } @@ -7397,9 +7352,6 @@ int sbp_msg_group_delay_dep_a_cmp(const sbp_msg_group_delay_dep_a_t *a, } ret = sbp_s16_cmp(&a->isc_l2c, &b->isc_l2c); - if (ret != 0) { - return ret; - } return ret; } @@ -7525,9 +7477,6 @@ int sbp_msg_group_delay_dep_b_cmp(const sbp_msg_group_delay_dep_b_t *a, } ret = sbp_s16_cmp(&a->isc_l2c, &b->isc_l2c); - if (ret != 0) { - return ret; - } return ret; } @@ -7651,9 +7600,6 @@ int sbp_msg_group_delay_cmp(const sbp_msg_group_delay_t *a, } ret = sbp_s16_cmp(&a->isc_l2c, &b->isc_l2c); - if (ret != 0) { - return ret; - } return ret; } @@ -7765,9 +7711,6 @@ int sbp_almanac_common_content_cmp(const sbp_almanac_common_content_t *a, } ret = sbp_u8_cmp(&a->health_bits, &b->health_bits); - if (ret != 0) { - return ret; - } return ret; } @@ -7880,9 +7823,6 @@ int sbp_almanac_common_content_dep_cmp( } ret = sbp_u8_cmp(&a->health_bits, &b->health_bits); - if (ret != 0) { - return ret; - } return ret; } @@ -8051,9 +7991,6 @@ int sbp_msg_almanac_gps_dep_cmp(const sbp_msg_almanac_gps_dep_t *a, } ret = sbp_double_cmp(&a->af1, &b->af1); - if (ret != 0) { - return ret; - } return ret; } @@ -8221,9 +8158,6 @@ int sbp_msg_almanac_gps_cmp(const sbp_msg_almanac_gps_t *a, } ret = sbp_double_cmp(&a->af1, &b->af1); - if (ret != 0) { - return ret; - } return ret; } @@ -8370,9 +8304,6 @@ int sbp_msg_almanac_glo_dep_cmp(const sbp_msg_almanac_glo_dep_t *a, } ret = sbp_double_cmp(&a->omega, &b->omega); - if (ret != 0) { - return ret; - } return ret; } @@ -8518,9 +8449,6 @@ int sbp_msg_almanac_glo_cmp(const sbp_msg_almanac_glo_t *a, } ret = sbp_double_cmp(&a->omega, &b->omega); - if (ret != 0) { - return ret; - } return ret; } @@ -8633,9 +8561,6 @@ int sbp_msg_glo_biases_cmp(const sbp_msg_glo_biases_t *a, } ret = sbp_s16_cmp(&a->l2p_bias, &b->l2p_bias); - if (ret != 0) { - return ret; - } return ret; } @@ -8710,9 +8635,6 @@ int sbp_sv_az_el_cmp(const sbp_sv_az_el_t *a, const sbp_sv_az_el_t *b) { } ret = sbp_s8_cmp(&a->el, &b->el); - if (ret != 0) { - return ret; - } return ret; } @@ -8788,12 +8710,15 @@ int sbp_msg_sv_az_el_cmp(const sbp_msg_sv_az_el_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_azel, &b->n_azel); - for (uint8_t i = 0; ret == 0 && i < a->n_azel; i++) { - ret = sbp_sv_az_el_cmp(&a->azel[i], &b->azel[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_azel; i++) { + ret = sbp_sv_az_el_cmp(&a->azel[i], &b->azel[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -8879,11 +8804,14 @@ int sbp_msg_osr_cmp(const sbp_msg_osr_t *a, const sbp_msg_osr_t *b) { } ret = sbp_u8_cmp(&a->n_obs, &b->n_obs); - for (uint8_t i = 0; ret == 0 && i < a->n_obs; i++) { - ret = sbp_packed_osr_content_cmp(&a->obs[i], &b->obs[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_obs; i++) { + ret = sbp_packed_osr_content_cmp(&a->obs[i], &b->obs[i]); + if (ret != 0) { + return ret; + } + } return ret; } diff --git a/c/src/orientation.c b/c/src/orientation.c index d43b8e0f0e..93054c53a0 100644 --- a/c/src/orientation.c +++ b/c/src/orientation.c @@ -117,9 +117,6 @@ int sbp_msg_baseline_heading_cmp(const sbp_msg_baseline_heading_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -287,9 +284,6 @@ int sbp_msg_orient_quat_cmp(const sbp_msg_orient_quat_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -435,9 +429,6 @@ int sbp_msg_orient_euler_cmp(const sbp_msg_orient_euler_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -550,8 +541,5 @@ int sbp_msg_angular_rate_cmp(const sbp_msg_angular_rate_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/piksi.c b/c/src/piksi.c index 586442e36a..325f32a003 100644 --- a/c/src/piksi.c +++ b/c/src/piksi.c @@ -207,9 +207,6 @@ int sbp_msg_reset_cmp(const sbp_msg_reset_t *a, const sbp_msg_reset_t *b) { int ret = 0; ret = sbp_u32_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -474,9 +471,6 @@ int sbp_msg_reset_filters_cmp(const sbp_msg_reset_filters_t *a, int ret = 0; ret = sbp_u8_cmp(&a->filter, &b->filter); - if (ret != 0) { - return ret; - } return ret; } @@ -626,8 +620,11 @@ int sbp_msg_thread_state_cmp(const sbp_msg_thread_state_t *a, const sbp_msg_thread_state_t *b) { int ret = 0; - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_THREAD_STATE_NAME_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_THREAD_STATE_NAME_MAX; i++) { ret = sbp_char_cmp(&a->name[i], &b->name[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -639,9 +636,6 @@ int sbp_msg_thread_state_cmp(const sbp_msg_thread_state_t *a, } ret = sbp_u32_cmp(&a->stack_free, &b->stack_free); - if (ret != 0) { - return ret; - } return ret; } @@ -751,9 +745,6 @@ int sbp_uart_channel_cmp(const sbp_uart_channel_t *a, } ret = sbp_u8_cmp(&a->rx_buffer_level, &b->rx_buffer_level); - if (ret != 0) { - return ret; - } return ret; } @@ -839,9 +830,6 @@ int sbp_period_cmp(const sbp_period_t *a, const sbp_period_t *b) { } ret = sbp_s32_cmp(&a->current, &b->current); - if (ret != 0) { - return ret; - } return ret; } @@ -927,9 +915,6 @@ int sbp_latency_cmp(const sbp_latency_t *a, const sbp_latency_t *b) { } ret = sbp_s32_cmp(&a->current, &b->current); - if (ret != 0) { - return ret; - } return ret; } @@ -1042,9 +1027,6 @@ int sbp_msg_uart_state_cmp(const sbp_msg_uart_state_t *a, } ret = sbp_period_cmp(&a->obs_period, &b->obs_period); - if (ret != 0) { - return ret; - } return ret; } @@ -1147,9 +1129,6 @@ int sbp_msg_uart_state_depa_cmp(const sbp_msg_uart_state_depa_t *a, } ret = sbp_latency_cmp(&a->latency, &b->latency); - if (ret != 0) { - return ret; - } return ret; } @@ -1218,9 +1197,6 @@ int sbp_msg_iar_state_cmp(const sbp_msg_iar_state_t *a, int ret = 0; ret = sbp_u32_cmp(&a->num_hyps, &b->num_hyps); - if (ret != 0) { - return ret; - } return ret; } @@ -1301,9 +1277,6 @@ int sbp_msg_mask_satellite_cmp(const sbp_msg_mask_satellite_t *a, } ret = sbp_v4_gnss_signal_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -1385,9 +1358,6 @@ int sbp_msg_mask_satellite_dep_cmp(const sbp_msg_mask_satellite_dep_t *a, } ret = sbp_gnss_signal_dep_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -1501,9 +1471,6 @@ int sbp_msg_device_monitor_cmp(const sbp_msg_device_monitor_t *a, } ret = sbp_s16_cmp(&a->fe_temperature, &b->fe_temperature); - if (ret != 0) { - return ret; - } return ret; } @@ -1680,9 +1647,6 @@ int sbp_msg_command_req_cmp(const sbp_msg_command_req_t *a, } ret = sbp_msg_command_req_command_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1762,9 +1726,6 @@ int sbp_msg_command_resp_cmp(const sbp_msg_command_resp_t *a, } ret = sbp_s32_cmp(&a->code, &b->code); - if (ret != 0) { - return ret; - } return ret; } @@ -1943,9 +1904,6 @@ int sbp_msg_command_output_cmp(const sbp_msg_command_output_t *a, } ret = sbp_msg_command_output_line_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -2137,9 +2095,11 @@ int sbp_msg_network_state_resp_cmp(const sbp_msg_network_state_resp_t *a, const sbp_msg_network_state_resp_t *b) { int ret = 0; - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_NETWORK_STATE_RESP_IPV4_ADDRESS_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_NETWORK_STATE_RESP_IPV4_ADDRESS_MAX; i++) { ret = sbp_u8_cmp(&a->ipv4_address[i], &b->ipv4_address[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -2150,9 +2110,11 @@ int sbp_msg_network_state_resp_cmp(const sbp_msg_network_state_resp_t *a, return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_NETWORK_STATE_RESP_IPV6_ADDRESS_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_NETWORK_STATE_RESP_IPV6_ADDRESS_MAX; i++) { ret = sbp_u8_cmp(&a->ipv6_address[i], &b->ipv6_address[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -2173,18 +2135,17 @@ int sbp_msg_network_state_resp_cmp(const sbp_msg_network_state_resp_t *a, return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_NETWORK_STATE_RESP_INTERFACE_NAME_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_NETWORK_STATE_RESP_INTERFACE_NAME_MAX; i++) { ret = sbp_char_cmp(&a->interface_name[i], &b->interface_name[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u32_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -2286,12 +2247,11 @@ int sbp_network_usage_cmp(const sbp_network_usage_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_NETWORK_USAGE_INTERFACE_NAME_MAX; - i++) { + for (uint8_t i = 0; i < SBP_NETWORK_USAGE_INTERFACE_NAME_MAX; i++) { ret = sbp_char_cmp(&a->interface_name[i], &b->interface_name[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -2373,12 +2333,15 @@ int sbp_msg_network_bandwidth_usage_cmp( int ret = 0; ret = sbp_u8_cmp(&a->n_interfaces, &b->n_interfaces); - for (uint8_t i = 0; ret == 0 && i < a->n_interfaces; i++) { - ret = sbp_network_usage_cmp(&a->interfaces[i], &b->interfaces[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_interfaces; i++) { + ret = sbp_network_usage_cmp(&a->interfaces[i], &b->interfaces[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -2480,12 +2443,15 @@ int sbp_msg_cell_modem_status_cmp(const sbp_msg_cell_modem_status_t *a, } ret = sbp_u8_cmp(&a->n_reserved, &b->n_reserved); - for (uint8_t i = 0; ret == 0 && i < a->n_reserved; i++) { - ret = sbp_u8_cmp(&a->reserved[i], &b->reserved[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_reserved; i++) { + ret = sbp_u8_cmp(&a->reserved[i], &b->reserved[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -2629,12 +2595,15 @@ int sbp_msg_specan_dep_cmp(const sbp_msg_specan_dep_t *a, } ret = sbp_u8_cmp(&a->n_amplitude_value, &b->n_amplitude_value); - for (uint8_t i = 0; ret == 0 && i < a->n_amplitude_value; i++) { - ret = sbp_u8_cmp(&a->amplitude_value[i], &b->amplitude_value[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_amplitude_value; i++) { + ret = sbp_u8_cmp(&a->amplitude_value[i], &b->amplitude_value[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -2775,12 +2744,15 @@ int sbp_msg_specan_cmp(const sbp_msg_specan_t *a, const sbp_msg_specan_t *b) { } ret = sbp_u8_cmp(&a->n_amplitude_value, &b->n_amplitude_value); - for (uint8_t i = 0; ret == 0 && i < a->n_amplitude_value; i++) { - ret = sbp_u8_cmp(&a->amplitude_value[i], &b->amplitude_value[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_amplitude_value; i++) { + ret = sbp_u8_cmp(&a->amplitude_value[i], &b->amplitude_value[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -2863,18 +2835,21 @@ int sbp_msg_front_end_gain_cmp(const sbp_msg_front_end_gain_t *a, const sbp_msg_front_end_gain_t *b) { int ret = 0; - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_FRONT_END_GAIN_RF_GAIN_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_FRONT_END_GAIN_RF_GAIN_MAX; i++) { ret = sbp_s8_cmp(&a->rf_gain[i], &b->rf_gain[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_FRONT_END_GAIN_IF_GAIN_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_FRONT_END_GAIN_IF_GAIN_MAX; i++) { ret = sbp_s8_cmp(&a->if_gain[i], &b->if_gain[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } diff --git a/c/src/sbas.c b/c/src/sbas.c index fe6b5ebea9..f74aa18f18 100644 --- a/c/src/sbas.c +++ b/c/src/sbas.c @@ -116,11 +116,11 @@ int sbp_msg_sbas_raw_cmp(const sbp_msg_sbas_raw_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_SBAS_RAW_DATA_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_SBAS_RAW_DATA_MAX; i++) { ret = sbp_u8_cmp(&a->data[i], &b->data[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } diff --git a/c/src/settings.c b/c/src/settings.c index 1920a4232c..a594f72e92 100644 --- a/c/src/settings.c +++ b/c/src/settings.c @@ -239,9 +239,6 @@ int sbp_msg_settings_write_cmp(const sbp_msg_settings_write_t *a, int ret = 0; ret = sbp_msg_settings_write_setting_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -416,9 +413,6 @@ int sbp_msg_settings_write_resp_cmp(const sbp_msg_settings_write_resp_t *a, } ret = sbp_msg_settings_write_resp_setting_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -581,9 +575,6 @@ int sbp_msg_settings_read_req_cmp(const sbp_msg_settings_read_req_t *a, int ret = 0; ret = sbp_msg_settings_read_req_setting_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -747,9 +738,6 @@ int sbp_msg_settings_read_resp_cmp(const sbp_msg_settings_read_resp_t *a, int ret = 0; ret = sbp_msg_settings_read_resp_setting_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -821,9 +809,6 @@ int sbp_msg_settings_read_by_index_req_cmp( int ret = 0; ret = sbp_u16_cmp(&a->index, &b->index); - if (ret != 0) { - return ret; - } return ret; } @@ -1002,9 +987,6 @@ int sbp_msg_settings_read_by_index_resp_cmp( } ret = sbp_msg_settings_read_by_index_resp_setting_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1236,9 +1218,6 @@ int sbp_msg_settings_register_cmp(const sbp_msg_settings_register_t *a, int ret = 0; ret = sbp_msg_settings_register_setting_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1414,8 +1393,5 @@ int sbp_msg_settings_register_resp_cmp( } ret = sbp_msg_settings_register_resp_setting_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/signing.c b/c/src/signing.c index ede796c855..d9f5720a96 100644 --- a/c/src/signing.c +++ b/c/src/signing.c @@ -132,9 +132,6 @@ int sbp_utc_time_cmp(const sbp_utc_time_t *a, const sbp_utc_time_t *b) { } ret = sbp_u32_cmp(&a->ns, &b->ns); - if (ret != 0) { - return ret; - } return ret; } @@ -203,11 +200,11 @@ int sbp_ecdsa_signature_cmp(const sbp_ecdsa_signature_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_ECDSA_SIGNATURE_DATA_MAX; i++) { + for (uint8_t i = 0; i < SBP_ECDSA_SIGNATURE_DATA_MAX; i++) { ret = sbp_u8_cmp(&a->data[i], &b->data[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -314,9 +311,11 @@ int sbp_msg_ecdsa_certificate_cmp(const sbp_msg_ecdsa_certificate_t *a, return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ECDSA_CERTIFICATE_CERTIFICATE_ID_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ECDSA_CERTIFICATE_CERTIFICATE_ID_MAX; i++) { ret = sbp_u8_cmp(&a->certificate_id[i], &b->certificate_id[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -328,12 +327,15 @@ int sbp_msg_ecdsa_certificate_cmp(const sbp_msg_ecdsa_certificate_t *a, } ret = sbp_u8_cmp(&a->n_certificate_bytes, &b->n_certificate_bytes); - for (uint8_t i = 0; ret == 0 && i < a->n_certificate_bytes; i++) { - ret = sbp_u8_cmp(&a->certificate_bytes[i], &b->certificate_bytes[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_certificate_bytes; i++) { + ret = sbp_u8_cmp(&a->certificate_bytes[i], &b->certificate_bytes[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -443,29 +445,35 @@ int sbp_msg_certificate_chain_cmp(const sbp_msg_certificate_chain_t *a, const sbp_msg_certificate_chain_t *b) { int ret = 0; - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_CERTIFICATE_CHAIN_ROOT_CERTIFICATE_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_CERTIFICATE_CHAIN_ROOT_CERTIFICATE_MAX; i++) { ret = sbp_u8_cmp(&a->root_certificate[i], &b->root_certificate[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_CERTIFICATE_CHAIN_INTERMEDIATE_CERTIFICATE_MAX; - i++) { + i < SBP_MSG_CERTIFICATE_CHAIN_INTERMEDIATE_CERTIFICATE_MAX; i++) { ret = sbp_u8_cmp(&a->intermediate_certificate[i], &b->intermediate_certificate[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_CERTIFICATE_CHAIN_CORRECTIONS_CERTIFICATE_MAX; + for (uint8_t i = 0; i < SBP_MSG_CERTIFICATE_CHAIN_CORRECTIONS_CERTIFICATE_MAX; i++) { ret = sbp_u8_cmp(&a->corrections_certificate[i], &b->corrections_certificate[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -477,9 +485,6 @@ int sbp_msg_certificate_chain_cmp(const sbp_msg_certificate_chain_t *a, } ret = sbp_ecdsa_signature_cmp(&a->signature, &b->signature); - if (ret != 0) { - return ret; - } return ret; } @@ -596,32 +601,36 @@ int sbp_msg_certificate_chain_dep_cmp( const sbp_msg_certificate_chain_dep_t *b) { int ret = 0; - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_CERTIFICATE_CHAIN_DEP_ROOT_CERTIFICATE_MAX; + for (uint8_t i = 0; i < SBP_MSG_CERTIFICATE_CHAIN_DEP_ROOT_CERTIFICATE_MAX; i++) { ret = sbp_u8_cmp(&a->root_certificate[i], &b->root_certificate[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } for (uint8_t i = 0; - ret == 0 && - i < SBP_MSG_CERTIFICATE_CHAIN_DEP_INTERMEDIATE_CERTIFICATE_MAX; - i++) { + i < SBP_MSG_CERTIFICATE_CHAIN_DEP_INTERMEDIATE_CERTIFICATE_MAX; i++) { ret = sbp_u8_cmp(&a->intermediate_certificate[i], &b->intermediate_certificate[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } for (uint8_t i = 0; - ret == 0 && - i < SBP_MSG_CERTIFICATE_CHAIN_DEP_CORRECTIONS_CERTIFICATE_MAX; - i++) { + i < SBP_MSG_CERTIFICATE_CHAIN_DEP_CORRECTIONS_CERTIFICATE_MAX; i++) { ret = sbp_u8_cmp(&a->corrections_certificate[i], &b->corrections_certificate[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -632,12 +641,11 @@ int sbp_msg_certificate_chain_dep_cmp( return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_CERTIFICATE_CHAIN_DEP_SIGNATURE_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_CERTIFICATE_CHAIN_DEP_SIGNATURE_MAX; i++) { ret = sbp_u8_cmp(&a->signature[i], &b->signature[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -765,9 +773,11 @@ int sbp_msg_ecdsa_signature_cmp(const sbp_msg_ecdsa_signature_t *a, return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ECDSA_SIGNATURE_CERTIFICATE_ID_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ECDSA_SIGNATURE_CERTIFICATE_ID_MAX; i++) { ret = sbp_u8_cmp(&a->certificate_id[i], &b->certificate_id[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -779,12 +789,15 @@ int sbp_msg_ecdsa_signature_cmp(const sbp_msg_ecdsa_signature_t *a, } ret = sbp_u8_cmp(&a->n_signed_messages, &b->n_signed_messages); - for (uint8_t i = 0; ret == 0 && i < a->n_signed_messages; i++) { - ret = sbp_u8_cmp(&a->signed_messages[i], &b->signed_messages[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_signed_messages; i++) { + ret = sbp_u8_cmp(&a->signed_messages[i], &b->signed_messages[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -925,9 +938,12 @@ int sbp_msg_ecdsa_signature_dep_b_cmp( return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ECDSA_SIGNATURE_DEP_B_CERTIFICATE_ID_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ECDSA_SIGNATURE_DEP_B_CERTIFICATE_ID_MAX; + i++) { ret = sbp_u8_cmp(&a->certificate_id[i], &b->certificate_id[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; @@ -938,21 +954,26 @@ int sbp_msg_ecdsa_signature_dep_b_cmp( return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ECDSA_SIGNATURE_DEP_B_SIGNATURE_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ECDSA_SIGNATURE_DEP_B_SIGNATURE_MAX; i++) { ret = sbp_u8_cmp(&a->signature[i], &b->signature[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->n_signed_messages, &b->n_signed_messages); - for (uint8_t i = 0; ret == 0 && i < a->n_signed_messages; i++) { - ret = sbp_u8_cmp(&a->signed_messages[i], &b->signed_messages[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_signed_messages; i++) { + ret = sbp_u8_cmp(&a->signed_messages[i], &b->signed_messages[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1087,29 +1108,37 @@ int sbp_msg_ecdsa_signature_dep_a_cmp( return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ECDSA_SIGNATURE_DEP_A_CERTIFICATE_ID_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ECDSA_SIGNATURE_DEP_A_CERTIFICATE_ID_MAX; + i++) { ret = sbp_u8_cmp(&a->certificate_id[i], &b->certificate_id[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ECDSA_SIGNATURE_DEP_A_SIGNATURE_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ECDSA_SIGNATURE_DEP_A_SIGNATURE_MAX; i++) { ret = sbp_u8_cmp(&a->signature[i], &b->signature[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->n_signed_messages, &b->n_signed_messages); - for (uint8_t i = 0; ret == 0 && i < a->n_signed_messages; i++) { - ret = sbp_u8_cmp(&a->signed_messages[i], &b->signed_messages[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_signed_messages; i++) { + ret = sbp_u8_cmp(&a->signed_messages[i], &b->signed_messages[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1211,21 +1240,27 @@ int sbp_msg_ed25519_certificate_dep_cmp( return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ED25519_CERTIFICATE_DEP_FINGERPRINT_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ED25519_CERTIFICATE_DEP_FINGERPRINT_MAX; + i++) { ret = sbp_u8_cmp(&a->fingerprint[i], &b->fingerprint[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->n_certificate_bytes, &b->n_certificate_bytes); - for (uint8_t i = 0; ret == 0 && i < a->n_certificate_bytes; i++) { - ret = sbp_u8_cmp(&a->certificate_bytes[i], &b->certificate_bytes[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_certificate_bytes; i++) { + ret = sbp_u8_cmp(&a->certificate_bytes[i], &b->certificate_bytes[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1326,29 +1361,37 @@ int sbp_msg_ed25519_signature_dep_a_cmp( const sbp_msg_ed25519_signature_dep_a_t *b) { int ret = 0; - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ED25519_SIGNATURE_DEP_A_SIGNATURE_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ED25519_SIGNATURE_DEP_A_SIGNATURE_MAX; i++) { ret = sbp_u8_cmp(&a->signature[i], &b->signature[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ED25519_SIGNATURE_DEP_A_FINGERPRINT_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ED25519_SIGNATURE_DEP_A_FINGERPRINT_MAX; + i++) { ret = sbp_u8_cmp(&a->fingerprint[i], &b->fingerprint[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->n_signed_messages, &b->n_signed_messages); - for (uint8_t i = 0; ret == 0 && i < a->n_signed_messages; i++) { - ret = sbp_u32_cmp(&a->signed_messages[i], &b->signed_messages[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_signed_messages; i++) { + ret = sbp_u32_cmp(&a->signed_messages[i], &b->signed_messages[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1471,28 +1514,36 @@ int sbp_msg_ed25519_signature_dep_b_cmp( return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ED25519_SIGNATURE_DEP_B_SIGNATURE_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ED25519_SIGNATURE_DEP_B_SIGNATURE_MAX; i++) { ret = sbp_u8_cmp(&a->signature[i], &b->signature[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; - ret == 0 && i < SBP_MSG_ED25519_SIGNATURE_DEP_B_FINGERPRINT_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_ED25519_SIGNATURE_DEP_B_FINGERPRINT_MAX; + i++) { ret = sbp_u8_cmp(&a->fingerprint[i], &b->fingerprint[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } ret = sbp_u8_cmp(&a->n_signed_messages, &b->n_signed_messages); - for (uint8_t i = 0; ret == 0 && i < a->n_signed_messages; i++) { - ret = sbp_u32_cmp(&a->signed_messages[i], &b->signed_messages[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_signed_messages; i++) { + ret = sbp_u32_cmp(&a->signed_messages[i], &b->signed_messages[i]); + if (ret != 0) { + return ret; + } + } return ret; } diff --git a/c/src/solution_meta.c b/c/src/solution_meta.c index 8b0d0e9d6a..6465426e3c 100644 --- a/c/src/solution_meta.c +++ b/c/src/solution_meta.c @@ -80,9 +80,6 @@ int sbp_solution_input_type_cmp(const sbp_solution_input_type_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -250,12 +247,15 @@ int sbp_msg_soln_meta_dep_a_cmp(const sbp_msg_soln_meta_dep_a_t *a, } ret = sbp_u8_cmp(&a->n_sol_in, &b->n_sol_in); - for (uint8_t i = 0; ret == 0 && i < a->n_sol_in; i++) { - ret = sbp_solution_input_type_cmp(&a->sol_in[i], &b->sol_in[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_sol_in; i++) { + ret = sbp_solution_input_type_cmp(&a->sol_in[i], &b->sol_in[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -400,12 +400,15 @@ int sbp_msg_soln_meta_cmp(const sbp_msg_soln_meta_t *a, } ret = sbp_u8_cmp(&a->n_sol_in, &b->n_sol_in); - for (uint8_t i = 0; ret == 0 && i < a->n_sol_in; i++) { - ret = sbp_solution_input_type_cmp(&a->sol_in[i], &b->sol_in[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_sol_in; i++) { + ret = sbp_solution_input_type_cmp(&a->sol_in[i], &b->sol_in[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -460,9 +463,6 @@ int sbp_gnss_input_type_cmp(const sbp_gnss_input_type_t *a, int ret = 0; ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -517,9 +517,6 @@ int sbp_imu_input_type_cmp(const sbp_imu_input_type_t *a, int ret = 0; ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -574,8 +571,5 @@ int sbp_odo_input_type_cmp(const sbp_odo_input_type_t *a, int ret = 0; ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/ssr.c b/c/src/ssr.c index 6ebb09fda7..4064f3ae20 100644 --- a/c/src/ssr.c +++ b/c/src/ssr.c @@ -80,9 +80,6 @@ int sbp_code_biases_content_cmp(const sbp_code_biases_content_t *a, } ret = sbp_s16_cmp(&a->value, &b->value); - if (ret != 0) { - return ret; - } return ret; } @@ -184,9 +181,6 @@ int sbp_phase_biases_content_cmp(const sbp_phase_biases_content_t *a, } ret = sbp_s32_cmp(&a->bias, &b->bias); - if (ret != 0) { - return ret; - } return ret; } @@ -307,9 +301,6 @@ int sbp_stec_header_cmp(const sbp_stec_header_t *a, } ret = sbp_u8_cmp(&a->iod_atmo, &b->iod_atmo); - if (ret != 0) { - return ret; - } return ret; } @@ -444,9 +435,6 @@ int sbp_gridded_correction_header_cmp( } ret = sbp_u8_cmp(&a->tropo_quality_indicator, &b->tropo_quality_indicator); - if (ret != 0) { - return ret; - } return ret; } @@ -526,12 +514,11 @@ int sbp_stec_sat_element_cmp(const sbp_stec_sat_element_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_STEC_SAT_ELEMENT_STEC_COEFF_MAX; - i++) { + for (uint8_t i = 0; i < SBP_STEC_SAT_ELEMENT_STEC_COEFF_MAX; i++) { ret = sbp_s16_cmp(&a->stec_coeff[i], &b->stec_coeff[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -602,9 +589,6 @@ int sbp_tropospheric_delay_correction_no_std_cmp( } ret = sbp_s8_cmp(&a->wet, &b->wet); - if (ret != 0) { - return ret; - } return ret; } @@ -684,9 +668,6 @@ int sbp_tropospheric_delay_correction_cmp( } ret = sbp_u8_cmp(&a->stddev, &b->stddev); - if (ret != 0) { - return ret; - } return ret; } @@ -754,9 +735,6 @@ int sbp_stec_residual_no_std_cmp(const sbp_stec_residual_no_std_t *a, } ret = sbp_s16_cmp(&a->residual, &b->residual); - if (ret != 0) { - return ret; - } return ret; } @@ -833,9 +811,6 @@ int sbp_stec_residual_cmp(const sbp_stec_residual_t *a, } ret = sbp_u8_cmp(&a->stddev, &b->stddev); - if (ret != 0) { - return ret; - } return ret; } @@ -1048,9 +1023,6 @@ int sbp_msg_ssr_orbit_clock_cmp(const sbp_msg_ssr_orbit_clock_t *a, } ret = sbp_s32_cmp(&a->c2, &b->c2); - if (ret != 0) { - return ret; - } return ret; } @@ -1174,12 +1146,15 @@ int sbp_msg_ssr_code_biases_cmp(const sbp_msg_ssr_code_biases_t *a, } ret = sbp_u8_cmp(&a->n_biases, &b->n_biases); - for (uint8_t i = 0; ret == 0 && i < a->n_biases; i++) { - ret = sbp_code_biases_content_cmp(&a->biases[i], &b->biases[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_biases; i++) { + ret = sbp_code_biases_content_cmp(&a->biases[i], &b->biases[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1348,12 +1323,15 @@ int sbp_msg_ssr_phase_biases_cmp(const sbp_msg_ssr_phase_biases_t *a, } ret = sbp_u8_cmp(&a->n_biases, &b->n_biases); - for (uint8_t i = 0; ret == 0 && i < a->n_biases; i++) { - ret = sbp_phase_biases_content_cmp(&a->biases[i], &b->biases[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_biases; i++) { + ret = sbp_phase_biases_content_cmp(&a->biases[i], &b->biases[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1445,12 +1423,15 @@ int sbp_msg_ssr_stec_correction_dep_cmp( } ret = sbp_u8_cmp(&a->n_stec_sat_list, &b->n_stec_sat_list); - for (uint8_t i = 0; ret == 0 && i < a->n_stec_sat_list; i++) { - ret = sbp_stec_sat_element_cmp(&a->stec_sat_list[i], &b->stec_sat_list[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_stec_sat_list; i++) { + ret = sbp_stec_sat_element_cmp(&a->stec_sat_list[i], &b->stec_sat_list[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1549,9 +1530,6 @@ int sbp_bounds_header_cmp(const sbp_bounds_header_t *a, } ret = sbp_u8_cmp(&a->sol_id, &b->sol_id); - if (ret != 0) { - return ret; - } return ret; } @@ -1686,12 +1664,15 @@ int sbp_msg_ssr_stec_correction_cmp(const sbp_msg_ssr_stec_correction_t *a, } ret = sbp_u8_cmp(&a->n_sats, &b->n_sats); - for (uint8_t i = 0; ret == 0 && i < a->n_sats; i++) { - ret = sbp_stec_sat_element_cmp(&a->stec_sat_list[i], &b->stec_sat_list[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_sats; i++) { + ret = sbp_stec_sat_element_cmp(&a->stec_sat_list[i], &b->stec_sat_list[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1808,12 +1789,15 @@ int sbp_msg_ssr_gridded_correction_cmp( } ret = sbp_u8_cmp(&a->n_stec_residuals, &b->n_stec_residuals); - for (uint8_t i = 0; ret == 0 && i < a->n_stec_residuals; i++) { - ret = sbp_stec_residual_cmp(&a->stec_residuals[i], &b->stec_residuals[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_stec_residuals; i++) { + ret = sbp_stec_residual_cmp(&a->stec_residuals[i], &b->stec_residuals[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1915,9 +1899,6 @@ int sbp_stec_sat_element_integrity_cmp( } ret = sbp_u8_cmp(&a->stec_bound_sig_dot, &b->stec_bound_sig_dot); - if (ret != 0) { - return ret; - } return ret; } @@ -2136,13 +2117,16 @@ int sbp_msg_ssr_gridded_correction_bounds_cmp( } ret = sbp_u8_cmp(&a->n_sats, &b->n_sats); - for (uint8_t i = 0; ret == 0 && i < a->n_sats; i++) { - ret = sbp_stec_sat_element_integrity_cmp(&a->stec_sat_list[i], - &b->stec_sat_list[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_sats; i++) { + ret = sbp_stec_sat_element_integrity_cmp(&a->stec_sat_list[i], + &b->stec_sat_list[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -2302,9 +2286,6 @@ int sbp_msg_ssr_tile_definition_dep_a_cmp( } ret = sbp_u64_cmp(&a->bitmask, &b->bitmask); - if (ret != 0) { - return ret; - } return ret; } @@ -2475,9 +2456,6 @@ int sbp_msg_ssr_tile_definition_dep_b_cmp( } ret = sbp_u64_cmp(&a->bitmask, &b->bitmask); - if (ret != 0) { - return ret; - } return ret; } @@ -2680,9 +2658,6 @@ int sbp_msg_ssr_tile_definition_cmp(const sbp_msg_ssr_tile_definition_t *a, } ret = sbp_u64_cmp(&a->bitmask, &b->bitmask); - if (ret != 0) { - return ret; - } return ret; } @@ -2783,18 +2758,21 @@ int sbp_satellite_apc_cmp(const sbp_satellite_apc_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_SATELLITE_APC_PCO_MAX; i++) { + for (uint8_t i = 0; i < SBP_SATELLITE_APC_PCO_MAX; i++) { ret = sbp_s16_cmp(&a->pco[i], &b->pco[i]); + if (ret != 0) { + return ret; + } } if (ret != 0) { return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_SATELLITE_APC_PCV_MAX; i++) { + for (uint8_t i = 0; i < SBP_SATELLITE_APC_PCV_MAX; i++) { ret = sbp_s8_cmp(&a->pcv[i], &b->pcv[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -2876,12 +2854,15 @@ int sbp_msg_ssr_satellite_apc_dep_cmp( int ret = 0; ret = sbp_u8_cmp(&a->n_apc, &b->n_apc); - for (uint8_t i = 0; ret == 0 && i < a->n_apc; i++) { - ret = sbp_satellite_apc_cmp(&a->apc[i], &b->apc[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_apc; i++) { + ret = sbp_satellite_apc_cmp(&a->apc[i], &b->apc[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -3005,12 +2986,15 @@ int sbp_msg_ssr_satellite_apc_cmp(const sbp_msg_ssr_satellite_apc_t *a, } ret = sbp_u8_cmp(&a->n_apc, &b->n_apc); - for (uint8_t i = 0; ret == 0 && i < a->n_apc; i++) { - ret = sbp_satellite_apc_cmp(&a->apc[i], &b->apc[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_apc; i++) { + ret = sbp_satellite_apc_cmp(&a->apc[i], &b->apc[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -3225,9 +3209,6 @@ int sbp_msg_ssr_orbit_clock_dep_a_cmp( } ret = sbp_s32_cmp(&a->c2, &b->c2); - if (ret != 0) { - return ret; - } return ret; } @@ -3326,9 +3307,6 @@ int sbp_stec_header_dep_a_cmp(const sbp_stec_header_dep_a_t *a, } ret = sbp_u8_cmp(&a->iod_atmo, &b->iod_atmo); - if (ret != 0) { - return ret; - } return ret; } @@ -3441,9 +3419,6 @@ int sbp_gridded_correction_header_dep_a_cmp( } ret = sbp_u8_cmp(&a->tropo_quality_indicator, &b->tropo_quality_indicator); - if (ret != 0) { - return ret; - } return ret; } @@ -3556,9 +3531,6 @@ int sbp_grid_definition_header_dep_a_cmp( } ret = sbp_u8_cmp(&a->seq_num, &b->seq_num); - if (ret != 0) { - return ret; - } return ret; } @@ -3650,12 +3622,15 @@ int sbp_msg_ssr_stec_correction_dep_a_cmp( } ret = sbp_u8_cmp(&a->n_stec_sat_list, &b->n_stec_sat_list); - for (uint8_t i = 0; ret == 0 && i < a->n_stec_sat_list; i++) { - ret = sbp_stec_sat_element_cmp(&a->stec_sat_list[i], &b->stec_sat_list[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_stec_sat_list; i++) { + ret = sbp_stec_sat_element_cmp(&a->stec_sat_list[i], &b->stec_sat_list[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -3778,13 +3753,16 @@ int sbp_msg_ssr_gridded_correction_no_std_dep_a_cmp( } ret = sbp_u8_cmp(&a->n_stec_residuals, &b->n_stec_residuals); - for (uint8_t i = 0; ret == 0 && i < a->n_stec_residuals; i++) { - ret = sbp_stec_residual_no_std_cmp(&a->stec_residuals[i], - &b->stec_residuals[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_stec_residuals; i++) { + ret = sbp_stec_residual_no_std_cmp(&a->stec_residuals[i], + &b->stec_residuals[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -3901,12 +3879,15 @@ int sbp_msg_ssr_gridded_correction_dep_a_cmp( } ret = sbp_u8_cmp(&a->n_stec_residuals, &b->n_stec_residuals); - for (uint8_t i = 0; ret == 0 && i < a->n_stec_residuals; i++) { - ret = sbp_stec_residual_cmp(&a->stec_residuals[i], &b->stec_residuals[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_stec_residuals; i++) { + ret = sbp_stec_residual_cmp(&a->stec_residuals[i], &b->stec_residuals[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -3998,12 +3979,15 @@ int sbp_msg_ssr_grid_definition_dep_a_cmp( } ret = sbp_u8_cmp(&a->n_rle_list, &b->n_rle_list); - for (uint8_t i = 0; ret == 0 && i < a->n_rle_list; i++) { - ret = sbp_u8_cmp(&a->rle_list[i], &b->rle_list[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_rle_list; i++) { + ret = sbp_u8_cmp(&a->rle_list[i], &b->rle_list[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -4146,9 +4130,6 @@ int sbp_orbit_clock_bound_cmp(const sbp_orbit_clock_bound_t *a, } ret = sbp_u8_cmp(&a->clock_bound_sig, &b->clock_bound_sig); - if (ret != 0) { - return ret; - } return ret; } @@ -4275,13 +4256,16 @@ int sbp_msg_ssr_orbit_clock_bounds_cmp( } ret = sbp_u8_cmp(&a->n_sats, &b->n_sats); - for (uint8_t i = 0; ret == 0 && i < a->n_sats; i++) { - ret = sbp_orbit_clock_bound_cmp(&a->orbit_clock_bounds[i], - &b->orbit_clock_bounds[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_sats; i++) { + ret = sbp_orbit_clock_bound_cmp(&a->orbit_clock_bounds[i], + &b->orbit_clock_bounds[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -4394,9 +4378,6 @@ int sbp_code_phase_biases_sat_sig_cmp( } ret = sbp_u8_cmp(&a->phase_bias_bound_sig, &b->phase_bias_bound_sig); - if (ret != 0) { - return ret; - } return ret; } @@ -4524,13 +4505,16 @@ int sbp_msg_ssr_code_phase_biases_bounds_cmp( } ret = sbp_u8_cmp(&a->n_sats_signals, &b->n_sats_signals); - for (uint8_t i = 0; ret == 0 && i < a->n_sats_signals; i++) { - ret = sbp_code_phase_biases_sat_sig_cmp(&a->satellites_signals[i], - &b->satellites_signals[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_sats_signals; i++) { + ret = sbp_code_phase_biases_sat_sig_cmp(&a->satellites_signals[i], + &b->satellites_signals[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -4665,9 +4649,6 @@ int sbp_orbit_clock_bound_degradation_cmp( } ret = sbp_u8_cmp(&a->clock_bound_sig_dot, &b->clock_bound_sig_dot); - if (ret != 0) { - return ret; - } return ret; } @@ -4789,8 +4770,5 @@ int sbp_msg_ssr_orbit_clock_bounds_degradation_cmp( ret = sbp_orbit_clock_bound_degradation_cmp( &a->orbit_clock_bounds_degradation, &b->orbit_clock_bounds_degradation); - if (ret != 0) { - return ret; - } return ret; } diff --git a/c/src/system.c b/c/src/system.c index 25a9a4064c..4882e05487 100644 --- a/c/src/system.c +++ b/c/src/system.c @@ -102,9 +102,6 @@ int sbp_msg_startup_cmp(const sbp_msg_startup_t *a, } ret = sbp_u16_cmp(&a->reserved, &b->reserved); - if (ret != 0) { - return ret; - } return ret; } @@ -303,9 +300,6 @@ int sbp_msg_dgnss_status_cmp(const sbp_msg_dgnss_status_t *a, } ret = sbp_msg_dgnss_status_source_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -374,9 +368,6 @@ int sbp_msg_heartbeat_cmp(const sbp_msg_heartbeat_t *a, int ret = 0; ret = sbp_u32_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -453,9 +444,6 @@ int sbp_sub_system_report_cmp(const sbp_sub_system_report_t *a, } ret = sbp_u8_cmp(&a->specific, &b->specific); - if (ret != 0) { - return ret; - } return ret; } @@ -577,12 +565,15 @@ int sbp_msg_status_report_cmp(const sbp_msg_status_report_t *a, } ret = sbp_u8_cmp(&a->n_status, &b->n_status); - for (uint8_t i = 0; ret == 0 && i < a->n_status; i++) { - ret = sbp_sub_system_report_cmp(&a->status[i], &b->status[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_status; i++) { + ret = sbp_sub_system_report_cmp(&a->status[i], &b->status[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -649,9 +640,6 @@ int sbp_status_journal_item_cmp(const sbp_status_journal_item_t *a, } ret = sbp_sub_system_report_cmp(&a->report, &b->report); - if (ret != 0) { - return ret; - } return ret; } @@ -775,12 +763,15 @@ int sbp_msg_status_journal_cmp(const sbp_msg_status_journal_t *a, } ret = sbp_u8_cmp(&a->n_journal, &b->n_journal); - for (uint8_t i = 0; ret == 0 && i < a->n_journal; i++) { - ret = sbp_status_journal_item_cmp(&a->journal[i], &b->journal[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_journal; i++) { + ret = sbp_status_journal_item_cmp(&a->journal[i], &b->journal[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -849,9 +840,6 @@ int sbp_msg_ins_status_cmp(const sbp_msg_ins_status_t *a, int ret = 0; ret = sbp_u32_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1034,9 +1022,6 @@ int sbp_msg_csac_telemetry_cmp(const sbp_msg_csac_telemetry_t *a, } ret = sbp_msg_csac_telemetry_telemetry_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1232,9 +1217,6 @@ int sbp_msg_csac_telemetry_labels_cmp( } ret = sbp_msg_csac_telemetry_labels_telemetry_labels_strcmp(a, b); - if (ret != 0) { - return ret; - } return ret; } @@ -1369,9 +1351,6 @@ int sbp_msg_ins_updates_cmp(const sbp_msg_ins_updates_t *a, } ret = sbp_u8_cmp(&a->zerovel, &b->zerovel); - if (ret != 0) { - return ret; - } return ret; } @@ -1475,9 +1454,6 @@ int sbp_msg_gnss_time_offset_cmp(const sbp_msg_gnss_time_offset_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1555,9 +1531,6 @@ int sbp_msg_pps_time_cmp(const sbp_msg_pps_time_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1705,9 +1678,6 @@ int sbp_msg_sensor_aid_event_cmp(const sbp_msg_sensor_aid_event_t *a, } ret = sbp_u32_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -1818,11 +1788,14 @@ int sbp_msg_group_meta_cmp(const sbp_msg_group_meta_t *a, } ret = sbp_u8_cmp(&a->n_group_msgs, &b->n_group_msgs); - for (uint8_t i = 0; ret == 0 && i < a->n_group_msgs; i++) { - ret = sbp_u16_cmp(&a->group_msgs[i], &b->group_msgs[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_group_msgs; i++) { + ret = sbp_u16_cmp(&a->group_msgs[i], &b->group_msgs[i]); + if (ret != 0) { + return ret; + } + } return ret; } diff --git a/c/src/telemetry.c b/c/src/telemetry.c index c42c830096..e0a52b0ec0 100644 --- a/c/src/telemetry.c +++ b/c/src/telemetry.c @@ -156,9 +156,6 @@ int sbp_telemetry_sv_cmp(const sbp_telemetry_sv_t *a, } ret = sbp_v4_gnss_signal_cmp(&a->sid, &b->sid); - if (ret != 0) { - return ret; - } return ret; } @@ -277,11 +274,14 @@ int sbp_msg_tel_sv_cmp(const sbp_msg_tel_sv_t *a, const sbp_msg_tel_sv_t *b) { } ret = sbp_u8_cmp(&a->n_sv_tel, &b->n_sv_tel); - for (uint8_t i = 0; ret == 0 && i < a->n_sv_tel; i++) { - ret = sbp_telemetry_sv_cmp(&a->sv_tel[i], &b->sv_tel[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_sv_tel; i++) { + ret = sbp_telemetry_sv_cmp(&a->sv_tel[i], &b->sv_tel[i]); + if (ret != 0) { + return ret; + } + } return ret; } diff --git a/c/src/tracking.c b/c/src/tracking.c index 7667fa1f1e..f76958ad42 100644 --- a/c/src/tracking.c +++ b/c/src/tracking.c @@ -305,9 +305,6 @@ int sbp_msg_tracking_state_detailed_dep_a_cmp( } ret = sbp_u8_cmp(&a->misc_flags, &b->misc_flags); - if (ret != 0) { - return ret; - } return ret; } @@ -599,9 +596,6 @@ int sbp_msg_tracking_state_detailed_dep_cmp( } ret = sbp_u8_cmp(&a->misc_flags, &b->misc_flags); - if (ret != 0) { - return ret; - } return ret; } @@ -680,9 +674,6 @@ int sbp_tracking_channel_state_cmp(const sbp_tracking_channel_state_t *a, } ret = sbp_u8_cmp(&a->cn0, &b->cn0); - if (ret != 0) { - return ret; - } return ret; } @@ -762,12 +753,15 @@ int sbp_msg_tracking_state_cmp(const sbp_msg_tracking_state_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_states, &b->n_states); - for (uint8_t i = 0; ret == 0 && i < a->n_states; i++) { - ret = sbp_tracking_channel_state_cmp(&a->states[i], &b->states[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_states; i++) { + ret = sbp_tracking_channel_state_cmp(&a->states[i], &b->states[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -833,9 +827,6 @@ int sbp_measurement_state_cmp(const sbp_measurement_state_t *a, } ret = sbp_u8_cmp(&a->cn0, &b->cn0); - if (ret != 0) { - return ret; - } return ret; } @@ -915,12 +906,15 @@ int sbp_msg_measurement_state_cmp(const sbp_msg_measurement_state_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_states, &b->n_states); - for (uint8_t i = 0; ret == 0 && i < a->n_states; i++) { - ret = sbp_measurement_state_cmp(&a->states[i], &b->states[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_states; i++) { + ret = sbp_measurement_state_cmp(&a->states[i], &b->states[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -989,9 +983,6 @@ int sbp_tracking_channel_correlation_cmp( } ret = sbp_s16_cmp(&a->Q, &b->Q); - if (ret != 0) { - return ret; - } return ret; } @@ -1087,11 +1078,11 @@ int sbp_msg_tracking_iq_cmp(const sbp_msg_tracking_iq_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_TRACKING_IQ_CORRS_MAX; i++) { + for (uint8_t i = 0; i < SBP_MSG_TRACKING_IQ_CORRS_MAX; i++) { ret = sbp_tracking_channel_correlation_cmp(&a->corrs[i], &b->corrs[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -1161,9 +1152,6 @@ int sbp_tracking_channel_correlation_dep_cmp( } ret = sbp_s32_cmp(&a->Q, &b->Q); - if (ret != 0) { - return ret; - } return ret; } @@ -1261,12 +1249,11 @@ int sbp_msg_tracking_iq_dep_b_cmp(const sbp_msg_tracking_iq_dep_b_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_TRACKING_IQ_DEP_B_CORRS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_TRACKING_IQ_DEP_B_CORRS_MAX; i++) { ret = sbp_tracking_channel_correlation_dep_cmp(&a->corrs[i], &b->corrs[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -1365,12 +1352,11 @@ int sbp_msg_tracking_iq_dep_a_cmp(const sbp_msg_tracking_iq_dep_a_t *a, return ret; } - for (uint8_t i = 0; ret == 0 && i < SBP_MSG_TRACKING_IQ_DEP_A_CORRS_MAX; - i++) { + for (uint8_t i = 0; i < SBP_MSG_TRACKING_IQ_DEP_A_CORRS_MAX; i++) { ret = sbp_tracking_channel_correlation_dep_cmp(&a->corrs[i], &b->corrs[i]); - } - if (ret != 0) { - return ret; + if (ret != 0) { + return ret; + } } return ret; } @@ -1451,9 +1437,6 @@ int sbp_tracking_channel_state_dep_a_cmp( } ret = sbp_float_cmp(&a->cn0, &b->cn0); - if (ret != 0) { - return ret; - } return ret; } @@ -1536,12 +1519,15 @@ int sbp_msg_tracking_state_dep_a_cmp(const sbp_msg_tracking_state_dep_a_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_states, &b->n_states); - for (uint8_t i = 0; ret == 0 && i < a->n_states; i++) { - ret = sbp_tracking_channel_state_dep_a_cmp(&a->states[i], &b->states[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_states; i++) { + ret = sbp_tracking_channel_state_dep_a_cmp(&a->states[i], &b->states[i]); + if (ret != 0) { + return ret; + } + } return ret; } @@ -1621,9 +1607,6 @@ int sbp_tracking_channel_state_dep_b_cmp( } ret = sbp_float_cmp(&a->cn0, &b->cn0); - if (ret != 0) { - return ret; - } return ret; } @@ -1706,11 +1689,14 @@ int sbp_msg_tracking_state_dep_b_cmp(const sbp_msg_tracking_state_dep_b_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_states, &b->n_states); - for (uint8_t i = 0; ret == 0 && i < a->n_states; i++) { - ret = sbp_tracking_channel_state_dep_b_cmp(&a->states[i], &b->states[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_states; i++) { + ret = sbp_tracking_channel_state_dep_b_cmp(&a->states[i], &b->states[i]); + if (ret != 0) { + return ret; + } + } return ret; } diff --git a/c/src/user.c b/c/src/user.c index 30a42a22bd..f438f0e92d 100644 --- a/c/src/user.c +++ b/c/src/user.c @@ -91,11 +91,14 @@ int sbp_msg_user_data_cmp(const sbp_msg_user_data_t *a, int ret = 0; ret = sbp_u8_cmp(&a->n_contents, &b->n_contents); - for (uint8_t i = 0; ret == 0 && i < a->n_contents; i++) { - ret = sbp_u8_cmp(&a->contents[i], &b->contents[i]); - } if (ret != 0) { return ret; } + for (uint8_t i = 0; i < a->n_contents; i++) { + ret = sbp_u8_cmp(&a->contents[i], &b->contents[i]); + if (ret != 0) { + return ret; + } + } return ret; } diff --git a/c/src/vehicle.c b/c/src/vehicle.c index 70689d4523..4af299b2b1 100644 --- a/c/src/vehicle.c +++ b/c/src/vehicle.c @@ -102,9 +102,6 @@ int sbp_msg_odometry_cmp(const sbp_msg_odometry_t *a, } ret = sbp_u8_cmp(&a->flags, &b->flags); - if (ret != 0) { - return ret; - } return ret; } @@ -206,8 +203,5 @@ int sbp_msg_wheeltick_cmp(const sbp_msg_wheeltick_t *a, } ret = sbp_s32_cmp(&a->ticks, &b->ticks); - if (ret != 0) { - return ret; - } return ret; } diff --git a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c index fcc5d59ce3..d7232dc992 100644 --- a/generator/sbpg/targets/resources/c/src/sbp_messages_template.c +++ b/generator/sbpg/targets/resources/c/src/sbp_messages_template.c @@ -271,18 +271,22 @@ int (((m.cmp_fn)))(const (((m.type_name))) *a, const (((m.type_name))) *b) { ((*- else *)) ((*- if f.packing == "variable-array" *)) ret = sbp_u8_cmp(&a->(((f.size_fn))), &b->(((f.size_fn)))); + if (ret != 0) { return ret; } ((*- endif *)) ((*- if f.packing == "fixed-array" *)) ((*- set max_loop = f.max_items_macro *)) ((*- else *)) ((*- set max_loop = "a->" + f.size_fn *)) ((*- endif *)) - for (uint8_t i = 0; ret == 0 && i < (((max_loop))); i++) + for (uint8_t i = 0; i < (((max_loop))); i++) { ret = (((f.cmp_fn)))(&a->(((f.name)))[i], &b->(((f.name)))[i]); + if (ret != 0) { return ret; } } ((*- endif *)) + ((*- if not loop.last *)) if (ret != 0) { return ret; } + ((*- endif *)) ((*- endfor *)) return ret; } From 8f7810d31f5ee71bcb2e0d3a0fb2d8962a31ec8c Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Fri, 24 Nov 2023 11:55:01 +1100 Subject: [PATCH 18/19] Add extra examples for modern API --- c/examples/libsbp/CMakeLists.txt | 2 +- .../libsbp/tcp_2sigma_example/CMakeLists.txt | 24 ++ .../libsbp/tcp_2sigma_example/README.md | 67 +++++ .../tcp_2sigma_example/tcp_2sigma_example.cc | 266 ++++++++++++++++++ c/examples/libsbp/tcp_example/CMakeLists.txt | 15 + c/examples/libsbp/tcp_example/README.md | 49 ++++ c/examples/libsbp/tcp_example/tcp_example.c | 114 ++++++++ 7 files changed, 536 insertions(+), 1 deletion(-) create mode 100644 c/examples/libsbp/tcp_2sigma_example/CMakeLists.txt create mode 100644 c/examples/libsbp/tcp_2sigma_example/README.md create mode 100644 c/examples/libsbp/tcp_2sigma_example/tcp_2sigma_example.cc create mode 100644 c/examples/libsbp/tcp_example/CMakeLists.txt create mode 100644 c/examples/libsbp/tcp_example/README.md create mode 100644 c/examples/libsbp/tcp_example/tcp_example.c diff --git a/c/examples/libsbp/CMakeLists.txt b/c/examples/libsbp/CMakeLists.txt index 89917d6e2e..7c21ba3433 100644 --- a/c/examples/libsbp/CMakeLists.txt +++ b/c/examples/libsbp/CMakeLists.txt @@ -1,4 +1,4 @@ -foreach(target example cpp_example cpp_traits_example) +foreach(target example cpp_example cpp_traits_example tcp_example tcp_2sigma_example) add_subdirectory(${target}) add_dependencies(examples libsbp_${target}) endforeach() diff --git a/c/examples/libsbp/tcp_2sigma_example/CMakeLists.txt b/c/examples/libsbp/tcp_2sigma_example/CMakeLists.txt new file mode 100644 index 0000000000..a5c5c77b19 --- /dev/null +++ b/c/examples/libsbp/tcp_2sigma_example/CMakeLists.txt @@ -0,0 +1,24 @@ +cmake_minimum_required(VERSION 2.8.9) +project(libsbp_tcp_2sigma_example) + +set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") + +set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror -Wno-error=deprecated-declarations -std=c++14") + +add_executable(libsbp_tcp_2sigma_example tcp_2sigma_example.cc) + +find_package(PkgConfig) +find_package(Eigen3) + +option(SHOW_PLOT "" OFF) + +link_directories("/usr/local/lib/") +include_directories("/usr/local/include/") + +target_link_libraries(libsbp_tcp_2sigma_example sbp) + +if (SHOW_PLOT) + find_package(OpenCV) + set(CMAKE_CXX_FLAGS "-DSHOW_PLOT ${CMAKE_CXX_FLAGS}") + target_link_libraries(libsbp_tcp_2sigma_example opencv_core opencv_imgproc opencv_highgui) +endif() diff --git a/c/examples/libsbp/tcp_2sigma_example/README.md b/c/examples/libsbp/tcp_2sigma_example/README.md new file mode 100644 index 0000000000..805ab1e169 --- /dev/null +++ b/c/examples/libsbp/tcp_2sigma_example/README.md @@ -0,0 +1,67 @@ +## 2 sigma calculation example for libsbp + +Example demonstrating how to parse SBP data from a TCP port and compute the +ellipse representing the 2 sigma/95% confidence level. + +## Requirements for basic build +Requires Eigen 3 and cmake. On Debian-based systems you can get all of +the requirements with: + +```shell +sudo apt-get install build-essential pkg-config cmake libeigen3-dev +``` + +On mac: + +```shell +brew install cmake eigen +``` + +On other systems, you can obtain CMake from your operating system +package manager or from http://www.cmake.org/. + +## Requirements for graphical build +If compiled with -DSHOW\_PLOT then the ellipses will be graphically displayed. +This functionality requires OpenCV3. On Debian-based systems: + +```shell +sudo apt-get install libopencv-dev +``` + +On mac: + +```shell +brew install opencv@3 +``` + +## Installation + +Once you have the dependencies installed, create a build directory where the example will be built: + +```shell +mkdir build +cd build +``` + +Then invoke CMake to configure the build. For a non-graphical build: + +```shell +cmake .. +``` + +Or for a graphical build: + +```shell +cmake .. -DSHOW_PLOT=true +``` + +## Usage + +```shell +./libsbp_tcp_2sigma_example +usage: ./libsbp_tcp_2sigma_example [-a address -p port] +``` + +## LICENSE + +Copyright © 2021 Swift Navigation diff --git a/c/examples/libsbp/tcp_2sigma_example/tcp_2sigma_example.cc b/c/examples/libsbp/tcp_2sigma_example/tcp_2sigma_example.cc new file mode 100644 index 0000000000..955ae5e92f --- /dev/null +++ b/c/examples/libsbp/tcp_2sigma_example/tcp_2sigma_example.cc @@ -0,0 +1,266 @@ +/* + * Example demonstrating how to parse SBP data from a TCP port and compute the + * ellipse representing the 2 sigma confidence level. + * + * Requires libsbp (https://github.com/swift-nav/libsbp) and Eigen 3 (https://eigen.tuxfamily.org/). + * Eigen 3 is provided by the libeigen3-dev package on Debian-like Linux distributions. + * + * Compile using: + * g++ tcp_2sigma_example.cc -I ${LIBSBP}/c/include/ -L ${LIBSBP}/c/build/src/ -lsbp + * + * If compiled with -DSHOW_PLOT then the ellipses will be graphically displayed. + * This functionality requires OpenCV3 (https://opencv.org/) which is provided + * by the libopencv-dev package on Debian-like Linux distributions. + * + * Compile using: + * g++ tcp_2sigma_example.cc -DSHOW_PLOT -I ${LIBSBP}/c/include/ -L ${LIBSBP}/c/build/src/ -lsbp -lopencv_core -lopencv_imgproc -lopencv_highgui + * + * Originally adapted from https://github.com/swift-nav/libsbp/blob/master/c/example/tcp_example/tcp_example.c + */ + +#ifndef SHOW_PLOT +#define SHOW_PLOT 0 +#endif /* SHOW_PLOT */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#if SHOW_PLOT +#include +#include +#include +#include +#endif /* SHOW_PLOT */ + +#include + +// width and height of the plot window in pixels +#define SIZE_PIXELS 300 +// width and height of the plot window in metres +#define SIZE_METRES 10 + + +void usage(const char* prog_name) { + fprintf(stderr, "usage: %s [-a address -p port]\n", prog_name); +} + + +int open_socket(const char* host, int port) { + struct sockaddr_in server; + int fd = socket(AF_INET , SOCK_STREAM , 0); + + if(fd < 0) { + fprintf(stderr, "Could not create socket\n"); + return -1; + } + + memset(&server, '0', sizeof(server)); + server.sin_addr.s_addr = inet_addr(host); + server.sin_family = AF_INET; + server.sin_port = htons(port); + + if(connect(fd, (struct sockaddr *)&server , sizeof(server)) < 0) { + fprintf(stderr, "Connection error\n"); + close(fd); + return -1; + } + + return fd; +} + + +/* + * Calculate the half major axis length, half minor axis length and rotation + * angle for an error ellipse corresponding to the confidence interval + * 'chi_squared' with the covariance matrix 'covmat'. + * + * Assumes normal distribution. + * + * See https://www.visiondummy.com/2014/04/draw-error-ellipse-representing-covariance-matrix/ + * for an explanation of the algorithm. + */ +bool get_ellipse_parameters(const double& chi_squared, const Eigen::Matrix2d& covmat, double& half_major_axis, double& half_minor_axis, double& angle) { + std::vector> eigen_vectors_and_values; + + // compute eigenvalues and eigenvectors + Eigen::SelfAdjointEigenSolver eigensolver(covmat); + if(eigensolver.info() != Eigen::Success) { + return false; + } + + // copy results into eigen_vectors_and_values + Eigen::Vector2d eigen_values = eigensolver.eigenvalues(); + Eigen::Matrix2d eigen_vectors = eigensolver.eigenvectors(); + for(int i = 0; i < eigen_values.size(); i++) { + std::tuple vec_and_val(eigen_values[i], eigen_vectors.col(i)); + eigen_vectors_and_values.push_back(vec_and_val); + } + + // sort eigen_vectors_and_values in descending order of eigenvalue + std::sort(eigen_vectors_and_values.begin(), eigen_vectors_and_values.end(), + [&](const std::tuple& a, const std::tuple& b) -> bool{ + return std::get(b) < std::get(a); + }); + + // calculate the angle between the largest eigenvector and the x-axis + Eigen::Vector2d largest_eigenvector = std::get(eigen_vectors_and_values[0]); + angle = atan2(largest_eigenvector[1], largest_eigenvector[0]); + + // shift the angle to the [0, 2pi] interval instead of [-pi, pi] + if(angle < 0) angle += 2 * M_PI; + + // convert to degrees + angle = 180. * angle / M_PI; + + // calculate the length of the minor and major axes + half_major_axis = chi_squared * sqrt(std::get(eigen_vectors_and_values[0])); + half_minor_axis = chi_squared * sqrt(std::get(eigen_vectors_and_values[1])); + + return true; +} + + +#if SHOW_PLOT +void plot_ellipse(const double& half_major_axis, const double& half_minor_axis, const double& angle) { + // the mean is nominally at the origin (i.e. reported lat/lon) but + // for graphing purposes we shift it to the middle of our plot window + cv::Point2f mean(SIZE_PIXELS/2, SIZE_PIXELS/2); + + // scale factor from metres to pixels + double scale = SIZE_PIXELS / SIZE_METRES; + + // negative angle because OpenCV defines the angle clockwise instead of + // anti-clockwise + cv::RotatedRect ellipse(mean, cv::Size2f(half_major_axis * scale, half_minor_axis * scale), -angle); + + //Show the result + cv::Mat visualizeimage(SIZE_PIXELS, SIZE_PIXELS, CV_8UC1, cv::Scalar::all(0)); + cv::ellipse(visualizeimage, ellipse, cv::Scalar::all(255), 2); + cv::imshow("2 Sigma Ellipse", visualizeimage); +} +#endif /* SHOW_PLOT */ + + +void pos_llh_cov_callback(u16 /*sender_id*/, sbp_msg_type_t /*msg_type*/, const sbp_msg_t *msg, void* /*context*/) { + const sbp_msg_pos_llh_cov_t* msg_pos_llh_cov = &msg->pos_llh_cov; + if((msg_pos_llh_cov->flags & 0x7) != 0) { + printf("TOW %u ms, Lat: %.15f deg, Lon: %.15f deg, Hgt: %.15f m\n", msg_pos_llh_cov->tow, msg_pos_llh_cov->lat, msg_pos_llh_cov->lon, msg_pos_llh_cov->height); + + // north/east submatrix + Eigen::Matrix2d covmat; + covmat << msg_pos_llh_cov->cov_n_n, msg_pos_llh_cov->cov_n_e, msg_pos_llh_cov->cov_n_e, msg_pos_llh_cov->cov_e_e; + + /* + * Starling computes horizontal accuracy (as reported in + * MSG_POS_LLH.h_accuracy) as the square root of the L2 norm of + * the north/east submatrix. So the naive (but inaccurate) approach + * is just to double it to get the worst-case 2 \Sigma value + */ + double hrms = sqrt(covmat.operatorNorm()) * 2.; + printf("\t2DRMS (naive): %.3f m -> area %.3f m^2\n", hrms, M_PI * hrms * hrms); + + /* + * A more accurate approach is to compute the error ellipse corresponding to + * the 95% confidence interval + */ + double half_major_axis, half_minor_axis, angle; + + /* + * From https://people.richland.edu/james/lecture/m170/tbl-chi.html + * 95% confidence interval => area to the right = 0.05, 2 degrees of freedom => + * sqrt(5.991) = 2.4477 + * + * For 99% confidence interval this would be sqrt(9.210) = 3.0348 + */ + const double chi_squared = 2.4477; + + if(get_ellipse_parameters(chi_squared, covmat, half_major_axis, half_minor_axis, angle)) { + double area = M_PI * half_major_axis * half_minor_axis; + printf("\tEllipse parameters: half major axis %g m, half minor axis %g m, angle %g deg -> area %.3f m^2\n", half_major_axis, half_minor_axis, angle, area); + +#if SHOW_PLOT + plot_ellipse(half_major_axis, half_minor_axis, angle); +#endif /* SHOW_PLOT */ + } + } else { + printf("No fix\n"); + } +} + + +s32 socket_read(u8* buff, u32 n, void* context) { + int fd = *(int*)context; + return read(fd, buff, n); +} + + +int main(int argc, char* const argv[]) { + int opt; + char* host = NULL; + char* port = NULL; + sbp_state_t sbp_state; + sbp_msg_callbacks_node_t callback_node[1]; // note: one node is required per callback + int fd; + + if(argc <= 2) { + usage(argv[0]); + exit(EXIT_FAILURE); + } + + while((opt = getopt(argc, argv, "a:p:")) != -1) { + switch (opt) { + case 'a': + host = optarg; + break; + case 'p': + port = optarg; + break; + case 'h': + usage(argv[0]); + exit(EXIT_FAILURE); + default: + break; + } + } + + if(!host || !port) { + fprintf(stderr, "Please supply the address and port of the SBP data stream!\n"); + exit(EXIT_FAILURE); + } + + fd = open_socket(host, atoi(port)); + if(fd < 0) { + return EXIT_FAILURE; + } + +#if SHOW_PLOT + cv::namedWindow("2 Sigma Ellipse"); + cv::startWindowThread(); +#endif /* SHOW_PLOT */ + + sbp_state_init(&sbp_state); + sbp_state_set_io_context(&sbp_state, (void*)&fd); + sbp_callback_register(&sbp_state, SbpMsgPosLlhCov, &pos_llh_cov_callback, NULL, &callback_node[0]); + + while(1) { + switch(sbp_process(&sbp_state, &socket_read)) { + case SBP_OK: + case SBP_OK_CALLBACK_EXECUTED: + case SBP_OK_CALLBACK_UNDEFINED: + break; + case SBP_CRC_ERROR: + printf("CRC Error\n"); + break; + } + } + + close(fd); + return EXIT_SUCCESS; +} diff --git a/c/examples/libsbp/tcp_example/CMakeLists.txt b/c/examples/libsbp/tcp_example/CMakeLists.txt new file mode 100644 index 0000000000..dd11b4a282 --- /dev/null +++ b/c/examples/libsbp/tcp_example/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 2.8.9) +project(libsbp_tcp_example) + +set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") + +set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-strict-prototypes -Werror -Wno-error=deprecated-declarations -std=gnu99 ${CMAKE_C_FLAGS}") + +add_executable(libsbp_tcp_example tcp_example.c) + +find_package(PkgConfig) + +link_directories("/usr/local/lib/") +include_directories("/usr/local/include/") + +target_link_libraries(libsbp_tcp_example sbp) diff --git a/c/examples/libsbp/tcp_example/README.md b/c/examples/libsbp/tcp_example/README.md new file mode 100644 index 0000000000..c90ea26ea0 --- /dev/null +++ b/c/examples/libsbp/tcp_example/README.md @@ -0,0 +1,49 @@ +## TCP example in C for libsbp + +This example demonstrates parsing SBP over a TCP connection. + +## Requirements +On Debian-based systems (including Ubuntu 12.10 or later) you can get all +the requirements with: + +```shell +sudo apt-get install build-essential pkg-config cmake +``` + +On mac: + +```shell +brew install cmake +``` + +On other systems, you can obtain CMake from your operating system +package manager or from http://www.cmake.org/. + +## Installation + +Once you have the dependencies installed, create a build directory where the example will be built: + +```shell +mkdir build +cd build +``` + +Then invoke CMake to configure the build, and then build, + +```shell +cmake ../ +make +``` + +## Usage + +```shell +./libsbp_tcp_example +usage: ./libsbp_tcp_example [-a address -p port] +``` + +## LICENSE + +Copyright © 2018-2021 Swift Navigation + +Distributed under MIT. diff --git a/c/examples/libsbp/tcp_example/tcp_example.c b/c/examples/libsbp/tcp_example/tcp_example.c new file mode 100644 index 0000000000..9b1594c0ee --- /dev/null +++ b/c/examples/libsbp/tcp_example/tcp_example.c @@ -0,0 +1,114 @@ +#include +#include +#include +#include +#include +#include + +#include + +char *tcp_ip_addr = NULL; +char *tcp_ip_port = NULL; +static sbp_msg_callbacks_node_t heartbeat_callback_node; +int socket_desc = -1; + +void usage(char *prog_name) { + fprintf(stderr, "usage: %s [-a address -p port]\n", prog_name); +} + +void setup_socket() +{ + struct sockaddr_in server; + socket_desc = socket(AF_INET , SOCK_STREAM , 0); + if (socket_desc == -1) + { + fprintf(stderr, "Could not create socket\n"); + } + + memset(&server, '0', sizeof(server)); + server.sin_addr.s_addr = inet_addr(tcp_ip_addr); + server.sin_family = AF_INET; + server.sin_port = htons(atoi(tcp_ip_port)); + + if (connect(socket_desc, (struct sockaddr *)&server , sizeof(server)) < 0) + { + fprintf(stderr, "Connection error\n"); + } +} + +void close_socket() +{ + close(socket_desc); +} + +void heartbeat_callback(u16 sender_id, sbp_msg_type_t msg_type, const sbp_msg_t *msg, void *context) +{ + (void)sender_id, (void)msg_type, (void)msg, (void)context; + fprintf(stdout, "%s\n", __FUNCTION__); +} + +s32 socket_read(u8 *buff, u32 n, void *context) +{ + (void)context; + s32 result; + + result = read(socket_desc, buff, n); + return result; +} + +int main(int argc, char **argv) +{ + int opt; + int result = 0; + sbp_state_t s; + + if (argc <= 2) { + usage(argv[0]); + exit(EXIT_FAILURE); + } + + while ((opt = getopt(argc, argv, "a:p:")) != -1) { + switch (opt) { + case 'a': + tcp_ip_addr = (char *)calloc(strlen(optarg) + 1, sizeof(char)); + if (!tcp_ip_addr) { + fprintf(stderr, "Cannot allocate memory!\n"); + exit(EXIT_FAILURE); + } + strcpy(tcp_ip_addr, optarg); + break; + case 'p': + tcp_ip_port = (char *)calloc(strlen(optarg) + 1, sizeof(char)); + if (!tcp_ip_port) { + fprintf(stderr, "Cannot allocate memory!\n"); + exit(EXIT_FAILURE); + } + strcpy(tcp_ip_port, optarg); + break; + case 'h': + usage(argv[0]); + exit(EXIT_FAILURE); + default: + break; + } + } + + if ((!tcp_ip_addr) || (!tcp_ip_port)) { + fprintf(stderr, "Please supply the address and port of the SBP data stream!\n"); + exit(EXIT_FAILURE); + } + + setup_socket(); + sbp_state_init(&s); + sbp_callback_register(&s, SbpMsgHeartbeat, &heartbeat_callback, NULL, + &heartbeat_callback_node); + + while(1) { + sbp_process(&s, &socket_read); + } + + close_socket(); + free(tcp_ip_addr); + free(tcp_ip_port); + return result; +} From 72145c7564218a4e9d3b53306f26109904e6bb4d Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Tue, 19 Dec 2023 13:53:05 +1100 Subject: [PATCH 19/19] Something got reformatted for some reason --- c/test/check_bitfield_macros.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c/test/check_bitfield_macros.c b/c/test/check_bitfield_macros.c index 9d7b6a2a80..8de83c9120 100644 --- a/c/test/check_bitfield_macros.c +++ b/c/test/check_bitfield_macros.c @@ -18,7 +18,8 @@ #include START_TEST(test_nav_bitfields) { - sbp_msg_gps_time_t gps_t = {.wn = 1, .tow = 100, .ns_residual = 1, .flags = 0}; + sbp_msg_gps_time_t gps_t = { + .wn = 1, .tow = 100, .ns_residual = 1, .flags = 0}; SBP_GPS_TIME_TIME_SOURCE_SET(gps_t.flags, SBP_GPS_TIME_TIME_SOURCE_NONE); fail_unless(gps_t.flags == 0);