sbp: SwiftNav's SBP Library

[ lgpl, library, 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]
Versions 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
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 Tue Apr 17 17:30:27 UTC 2018
Distributions LTSHaskell:2.3.16, NixOS:2.3.16, Stackage:2.3.16, openSUSE:2.3.16
Executables sbp2yaml, json2json, json2sbp, sbp2json
Downloads 8983 total (95 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-17 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for sbp-2.3.16

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