aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-06-21 22:03:17 +0200
committercbdev <cb@cbcdn.com>2021-06-21 22:03:17 +0200
commit921ce069a4770fbadad7bb4e806361e857469409 (patch)
tree944dbc2c4fbb539168f9353de5eba175313762b6 /backends
parent9faaeeac95d20ea678a844de05b8b0515f19e19d (diff)
downloadmidimonster-921ce069a4770fbadad7bb4e806361e857469409.tar.gz
midimonster-921ce069a4770fbadad7bb4e806361e857469409.tar.bz2
midimonster-921ce069a4770fbadad7bb4e806361e857469409.zip
Repository cleanup
Diffstat (limited to 'backends')
-rw-r--r--backends/mqtt.md4
-rw-r--r--backends/osc.c3
-rw-r--r--backends/osc.md2
3 files changed, 5 insertions, 4 deletions
diff --git a/backends/mqtt.md b/backends/mqtt.md
index 6623438..85784ef 100644
--- a/backends/mqtt.md
+++ b/backends/mqtt.md
@@ -1,6 +1,6 @@
### The `mqtt` backend
-This backend provides input from and output to an message queueing telemetry transport (MQTT)
+This backend provides input from and output to a message queueing telemetry transport (MQTT)
broker. The MQTT protocol is used in lightweight sensor/actor applications, a wide selection
of smart home implementations and as a generic message bus in many other domains.
@@ -18,7 +18,7 @@ This backend does not take any global configuration.
| `host` | `mqtt://10.23.23.1` | none | Host or URI of the MQTT broker |
| `user` | `midimonster` | none | User name for broker authentication |
| `password` | `mm` | none | Password for broker authentication |
-| `clientid` | `MM-main` | random | MQTT client identifier (generated randomly at start) |
+| `clientid` | `MM-main` | random | MQTT client identifier (generated randomly at start if unset) |
| `protocol` | `3.1.1` | `5` | MQTT protocol version (`5` or `3.1.1`) to use for the connection |
The `host` option can be specified as an URI of the form `mqtt[s]://[username][:password]@host.domain[:port]`.
diff --git a/backends/osc.c b/backends/osc.c
index 5887a50..e8673bb 100644
--- a/backends/osc.c
+++ b/backends/osc.c
@@ -1,4 +1,5 @@
#define BACKEND_NAME "osc"
+//#define DEBUG
#include <string.h>
#include <ctype.h>
@@ -629,7 +630,7 @@ static channel* osc_map_channel(instance* inst, char* spec, uint8_t flags){
data->channel[u].out = calloc(data->channel[u].params, sizeof(osc_parameter_value));
}
else if(data->patterns){
- LOGPF("No pattern match found for %s", spec);
+ LOGPF("No preconfigured pattern match found for %s", spec);
}
if(!data->channel[u].path
diff --git a/backends/osc.md b/backends/osc.md
index 1446e06..61b3324 100644
--- a/backends/osc.md
+++ b/backends/osc.md
@@ -78,7 +78,7 @@ configuration.
#### Supported types & value ranges
OSC allows controls to have individual value ranges and supports different parameter types.
-The following types are currently supported by the MIDImonster:
+The following types are currently supported by the MIDIMonster:
* **i**: 32-bit signed integer
* **f**: 32-bit IEEE floating point