diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2017-02-12 18:09:03 +0200 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2017-02-12 18:09:03 +0200 |
| commit | e9a30435c2e419f76b64d2976342a036537d9f50 (patch) | |
| tree | 19e7bd2f96ad2064e987554fd268c9d42962f9b8 /README.md | |
| parent | f4d155ebdf5eccb02c96ac26b8a8d90c80722a12 (diff) | |
| download | mqtt-e9a30435c2e419f76b64d2976342a036537d9f50.tar.gz mqtt-e9a30435c2e419f76b64d2976342a036537d9f50.zip | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -20,8 +20,20 @@ Execute in the build directory you created above: $ cmake -DMQTT_AMALGAMATE=ON . $ make amalgamate -Now the amalgamation (`mqtt.c` and `mqtt.h`) is found in `<project_root>/amalgamation` directory. +Now the amalgamation (`mqtt.c` and `mqtt.h`) is found in +`<project_root>/amalgamation` directory. + +# Dumping sent/received data + +Define `STREAM_HEXDUMP_READ` and `STREAM_HEXDUMP_WRITE` to make the library dump +read or written written data respectively to stdout. Nice for debugging. + +# Logging + +Define `LOG_LEVEL` to one of `DEBUG`, `INFO`, `WARNING` or `ERROR` to make the +library output logging information. # Tools -There are publish/subscribe tools included in the `tools` directory and they are built by default. +There are publish/subscribe tools included in the `tools` directory and they are +built by default. |
