This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
app-notes:ein-mqtt-server-fuer-iot-telemetry-sensoren [2024/03/21 14:00] – [2.1 Collect telemetry data with the help of SDK scripts] gray | app-notes:ein-mqtt-server-fuer-iot-telemetry-sensoren [2024/06/14 09:28] (current) – [Prerequisites] gray | ||
---|---|---|---|
Line 9: | Line 9: | ||
* NetModule Wireless Router with wireless connection | * NetModule Wireless Router with wireless connection | ||
- | * NRSW NRSW [[https:// | + | * NetModule SW [[https:// |
* A license is required for the LXC container | * A license is required for the LXC container | ||
* Not available for legacy products NB1600, NB2700, NB3700, NB3710 | * Not available for legacy products NB1600, NB2700, NB3700, NB3710 | ||
Line 66: | Line 66: | ||
| | ||
/* publish the message to mqtt broker Temperature */ | /* publish the message to mqtt broker Temperature */ | ||
- | ret = nb_mqtt_publish(HOST, | + | ret = nb_mqtt_publish(HOST, |
- | | + | |
if (ret<0){ | if (ret<0){ | ||
| | ||
Line 76: | Line 75: | ||
/* publish the message to mqtt broker Humidity */ | /* publish the message to mqtt broker Humidity */ | ||
ret = nb_mqtt_publish(HOST, | ret = nb_mqtt_publish(HOST, | ||
- | | ||
if (ret<0){ | if (ret<0){ | ||
| | ||
Line 85: | Line 83: | ||
/* publish the message to mqtt broker DevicePower */ | /* publish the message to mqtt broker DevicePower */ | ||
ret = nb_mqtt_publish(HOST, | ret = nb_mqtt_publish(HOST, | ||
- | | ||
if (ret<0){ | if (ret<0){ | ||
| | ||
Line 93: | Line 90: | ||
| | ||
/* publish the message to mqtt broker Sys */ | /* publish the message to mqtt broker Sys */ | ||
- | ret = nb_mqtt_publish(HOST, | + | ret = nb_mqtt_publish(HOST, |
- | | + | |
if (ret<0){ | if (ret<0){ | ||
| |