Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chris00/ocaml-gammu
Cell phone and SIM card access.
https://github.com/chris00/ocaml-gammu
Last synced: 15 days ago
JSON representation
Cell phone and SIM card access.
- Host: GitHub
- URL: https://github.com/chris00/ocaml-gammu
- Owner: Chris00
- Created: 2015-04-13T07:58:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-27T14:28:11.000Z (about 4 years ago)
- Last Synced: 2024-05-09T23:22:23.897Z (6 months ago)
- Language: OCaml
- Size: 1.88 MB
- Stars: 17
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/Chris00/ocaml-gammu.svg?branch=master)](https://travis-ci.org/Chris00/ocaml-gammu)
[![Build status](https://ci.appveyor.com/api/projects/status/vmdcb6rsllg0c1ec?svg=true)](https://ci.appveyor.com/project/Chris00/ocaml-gammu)Gammu
=====This is a binding from OCaml to [libGammu](http://wammu.eu/), which
provides an abstraction layer to work with different cell phones from
different vendors.Install
-------First, you need to install the gammu development files; see
[gammu.opam](gammu.opam) to get the right package for your system.
The build script will use `pkg-config` to determine the right flags
for your system. If `pkg-config` does not work (e.g. you are on
Windows), set the environment variable `OCAML_GAMMU_CFLAGS` to the
compiler flags to find the header files (e.g. `-I/usr/include/gammu`)
and `OCAML_GAMMU_LIBS` to the linking flags (e.g. `-lgammu -lm`).
Beware that, if these variables are set, they take precedence over the
pkg-config discovery.The easier way to install this library is to use [opam][]:
opam install gammu
If you prefer to compile by hand, issue `dune build
@install` in the directory in which you downloaded this code.To compile the library with debugging output turned on for the C
stubs, define the environment variable `OCAML_GAMMU_DEBUG`.[opam]: https://opam.ocaml.org/
Documentation
-------------The documentation is available in [gammu.mli](src/gammu.mli) or
[online](https://Chris00.github.io/ocaml-gammu/doc).