Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 524 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 524 Bytes

MQTT client in OCaml using Core.Async

Current status:

  • publish
  • subscribe
  • unsubscribe
  • pingreq (stayalive ping)

Dependencies:

  • Core (opam install core)
  • Async (opam install async)
  • Unix (opam install base_unix)
  • Threads (opam install base_threads)

To build library and test_mqtt.native example: $ make

To install: $ make install

To run: $ test_mqtt.native [-port <port_num>] [-broker ]

(see: examples/test_mqtt.ml for example usage)

TODO:

  • create OPAM package
  • get working with mirage