package gammu

  1. Overview
  2. Docs
Cell phone and SIM card access

Install

Dune Dependency

Authors

Maintainers

Sources

gammu-0.9.4.tbz
sha256=c28db0aa7c53cbf44d953ab9a4bca95a3e15c605e96b125f061826b91e93e64e
md5=be9b2602e8d67cbad66fe71d1502fc3b

README.md.html

Gammu

This is a binding from OCaml to libGammu, 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 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 jbuilder 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.

Documentation

The documentation is available in gammu.mli or online.

OCaml

Innovation. Community. Security.