Translations:MQTT/13/en

Материал из Wiren Board
Версия от 14:24, 11 июня 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «You can also subscribe to messages from the Linux console using the mosquitto_sub utility (for a full description of the utility, see [http://mosquitto.org/man/mo…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

You can also subscribe to messages from the Linux console using the mosquitto_sub utility (for a full description of the utility, see The article):

root@wirenboard:~# mosquitto_sub -t '/devices/wb-w1/controls/28-0115a48fcfff' -v //receive messages from a topic of the  1-Wire device with ID: 28-0115a48fcfff
/devices/wb-w1/controls/28-0115a48fcfff 22.75 //in this line and below is the output of the utility received messages
/devices/wb-w1/controls/28-0115a48fcfff 22.75
/devices/wb-w1/controls/28-0115a48fcfff 22.75

Metacharacters