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

Description

Gammu is a binding to libGammu which allows to manage data in your cell phone such as contacts, calendar or messages.

Tags

SMS phone clib:gammu

Published: 07 Feb 2018

README

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.

Dependencies (6)

  1. conf-pkg-config build
  2. configurator build
  3. stdio build
  4. base build
  5. jbuilder >= "1.0+beta9"
  6. ocaml >= "4.02.3"

Dev Dependencies (1)

  1. base-unix build & with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.