sbp: SwiftNav's SBP Library

[ library, mit, network, program ] [ Propose Tags ] [ Report a vulnerability ]

Haskell bindings for Swift Navigation Binary Protocol (SBP), a fast, simple, and minimal binary protocol for communicating with Swift devices. It is the native binary protocol used by the Piksi GPS receiver to transmit solutions, observations, status and debugging messages, as well as receive messages from the host operating system, such as differential corrections and the almanac.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.49.0, 0.50.2, 0.50.3, 0.50.4, 0.50.5, 0.50.6, 0.50.7, 0.50.8, 0.50.9, 0.51.1, 0.51.2, 0.51.5, 0.51.6, 0.51.11, 0.52.0, 0.52.1, 0.52.2, 1.0.0, 1.0.1, 1.1.0, 1.2.2, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.5, 2.1.6, 2.1.7, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.2.11, 2.2.12, 2.2.15, 2.2.16, 2.2.17, 2.3.0, 2.3.1, 2.3.2, 2.3.5, 2.3.6, 2.3.9, 2.3.12, 2.3.13, 2.3.15, 2.3.16, 2.3.17, 2.4.0, 2.4.6, 2.4.7, 2.6.3, 3.4.11, 3.4.12, 4.0.3, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.2.0, 4.3.0, 4.3.3, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.0, 4.10.0, 4.11.0, 4.12.0, 4.13.0, 4.14.0, 4.15.0, 4.16.0, 4.17.0, 5.0.0, 5.0.1, 5.0.4, 5.0.5, 5.0.7, 6.0.0, 6.0.1, 6.1.0, 6.2.0, 6.2.1
Dependencies aeson, aeson-pretty, array, base (>=4.8 && <5), base64-bytestring, basic-prelude, binary, binary-conduit, bytestring, cmdargs, conduit, conduit-extra, data-binary-ieee754, lens, lens-aeson, monad-loops, resourcet, sbp, template-haskell, text, time, yaml [details]
License MIT
Copyright Copyright (C) 2015-2021 Swift Navigation, Inc.
Author Swift Navigation Inc.
Maintainer Swift Navigation <dev@swiftnav.com>
Category Network
Home page https://github.com/swift-nav/libsbp
Source repo head: git clone git@github.com:swift-nav/libsbp.git
Uploaded by snav_jason at 2024-10-22T23:25:56Z
Distributions LTSHaskell:6.2.1, NixOS:5.0.7, Stackage:6.2.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables sbp2nmea, sbp2yaml, json2json, json2sbp, sbp2prettyjson, sbp2json
Downloads 41356 total (148 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-10-22 [all 1 reports]

Readme for sbp-6.2.1

[back to package description]

SBP Bindings for Haskell

Haskell client for Swift Binary Protocol (SBP).

Requirements

haskell-stack: Instructions here.

Install from Hackage

Available on Hackage as sbp.

The library supports building against Stackage LTS-10. To install from Hackage using stack:

$ stack install --resolver lts-10.10 sbp # (LTS-10)

Note that we explicitly specify the resolvers to use, as installing libsbp may fail to build with more recent resolvers.

Next, install the latest version of sbp available in the snapshots. For example, if the latest version listed in the snapshots is v2.6.3, run:

$ stack install sbp-2.6.3

Building with cabal is possible but not supported and may fail to build.

Setup

To build:

$ stack build

To install:

$ stack install

To test and benchmark:

$ stack test && stack bench

To deploy to Hackage:

$ stack upload

Publishing

To publish to Hackage, use the publish-lower recipe in the Shakefile.hs with LTS-10 stack.yaml:

$ STACK_YAML=stack-lts-10.yaml ./Shakefile.hs publish-lower

References

LICENSE

Copyright © 2015-2021 Swift Navigation Inc.