The sbp package

[ Tags: 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]

Properties

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
Dependencies aeson (>=0.11.3.0), 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.4.1), bytestring (>=0.10.6.0), conduit (>=1.2.10), conduit-extra (>=1.1.16), data-binary-ieee754 (>=0.4.4), lens (>=4.13), lens-aeson (>=1.0.0.5), monad-loops (>=0.4.3), sbp, template-haskell (>=2.10.0.0), text (>=1.2.2.2), unordered-containers (>=0.2.8.0), yaml (>=0.8.23) [details]
License LGPL-3
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 repository head: git clone git@github.com:swift-nav/libsbp.git
Uploaded Wed Aug 9 23:36:16 UTC 2017 by markfine
Distributions NixOS:2.2.12, Stackage:2.2.12
Executables sbp2yaml, json2sbp, sbp2json
Downloads 2524 total (81 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-10 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for sbp-2.2.12

[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-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.24 sbp # (LTS-8)

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-6 stack.yaml:

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

References

LICENSE

Copyright © 2015 Swift Navigation Inc.