MQTT/en: различия между версиями

Новая страница: «==Working with message queue== The program (daemon) responsible for sending messages from one client to another is called a message broker. Wiren Board uses [ht…»
(Новая страница: «For example, if we now click on the relay button in the web interface (switch its state), we will receive new messages: <pre> /devices/wb-mrm2_130/controls/Relay…»)
(Новая страница: «==Working with message queue== The program (daemon) responsible for sending messages from one client to another is called a message broker. Wiren Board uses [ht…»)
Строка 94: Строка 94:
- the web interface first "instructs" to turn on the relay, then the driver turns it on and records the current state in the "channel"("control").
- the web interface first "instructs" to turn on the relay, then the driver turns it on and records the current state in the "channel"("control").


==Работа с очередью сообщений==
==Working with message queue==
Программа (демон), отвечающая за рассылку сообщений от одних клиентов другим, называется брокером сообщений. В Wiren Board используется брокер сообщений [http://mosquitto.org/ Mosquitto]. Фактически, все драйверы и веб-интерфейс передают свои сообщения именно демону-брокеру Mosquitto.
The program (daemon) responsible for sending messages from one client to another is called a message broker. Wiren Board uses  [http://mosquitto.org/ Mosquitto] message broker. In fact, all drivers and the web interface transmit their messages to this daemon broker
===Работа из командной строки===
===Working via the command line===


==== Управление устройствами из командной строки ====
==== Управление устройствами из командной строки ====
12 063

правки