sbp: SwiftNav's SBP Library

[ library, mit, network, program ] [ Propose Tags ]

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
Dependencies aeson (>=1.2.4.0), array (>=0.5.2.0), base (>=4.10.1.0 && <5), base64-bytestring (>=1.0.0.1), basic-prelude (>=0.7.0), binary (>=0.8.5.1), binary-conduit (>=1.2.5), bytestring (>=0.10.8.2), conduit (>=1.2.13.1), conduit-extra (>=1.2.3.2), data-binary-ieee754 (>=0.4.4), lens (>=4.15.4), lens-aeson (>=1.0.2), monad-loops (>=0.4.3), resourcet (>=1.1.11), sbp, template-haskell (>=2.12.0.0), text (>=1.2.2.2), time (>=1.8.0.2), yaml (>=0.8.28) [details]
License LGPL-3.0-only
Copyright Copyright (C) 2015-2018 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 markfine at 2019-01-15T00:11:16Z
Distributions LTSHaskell:5.0.7, NixOS:5.0.5, Stackage:5.0.7
Reverse Dependencies 1 direct, 0 indirect [details]
Executables sbp2yaml, json2json, json2sbp, sbp2json
Downloads 39704 total (233 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-01-15 [all 1 reports]

Readme for sbp-2.4.7

[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.

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 Swift Navigation Inc.