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 [faq] 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
Dependencies aeson (>=0.9.0.1), array (>=0.5.1.0), base (>=4.8.2.0 && <5), base64-bytestring (>=1.0.0.1), basic-prelude (>=0.5.2), binary (>=0.7.5.0), binary-conduit (>=1.2.3), bytestring (>=0.10.6.0), conduit (>=1.2.6.6), conduit-combinators (>=1.0.3.1), conduit-extra (>=1.1.13.1), data-binary-ieee754 (>=0.4.4), lens (>=4.13), monad-loops (>=0.4.3), resourcet (>=1.1.7.4), sbp (>=2.2.7), template-haskell (>=2.10.0.0), text (>=1.2.2.1), unordered-containers (>=0.2.5.1), yaml (>=0.8.17.1) [details]
License LGPL-3.0-only
Copyright Copyright (C) 2015 Swift Navigation, Inc.
Author Swift Navigation Inc.
Maintainer Mark Fine <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 Mon Jul 3 14:41:44 UTC 2017
Distributions LTSHaskell:2.4.7, NixOS:2.6.3, Stackage:2.6.3
Executables sbp2yaml, json2sbp, sbp2json
Downloads 16137 total (454 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-07-03 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for sbp-2.2.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-5, LTS-6, and LTS-8. To install from Hackage using stack:

$ stack install --resolver lts-6.35 sbp # (LTS-6)

or

$ stack install --resolver lts-8.21 sbp # (LTS-8)

or

$ stack install --resolver lts-5.18 sbp # (LTS-5)

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

Usage Examples (TODO)

References

LICENSE

Copyright © 2015 Swift Navigation Inc.