Перейти к содержанию

Навигация

Wb-mqtt-serial templates/en: различия между версиями

Новая страница: «=== Device channels === File:Channel_properties_mqtt_serial.png|450px|thumb|right|Channel parameters are described in wb-mqtt-serial.schema.json (made in app […»
(Новая страница: «Other device parameters are either added to the section when the template is included in the wb-mqtt-serial general configuration, or default values are used. The…»)
(Новая страница: «=== Device channels === File:Channel_properties_mqtt_serial.png|450px|thumb|right|Channel parameters are described in wb-mqtt-serial.schema.json (made in app […»)
Строка 55: Строка 55:
Other device parameters are either added to the section when the template is included in the wb-mqtt-serial general configuration, or default values are used. The full list can be found in the [https://github.com/contactless/wb-mqtt-serial/blob/master/wb-mqtt-serial.schema.json wb-mqtt-serial.schema.json]  file (a copy is also stored on the controller: <code>/usr/share/wb-mqtt-confed/schemas/wb-mqtt-serial.schema.json</code>). See "device" object properties: <code>"device" -> "properties"</code>.
Other device parameters are either added to the section when the template is included in the wb-mqtt-serial general configuration, or default values are used. The full list can be found in the [https://github.com/contactless/wb-mqtt-serial/blob/master/wb-mqtt-serial.schema.json wb-mqtt-serial.schema.json]  file (a copy is also stored on the controller: <code>/usr/share/wb-mqtt-confed/schemas/wb-mqtt-serial.schema.json</code>). See "device" object properties: <code>"device" -> "properties"</code>.


=== Каналы устройства ===
=== Device channels ===
[[File:Channel_properties_mqtt_serial.png|450px|thumb|right|Параметры канала описываются в wb-mqtt-serial.schema.json (подготовлено в [http://www.bodurov.com/JsonFormatter/ Collapsible JSON Formatter])]]
[[File:Channel_properties_mqtt_serial.png|450px|thumb|right|Channel parameters are described in  wb-mqtt-serial.schema.json (made in app [http://www.bodurov.com/JsonFormatter/ Collapsible JSON Formatter])]]
Описание канала представляет собой структуру
Channel description is a structure


<syntaxhighlight lang="JSON">
<syntaxhighlight lang="JSON">
12 063

правки