Skip to content

Commit

Permalink
Source updates for release 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
silverjam committed Mar 29, 2019
1 parent c8bf8ff commit 4c82155
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion c/include/libsbp/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/** Protocol minor version. */
#define SBP_MINOR_VERSION 5
/** Protocol patch version. */
#define SBP_PATCH_VERSION 0
#define SBP_PATCH_VERSION 1

/** \} */

Expand Down
4 changes: 4 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ stdenv.mkDerivation rec {
python27Packages.setuptools
python27Packages.virtualenv
python27Packages.pip
python27Packages.cython
python37Full
python37Packages.setuptools
python27Packages.virtualenv
python37Packages.pip
python37Packages.cython
nodejs
coreutils
bash
Expand All @@ -29,6 +31,8 @@ stdenv.mkDerivation rec {
cmake
git
which
llvm
libcxxStdenv
];
shellHook = ''
[[ -z "$SOURCE_DATE_EPOCH" ]] || unset SOURCE_DATE_EPOCH
Expand Down
2 changes: 1 addition & 1 deletion haskell/sbp.cabal.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sbp
version: 2.5.0
version: 2.5.1
synopsis: SwiftNav's SBP Library
homepage: https://github.com/swift-nav/libsbp
license: LGPL-3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sbp",
"version": "2.5.0",
"version": "2.5.1",
"description": "libsbp bindings for JavaScript. More information here: http://swift-nav.github.io/libsbp/",
"files": [
"javascript/*",
Expand Down
2 changes: 1 addition & 1 deletion python/sbp/RELEASE-VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.1
2.5.1
11 changes: 10 additions & 1 deletion python/sbp/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,15 @@ def to_binary(self):
self.payload = MsgTrackingIqDepB._parser.build(c)
return self.pack()

def into_buffer(self, buf, offset):
"""Produce a framed/packed SBP message into the provided buffer and offset.
"""
self.payload = containerize(exclude_fields(self))
self.parser = MsgTrackingIqDepB._parser
self.stream_payload.reset(buf, offset)
return self.pack_into(buf, offset, self._build_payload)

def to_json_dict(self):
self.to_binary()
d = super( MsgTrackingIqDepB, self).to_json_dict()
Expand Down Expand Up @@ -1166,7 +1175,7 @@ def into_buffer(self, buf, offset):
"""
self.payload = containerize(exclude_fields(self))
self.parser = MsgTrackingIqDep._parser
self.parser = MsgTrackingIqDepA._parser
self.stream_payload.reset(buf, offset)
return self.pack_into(buf, offset, self._build_payload)

Expand Down

0 comments on commit 4c82155

Please sign in to comment.