Skip to content

Commit 03fda3b

Browse files
committed
make all
1 parent 5d42022 commit 03fda3b

File tree

52 files changed

+4885
-315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4885
-315
lines changed

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
## Specification and Bindings for Swift Binary Protocol
1+
# Specification and Bindings for Swift Binary Protocol
22

33
<!-- toc -->
44

55
- [Specification and Bindings for Swift Binary Protocol](#specification-and-bindings-for-swift-binary-protocol)
6-
- [Installing sbp2json, json2sbp, json2json and related tools](#installing-sbp2json-json2sbp-json2json-and-related-tools)
7-
- [Building / installing](#building--installing)
8-
- [Using Docker](#using-docker)
9-
- [Fetching the prebuilt image from DockerHub](#fetching-the-prebuilt-image-from-dockerhub)
10-
- [Creating your own image](#creating-your-own-image)
11-
- [Using the docker image](#using-the-docker-image)
12-
- [Installing from package managers](#installing-from-package-managers)
13-
- [Installing development Python versions](#installing-development-python-versions)
14-
- [Adding development version as a pip dependency](#adding-development-version-as-a-pip-dependency)
15-
- [Installing from source](#installing-from-source)
16-
- [SBP Development Procedures](#sbp-development-procedures)
17-
- [SBP Protocol Specification](#sbp-protocol-specification)
18-
- [JSON Schema Definitions](#json-schema-definitions)
19-
- [Kaitai Struct Format Descriptions](#kaitai-struct-format-descriptions)
20-
- [Notes on python bindings](#notes-on-python-bindings)
21-
- [LICENSE](#license)
6+
- [Installing sbp2json, json2sbp, json2json and related tools](#installing-sbp2json-json2sbp-json2json-and-related-tools)
7+
- [Building / installing](#building--installing)
8+
- [Using Docker](#using-docker)
9+
- [Fetching the prebuilt image from DockerHub](#fetching-the-prebuilt-image-from-dockerhub)
10+
- [Creating your own image](#creating-your-own-image)
11+
- [Using the docker image](#using-the-docker-image)
12+
- [Installing from package managers](#installing-from-package-managers)
13+
- [Installing development Python versions](#installing-development-python-versions)
14+
- [Adding development version as a pip dependency](#adding-development-version-as-a-pip-dependency)
15+
- [Installing from source](#installing-from-source)
16+
- [SBP Development Procedures](#sbp-development-procedures)
17+
- [SBP Protocol Specification](#sbp-protocol-specification)
18+
- [JSON Schema Definitions](#json-schema-definitions)
19+
- [Kaitai Struct Format Descriptions](#kaitai-struct-format-descriptions)
20+
- [Notes on python bindings](#notes-on-python-bindings)
21+
- [LICENSE](#license)
2222

2323
<!-- tocstop -->
2424

@@ -129,7 +129,7 @@ docker run --rm -v $PWD:/mnt/workspace -i -t swiftnav/libsbp-build:2025-02-10 /b
129129

130130
This will mount your local copy of the libsbp repository onto the image.
131131

132-
Check this [link](https://hub.docker.com/r/swiftnav/libsbp-build/tags) for newer tags.
132+
Check libsbp-build [dockerhub page](https://hub.docker.com/r/swiftnav/libsbp-build/tags) for newer tags.
133133
Alternatively, you could run
134134

135135
```sh
@@ -279,7 +279,7 @@ detection.
279279

280280
Please see [the docs](docs/sbp.pdf) for a full description of the packet
281281
structure and the message types. Developer documentation for the
282-
language-specific sbp libraries is [here](http://swift-nav.github.io/libsbp/).
282+
language-specific sbp libraries is available at [http://swift-nav.github.io/libsbp/](http://swift-nav.github.io/libsbp/).
283283
Please refer to [the changelog](CHANGELOG.md) for more information about the
284284
evolution of the library and its messages.
285285

c/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## SBP Bindings for C
1+
# SBP Bindings for C
22

33
libsbp provides C bindings for Swift Binary Protocol (SBP), the native
44
binary protocol used by the
@@ -11,13 +11,13 @@ with no dependencies other than the standard C libraries.
1111
On Debian-based systems (including Ubuntu 12.10 or later) you can get
1212
dependencies with:
1313

14-
```shell
14+
```sh
1515
sudo apt-get install build-essential pkg-config cmake doxygen check clang-format-6.0
1616
```
1717

1818
On Mac:
1919

20-
```shell
20+
```sh
2121
brew tap swift-nav/swift-devs
2222
brew install check cmake pkg-config doxygen clang-tools-6.0
2323
```

c/include/libsbp/cpp/message_traits.h

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6438,6 +6438,44 @@ struct MessageTraits<sbp_msg_ssr_code_phase_biases_bounds_t> {
64386438
}
64396439
};
64406440

6441+
template <>
6442+
struct MessageTraits<sbp_msg_ssr_flag_high_level_dep_a_t> {
6443+
static constexpr sbp_msg_type_t id = SbpMsgSsrFlagHighLevelDepA;
6444+
static constexpr const char *name = "MSG_SSR_FLAG_HIGH_LEVEL_DEP_A";
6445+
static const sbp_msg_ssr_flag_high_level_dep_a_t &get(const sbp_msg_t &msg) {
6446+
return msg.ssr_flag_high_level_dep_a;
6447+
}
6448+
static sbp_msg_ssr_flag_high_level_dep_a_t &get(sbp_msg_t &msg) {
6449+
return msg.ssr_flag_high_level_dep_a;
6450+
}
6451+
static void to_sbp_msg(const sbp_msg_ssr_flag_high_level_dep_a_t &msg,
6452+
sbp_msg_t *sbp_msg) {
6453+
sbp_msg->ssr_flag_high_level_dep_a = msg;
6454+
}
6455+
static sbp_msg_t to_sbp_msg(const sbp_msg_ssr_flag_high_level_dep_a_t &msg) {
6456+
sbp_msg_t sbp_msg;
6457+
sbp_msg.ssr_flag_high_level_dep_a = msg;
6458+
return sbp_msg;
6459+
}
6460+
static s8 send(sbp_state_t *state, u16 sender_id,
6461+
const sbp_msg_ssr_flag_high_level_dep_a_t &msg,
6462+
sbp_write_fn_t write) {
6463+
return sbp_msg_ssr_flag_high_level_dep_a_send(state, sender_id, &msg,
6464+
write);
6465+
}
6466+
static s8 encode(uint8_t *buf, uint8_t len, uint8_t *n_written,
6467+
const sbp_msg_ssr_flag_high_level_dep_a_t &msg) {
6468+
return sbp_msg_ssr_flag_high_level_dep_a_encode(buf, len, n_written, &msg);
6469+
}
6470+
static s8 decode(const uint8_t *buf, uint8_t len, uint8_t *n_read,
6471+
sbp_msg_ssr_flag_high_level_dep_a_t *msg) {
6472+
return sbp_msg_ssr_flag_high_level_dep_a_decode(buf, len, n_read, msg);
6473+
}
6474+
static size_t encoded_len(const sbp_msg_ssr_flag_high_level_dep_a_t &msg) {
6475+
return sbp_msg_ssr_flag_high_level_dep_a_encoded_len(&msg);
6476+
}
6477+
};
6478+
64416479
template <>
64426480
struct MessageTraits<sbp_msg_ssr_flag_high_level_t> {
64436481
static constexpr sbp_msg_type_t id = SbpMsgSsrFlagHighLevel;

c/include/libsbp/integrity.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <libsbp/integrity/IntegritySSRHeader.h>
2121
#include <libsbp/integrity/MSG_ACKNOWLEDGE.h>
2222
#include <libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h>
23+
#include <libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL_DEP_A.h>
2324
#include <libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINTS.h>
2425
#include <libsbp/integrity/MSG_SSR_FLAG_IONO_GRID_POINT_SAT_LOS.h>
2526
#include <libsbp/integrity/MSG_SSR_FLAG_IONO_TILE_SAT_LOS.h>

c/include/libsbp/integrity/MSG_SSR_FLAG_HIGH_LEVEL.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,14 @@ typedef struct {
7272
sbp_gps_time_sec_t obs_time;
7373

7474
/**
75-
* GNSS reference time of the correction associated to the flag.
75+
* GNSS reference time of the atmospheric correction associated to the flag.
7676
*/
77-
sbp_gps_time_sec_t corr_time;
77+
sbp_gps_time_sec_t atmo_corr_time;
78+
79+
/**
80+
* GNSS reference time of the satellite correction associated to the flag.
81+
*/
82+
sbp_gps_time_sec_t sat_corr_time;
7883

7984
/**
8085
* SSR Solution ID.

0 commit comments

Comments
 (0)