Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
11 views35 pages

MQTT DriverGuide

Uploaded by

dalikudaisy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views35 pages

MQTT DriverGuide

Uploaded by

dalikudaisy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

Technical Document

Abstract MQTT Driver Guide

March 21, 2018


Abstract MQTT Driver Guide
Tridium, Inc.
3951 Westerre Parkway, Suite 350
Richmond, Virginia 23233
U.S.A.

Confidentiality
The information contained in this document is confidential information of Tridium, Inc., a Delaware corpora-
tion (“Tridium”). Such information and the software described herein, is furnished under a license agreement
and may be used only in accordance with that agreement.
The information contained in this document is provided solely for use by Tridium employees, licensees, and
system owners; and, except as permitted under the below copyright notice, is not to be released to, or re-
produced for, anyone else.
While every effort has been made to assure the accuracy of this document, Tridium is not responsible for
damages of any kind, including without limitation consequential damages, arising from the application of the
information contained herein. Information and specifications published here are current as of the date of this
publication and are subject to change without notice. The latest product specifications can be found by con-
tacting our corporate headquarters, Richmond, Virginia.

Trademark notice
BACnet and ASHRAE are registered trademarks of American Society of Heating, Refrigerating and Air-Con-
ditioning Engineers. Microsoft, Excel, Internet Explorer, Windows, Windows Vista, Windows Server, and SQL
Server are registered trademarks of Microsoft Corporation. Oracle and Java are registered trademarks of
Oracle and/or its affiliates. Mozilla and Firefox are trademarks of the Mozilla Foundation. Echelon, LON, Lon-
Mark, LonTalk, and LonWorks are registered trademarks of Echelon Corporation. Tridium, JACE, Niagara
Framework, NiagaraAX Framework, and Sedona Framework are registered trademarks, and Workbench,
WorkPlaceAX, and AXSupervisor, are trademarks of Tridium Inc. All other product names and services men-
tioned in this publication that are known to be trademarks, registered trademarks, or service marks are the
property of their respective owners.

Copyright and patent notice


This document may be copied by parties who are authorized to distribute Tridium products in connection
with distribution of those products, subject to the contracts that authorize such distribution. It may not oth-
erwise, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic
medium or machine-readable form without prior written consent from Tridium, Inc.
Copyright © 2018 Tridium, Inc. All rights reserved.
The product(s) described herein may be covered by one or more U.S. or foreign patents of Tridium.
Contents
About this Guide .................................................................................................5
Document change log ................................................................................5
Related Documentation ..............................................................................5

Chapter 1 Introduction .....................................................................................7


MQTT Requirements ..................................................................................7

Chapter 2 Setup an AbstractMqttDriverNetwork.............................................9


Adding an AbstractMqttDriverNetwork ......................................................9
Adding an AbstractMqttDriverDevice .........................................................9
AbstractMqttDriverDevice configuration...................................................10
About AbstractMqttPoints .......................................................................14
Discovering AbstractMqttPoints .....................................................15
Adding Points to the database........................................................16
Creating the MqttBooleanPublishPoint ...........................................17
Creating the MqttBooleanSubscribePoint .......................................19
Creating the MqttNumericPublishPoint ...........................................20
Creating the MqttNumericSubscribePoint .......................................22
Creating the MqttStringPublishPoint...............................................23
Creating the MqttStringSubscribePoint...........................................24
Creating the MqttEnumPublishPoint ...............................................25
Creating the MqttEnumSubscribePoint ...........................................27
Publishing data using Mqtt .............................................................29
Chapter 3 Plugins ...........................................................................................31
Mqtt Client Driver Device Manager...........................................................31
Mqtt Client Driver Point Manager .............................................................31
Chapter 4 Components...................................................................................33
AbstractMqttDriverNetwork.....................................................................33
AbstractMqttDriverDevice........................................................................33
Mqtt Boolean Object Publish Point Ext......................................................33
Mqtt Boolean Object Subscribe Point Ext..................................................33
Mqtt Numeric Object Publish Ext..............................................................34
Mqtt Numeric Object Subscribe Ext..........................................................34
Mqtt String Object Publish Ext..................................................................34
Mqtt String Object Subscribe Ext..............................................................34
Mqtt Client Driver Point Device Ext...........................................................34
Mqtt Enum Object Publish Point Ext .........................................................34
Mqtt Enum Object Subscribe Point Ext .....................................................34
Index.................................................................................................................35

March 21, 2018 3


Contents Abstract MQTT Driver Guide

4 March 21, 2018


About this Guide
This topic contains important information about the purpose, content, context, and intended audience for
this document.

Produ ct D ocu men t at i on


This document is part of the Niagara technical documentation library. Released versions of Niagara software
include a complete collection of technical information that is provided in both online help and PDF format.
The information in this document is written primarily for Systems Integrators. In order to make the most of
the information in this book, readers should have some training or previous experience with Niagara 4 or Ni-
agaraAX software, as well as experience working with JACE network controllers.

Document Content
This document describes how to create an Abstract MQTT (MQ Telemetry Transport) client connection to
the Abstract MQTT broker for a Niagara 4.2 (or later) station for the purpose of publishing or subscribing
the “lightweight” messaging protocol into the Niagara Framework.

Document change log


Changes to this document are listed in this topic.
• Updated: March 21, 2081
Editorial updates only.
• Updated: October 16, 2017
Added information about ‘Bql Query Builder’ in “Discovering AbstractMqttPoints” topic.
Added two new topics “Discovering AbstractMqttPoint” and “Adding Points to the database”.
Updated the component topics and few more topics in the chapter “Setup an
AbstractMqttDriverNetwork”.
• Updated: July 10, 2017
Updated for initial product release.

Related Documentation
The following documents relate to the AbstractMqtt Driver.
• Niagara Drivers Guide
• Niagara 4 Platform Guide

March 21, 2018 5


Abstract MQTT Driver Guide

6 March 21, 2018


Chapter 1 Introd ucti on
Topics covered in this chapter
♦ MQTT Requirements

MQTT is a publish-subscribe-based "lightweight" messaging protocol for use on top of the TCP/IP protocol
driver installation.

Description
MQTT (MQ Telemetry Transport) driver installation is an extremely simple and lightweight messaging proto-
col. Its publish/subscribe architecture is designed to be open and easy to implement, with up to thousands
of remote clients capable of being supported by a single server.

Publish/Subscribe
The MQTT protocol is based on the principle of publish and subscribe the patterns. Multiple clients connect
to a broker and subscribe to topics that they are interested in. Clients also connect to the broker and publish
messages to topics. It restricts one subscriber to one topic.

Client
In this documentation, the term the client refers to the MQTT client. That is, either a Publisher or a Subscrib-
er. The MQTT client can be both a publisher and subscriber at the same time. An MQTT client is any device
from a micro controller up to a full fledged server, that has an MQTT library running and is connecting to an
MQTT broker over any type of network. The Niagara solution for MQTT uses only the client, and not the
broker. Datatypes supported by the client are Boolean, String, Numeric and Enum.

Broke r
You may install an applicable broker. Depending on the actual implementation, a broker may handle many
concurrently connected MQTT clients. The broker is primarily responsible for :
• Receiving all messages
• Filtering them
• Deciding who is interested in it
• Sending the message to respective subscribed clients.
Another responsibility of the broker is the authentication and authorization of clients. Most of the times a
broker is also extensible, which allows you to easily integrate custom authentication, authorization and inte-
gration into back-end systems. Integration is an especially important aspect because often the broker is the
component which is directly exposed on the Internet and handles a lot of clients and then passes messages
along to downstream analyzing and processing systems. The Niagara MQTT client supports One way SSL
connection. Whenever a client tries to connect with a broker using a login credentials, it is done over SSL.

MQT T R eq ui rem en ts
This topic describes the licensing and software requirements for using the Niagara Abstract MQTT Driver.

L i c e n s e R e q u i re m e n t s
The abstract Mqtt driver module is a licensed feature. You can check to see if your software installation is li-
censed for Mqtt by opening the license file from the License Manager view. The feature name is present only
if your platform is licensed for Mqtt.

March 21, 2018 7


Chapter 1 Introduction Abstract MQTT Driver Guide

Fi gu re 1 Example Mqtt license with point limit attribute values set to “none”.

Sof t wa re Re qu ire men t s


The Niagara Abstract MQTT Driver is available for Niagara 4.2 (or later).

8 March 21, 2018


Chapter 2 Setup an
AbstractMqttDriverNetwork
Topics covered in this chapter
♦ Adding an AbstractMqttDriverNetwork
♦ Adding an AbstractMqttDriverDevice
♦ AbstractMqttDriverDevice configuration
♦ About AbstractMqttPoints

This section provides the procedures and descriptions that are commonly required and used with the a b -
s t r a c t M q t t D r i v e r in typical online scenarios.
To configure the AbstractMqttDriverNetwork, first add and open the a b s t r a c t M q t t D r i v e r palette and then
add the AbstractMqttDriverNetwork under your station Drivers container.

Adding an AbstractMqttDriverNetwork
Use the following procedure to add an AbstractMqttDriverNetwork component under a station D r i v e r s
container.
Step 1 Open the P a l e t t e side bar by selecting W i n d o w → S i d e B a r s → P a l e t t e from the M e n u bar.
Step 2 Click on the O p e n P a l e t t e icon from the P a l e t t e side bar .
Step 3 Using the P a l e t t e side bar controls, open the a b s t r a c t M q t t D r i v e r palette.

Step 4 Select the AbstractMqttDriverNetwork and add it from the a b s t r a c t M q t t D r i v e r palette and copy-
and-paste (or drag and drop) the AbstractMqttDriverNetwork object into the D r i v e r s container.
The N a m e dialog box appears.

Step 5 Name the AbstractMqttDriverNetwork, as desired and click the O K button.

Adding an AbstractMqttDriverDevice
Use the following procedure to add an A b s t r a c t M q t t D r i v e r D e v i c e component under an
AbstractMqttDriverNetwork.

March 21, 2018 9


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

Step 1 Double-click the AbstractMqttDriverNetwork. The M q t t C l i e n t D r i v e r D e v i c e M a n a g e r view ap-


pears in the view pane.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Select the A b s t r a c t M q t t D r i v e r D e v i c e from the a b s t r a c t M q t t D r i v e r palette and copy-and-paste
(or drag and drop) the A b s t r a c t M q t t D r i v e r D e v i c e under the AbstractMqttDriverNetwork or the
M q t t C l i e n t D r i v e r D e v i c e M a n a g e r view. The N a m e dialog box appears.

Step 4 Name the A b s t r a c t M q t t D r i v e r D e v i c e , as desired and click the O K button.

AbstractMqttDriverDevice configuration
You place an A b s t r a c t M q t t D r i v e r D e v i c e objects under the AbstractMqttDriverNetwork to represent ac-
tual Abstract Mqtt Driver Devices that you want to communicate with the broker. You can configure the A b -
s t r a c t M q t t D r i v e r D e v i c e object by setting its properties to match the settings for the broker.
By selecting the P ro p e r t y S h e e t view of the A b s t r a c t M q t t D r i v e r D e v i c e object, you can view and config-
ure the following A b s t r a c t M q t t D r i v e r D e v i c e properties that apply to the entire network. In one network,
you can add multiple devices which are connected to the different brokers.
N O T E : If the A b s t r a c t M q t t D r i v e r D e v i c e is connected to the broker and there is network issue like net-
work outage, network connectivity problem or broker issue then the device will be disconnected, however it
will keep on retrying until the device is connected. In this case, if the device has to connect again using differ-
ent parameter, user has to disconnect (by selecting the disconnect action) enter the new connection parame-
ters then connect. This will make new connection with the broker.

10 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

A description of the A b s t r a c t M q t t D r i v e r D e v i c e specific properties follows (displayed in the P ro p e r t y


S h e e t view).

Actions
The A b s t r a c t M q t t D r i v e r D e v i c e object has three visible actions that are available when you right-click on
the device property or device node in the N a v tree:
• Ping
This action manually initiates a “ping” (check device status) on the actual A b s t r a c t M q t t D r i v e r D e v i c e .
• Connect
This action establishes a connection with the broker.
• Disconnect
This action waits for the Abstract MQTT client to finish any work and for or the TCP/IP session to
disconnect.
N O T E : For the Connect and Disconnect actions to work, the Ip address, Client ID, and port number of the
broker must be entered. Also the Username and Password must be entered, if the Connection Type prop-
erty is set to User Login Over SSL.

March 21, 2018 11


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

Clean Session
A persistent session can be requested by the client on connection establishment with the broker. The client
can control whether or not the broker stores the session by using the Clean Session flag. If the clean session
is set to true then the client does not have a persistent session and all information is lost when the client
disconnects for any reason. When clean session is set to false, a persistent session is created and it will be
preserved until the client requests a clean session again. If there is already a session available then it is used
and queued messages will be delivered to the client if available.

Enable L W T
When a client connects to the server this property can define a topic and a message that needs to be pub-
lished automatically when an ungraceful disconnection occurs.

Topic For L W T
This is a topic where a message for Last will and testament (L W T) will be available.

Qos For L W T
MQTT defines three levels of Quality of Service (Qos). The QoS defines how hard the broker/client will try to
ensure that a message is received. Messages may be sent at any Qos level, and clients may attempt to sub-
scribe to topics at any Qos level. The three levels are:
• 0: The broker/client will deliver the message once, with no confirmation
• 1: The broker/client will deliver the message at least once, with confirmation required
• 2: The broker/client will deliver the message exactly once by using a four step handshake.

Retained For L W T
Set this property to true to determine if the message will be saved by the broker for the specified topic as
last known good value. This is useful for newly connected subscribers to receive the last retained message
on that topic immediately after subscribing. This is extremely helpful for status updates of components or
devices on individual topics.

Message For L W T
This property shows the message for L W T when an unexpected disconnect occurs.

Keep Alive
The value of this property specifies an interval for the longest possible period of time that a broker - client
connection can exist without sending a message. The broker must disconnect a client, which doesn’t send a
PINGREQ or any other message in user’s specified time of the Keep Alive. This provides Abstract MQTT with
a work-around to the issue of half-open connection. The keep alive functionality assures that the connection
is still open and both broker and client are connected to one another. The client specifies a time interval in
seconds and communicates it to the broker during the establishment of the connection. The interval is the
longest possible period of time, which the broker and client can endure without sending a message.
• The client should ensure that the interval between Control Packets being sent does not exceed the Keep
Alive value.
• In the absence of sending any other Control Packets, the client must send a PINGREQ Packet.
• As long as messages are exchanged frequently and the keep alive interval is not exceeded, there is no
need to send an extra message to ensure that the connection is still open.
• If the client doesn’t send any messages during the period of the keep alive it must send a PINGREQ pack-
et to the broker to confirm its availability and also make sure the broker is still available.
• The broker must disconnect a client, which doesn’t send PINGREQ or any other message in user’s speci-
fied time of the Keep Alive.

12 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

• Also, the client should close the connection if the response from the broker isn’t received in a reasonable
amount of time.
• After receiving a PINGREQ the broker must reply with a PINGRESP packet to indicate its availability to
the client. Similar to the PINGREQ the packet doesn’t contain any payload.
• If the broker doesn’t receive a PINGREQ or any other packet from a particular client, it will close the con-
nection and send out the last will and testament message.
• If the keep alive interval is set to 0, the keep alive mechanism is deactivated.

Connection Timeout
This property specifies the maximum amount of time (in seconds) to wait for a response after sending the re-
quest to the broker.

B ro k e r I p A d d re s s
This property specifies the Ip address of the broker. If the broker is installed on the same platform, the de-
fault Broker Ip Address is 127.0.0.1. If the broker is installed in some other platform, the platform Ip
address must be entered in the B r o k e r I p A d d re s s field.

Broke r Por t
This property specifies the port number of the broker.

Client I D
The Abstract MQTT protocol defines a “client identifier” that uniquely identifies a client in a network. In sim-
ple terms, when connecting to a server a client needs to specify a unique string that is not used currently
and will not be used by any other client that will connect to the server. If the two devices are connected with
same ID, the Status sets to down and fault message occurs in the F a u l t C a u s e field. Two clients can not
have same client ID, but it is possible if they are connecting from the different stations. In this case the be-
havior of both the clients will not be as expected and there will be issues in communication between the cli-
ent and broker.

Status Message
This property shows whether the broker is connected or disconnected to the client.

C o n n e c t i o n Ty p e
• Anonymous
Select this property to establish an anonymous connection with the broker. The connection type Anony-
mous is non secure, choosing the Anonymous user authentication mode will generate a warning message
on the security risk involved. User or administrator has to agree the warning message and the same will
be logged in the Niagara system for audit purpose.
• Anonymous Over SSL
The connection is established over SSL, using one-way SSL, where the broker is required to be configured
with certificates and keys. Though the connection over SSL is secure, the connection type anonymous is
non secure, choosing the Anonymous user authentication mode will generate a warning message on the
security risk involved. User or administrator has to agree the warning message and the same will be
logged in the Niagara system for audit purpose.
• User Login Over SSL
This property requires login credentials. You must enter the username and password for the broker if you
select this property. In Niagara the default and recommended connection type will be User Login Over
SSL.

March 21, 2018 13


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

U s e r n a m e A n d P a s s w o rd
• Username: This property is used when connecting to the broker (User Login Over SSL connection). This
may or may not be required depending on the broker.
• Password: This property is used when connecting to the broker (User Login Over SSL connection). This
may or may not be required depending on the broker.

Send Enum As
Set this property value to TAG or ORDINAL. This property is configured at A b s t r a c t M q t t D r i v e r D e v i c e . As
per this property’s value, the enum publish or subscribe points sends or receives the data. All the enum pub-
lish or subscribe points of the device use this property to publish or subscribe data to/from the respective
topic.

About AbstractMqttPoints
The AbstractMqttPoints must be located under the P o i n t s container.
The AbstractMqttPoints are available in the AbstractMqttPoints folder of the a b s t r a c t M q t t D r i v e r
palette.

MqttBooleanPublishPoint
This point publishes only boolean data.

MqttBooleanSubscibePoint
This point subscribes only boolean values.

MqttNumericPublishPoint
This point publishes only numeric data.

MqttNumericSubscibePoint
This point subscribes only numeric values.

MqttStringPublishPoint
This point publishes only string data.

MqttStringSubscibePoint
This point subscribes only string values.

14 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

MqttEnumPublishPoint
This point publishes only enum data.

MqttEnumSubscibePoint
This point subscribes only enum values.

Discovering AbstractMqttPoints
This procedure describes how to discover AbstractMqttPoints in the AbstractMqttDriverNetwork.
Step 1 In the Nav Tree, expand the S t a t i o n → D r i v e r s → A b s t r a c t M q t t D r i v e r N e t w o r k → A b s t r a c t M q t t D r i -
v e r D e v i c e node.
Step 2 Right-click on the P o i n t s node and select V i e w s → M q t t C l i e n t D r i v e r P o i n t M a n a g e r or double
click onP
Po i n t s node to open the view.
Step 3 In the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view, click on the D i s c o v e r button.

Step 4 When you click on the D i s c o v e r button, B q l Q u e r y B u i l d e r window pops up.

In the B q l Q u e r y B u i l d e r window, do as follows:

• Click on icon, the C h o o s e R o o t window pops up.

March 21, 2018 15


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

• In the C h o o s e R o o t window, select the path of points which are available in the station to
discover.
• In the Of Type drop down list, select Control Point option and click the O K button to go to
the B q l Q u e r y B u i l d e r window.
NOTE:
You can also select below options in the Of Type drop down list:
– Boolean Point
– Numeric Point
– Enum Point
– String Point.
• Click the O K button to discover the selected points.

Adding Points to the database


This procedure describes how to add control points to the station for selected discovered objects. This ap-
proach is useful when existing station points needs to be exposed as mqtt publisher/subscriber points.
Prerequis i tes :
• Discovered points are visible in the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view.
Step 1 In the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view, select the point in the D i s c o v e r e d pane to add.
Step 2 Click the A d d button (or double-click on the selected object). The A d d dialog box appears.

In the A d d dialog box, you can edit the point properties before each point is added in the D a t a -
b a s e pane.
In the A d d dialog, do the following:
a. In the N a m e field, name the point, as desired.
b. In the Ty p e field, you can select the type of the point. There are two types of point: publish and
subscribe.

16 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

c. You can keep the L o c a l P o i n t field as default or null.


N O T E : If the point is added from the discovered points, the local point refers to the ord of the
point by default. If it is null, then the point is not linked to any point by default. You have to link
the point manually, if needed.
d. In the T o p i c field, enter the topic name, as desired.
e. In the L o c a l P o i n t S l o t field, select the desired input point slot which will directly link to the
functional blocks.
N O T E : The L o c a l P o i n t S l o t options are available only for subscribe point. If it is a publish
point, the default slot is “out”.
f. Click O K button to add the point to D a t a b a s e pane.

The added point begins updating with the real-time values, as shown here.

Crea tin g the Mq ttB ool ean Pub li sh Poin t


This topic describes how to add MqttBooleanPublishPoint manually.
Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.

March 21, 2018 17


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.


Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.
Step 4 Select the MqttBooleanPublishPoint and copy-and-paste (or drag and drop) the MqttBooleanPu-
blishPoint under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view. The
N a m e dialog box appears.
Step 5 Name the MqttBooleanPublishPoint, as desired and click the O K button.
You can also add the MqttBooleanPublishPoint by clicking N e w button at the bottom of M q t t C l i -
e n t D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:
a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttBooleanPublishPoint and double click on the P r o x y E x t node. The M q t t B o o l e a n
O b j e c t P u b l i s h E x t view appears.
Step 7 In the M q t t B o o l e a n O b j e c t P u b l i s h E x t view, do the following:
a. In the T o p i c property, type “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
b. Click the S a v e button.

18 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

N O T E : The Publish Message On Change default property is true.


Step 8 Go to the M q t t B o o l e a n O b j e c t P u b l i s h E x t view on the property sheet.
Step 9 Right-click on the M q t t B o o l e a n O b j e c t P u b l i s h E x t view and select A c t i o n → P u b l i s h to publish
the topic.
Publish returns immediately to the application thread after passing the request to the Abstract
MQTT client.

Crea tin g the Mq ttB ool ean Sub sc ri be Poin t


This topic describes how to add MqttBooleanSubscribePoint manually.
Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.
Step 4 Select the MqttBooleanSubscribePoint and copy-and-paste (or drag and drop) the MqttBoolean-
SubscribePoint under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view.
The N a m e dialog box appears.
Step 5 Name the MqttBooleanSubscribePoint, as desired and click the O K button.
You can also add the MqttBooleanSubscribePoint by clicking N e w button at the bottom of M q t t
C l i e n t D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:
a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

March 21, 2018 19


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttBooleanSubscribePoint and double click on the P ro x y E x t node. The M q t t B o o -
l e a n O b j e c t S u b s c r i b e E x t view appears.
Step 7 In the M q t t B o o l e a n O b j e c t S u b s c r i b e E x t view, do the following:
a. In the T o p i c property, type the “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
b. Click the S a v e button.

Step 8 Go to the M q t t B o o l e a n O b j e c t S u b s c r i b e E x t view on the property sheet.


Step 9 Right-click on the M q t t B o o l e a n O b j e c t S u b s c r i b e E x t view and select A c t i o n → S u b s c r i b e to
subscribe the topic.
N O T E : To unsubscribe the client from the topic select A c t i o n → U n s u b s c r i b e .

Creati ng the Mq ttN u meri c Pub li shPo int


This topic describes how to add the MqttNumericPublishPoint manually.
Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.
Step 4 Select the MqttNumericPublishPoint and copy-and-paste (or drag and drop) the MqttNumericPu-
blishPoint under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view. The
N a m e dialog box appears.

20 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

Step 5 Name the MqttNumericPublishPoint, as desired and click the O K button.


You can also add the MqttNumericPublishPoint by clicking N e w button at the bottom of M q t t C l i -
e n t D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:
a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttNumericPublishPoint and double click on the P r o x y E x t node. The M q t t N u m e r i c
O b j e c t P u b l i s h E x t view appears.
Step 7 In the M q t t N u m e r i c O b j e c t P u b l i s h E x t view, do the following:
a. In the T o p i c property, type “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
b. Click the S a v e button.

N O T E : The Publish Message On Change default property is true.


Step 8 Go to the M q t t N u m e r i c O b j e c t P u b l i s h E x t view on the property sheet.
Step 9 Right-click on the M q t t N u m e r i c O b j e c t P u b l i s h E x t view and select A c t i o n → P u b l i s h to publish
the topic.

March 21, 2018 21


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

Publish returns immediately to the application thread after passing the request to the Abstract
MQTT client.

Creati ng the Mq ttN u meri c Sub sc rib ePo int


This topic describes how to add the MqttNumericSubscribePoint manually.
Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.
Step 4 Select the MqttNumericSubscribePoint and copy-and-paste (or drag and drop) the MqttNumeric-
SubscribePoint under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view.
The N a m e dialog box appears.
Step 5 Name the MqttNumericSubscribePoint as desired and click the O K button.
You can also add the MqttNumericSubscribePoint by clicking N e w button at the bottom of M q t t
C l i e n t D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:
a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttNumericSubscribePoint and double click on the P r o x y E x t node. The M q t t N u -
m e r i c O b j e c t S u b s c r i b e E x t view appears.
Step 7 In the M q t t N u m e r i c O b j e c t S u b s c r i b e E x t view, do the following:
a. In the T o p i c property, type “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
You can use only one subscribe point per user. However, you can use a wildcard (#) entry to add
more subscribe points to the topic. For example, topic\#.
b. Click the S a v e button.

22 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

Step 8 Go to the M q t t N u m e r i c O b j e c t S u b s c r i b e E x t view on the property sheet.


Step 9 Right-click on the M q t t N u m e r i c O b j e c t S u b s c r i b e E x t view and select A c t i o n → S u b s c r i b e to
subscribe the topic.
N O T E : You can request the server unsubscribe the client from the topic by selecting
Action→Unsubscribe.

Crea tin g the Mq ttStri ng Pub li s hPoi nt


This topic describes how to add the MqttStringPublishPoint manually.
Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.
Step 4 Select the MqttStringPublishPoint and copy-and-paste (or drag and drop) the MqttStringPublish-
Point under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view. The N a m e
dialog box appears.
Step 5 Name the MqttStringPublishPoint, as desired and click the O K button.
You can also add the MqttStringPublishPoint by clicking N e w button at the bottom of M q t t C l i e n t
D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:
a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

March 21, 2018 23


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttStringPublishPoint and double click on the P r o x y E x t node. The M q t t S t r i n g O b -
j e c t P u b l i s h E x t view appears.
Step 7 In the M q t t S t r i n g O b j e c t P u b l i s h E x t view, do the following:
a. In the T o p i c property, type “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
b. Click the S a v e button.

N O T E : The Publish Message On Change default property is true.


Step 8 Go to the M q t t S t r i n g O b j e c t P u b l i s h E x t view on the property sheet.
Step 9 Right-click on the M q t t S t r i n g O b j e c t P u b l i s h E x t and select A c t i o n → P u b l i s h to publish the
topic.
Publish returns immediately to the application thread after passing the request to the Abstract
MQTT client.

Creati ng the Mq ttS tring Su bs c rib ePoi nt


This topic describes how to add the MqttStringSubscribePoint manually.
Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.
Step 4 Select the MqttStringSubscribePoint and copy-and-paste (or drag and drop) the MqttStringSub-
scribePoint under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view. The
N a m e dialog box appears.
Step 5 Name the MqttStringSubscribePoint, as desired and click the O K button.
You can also add the MqttStringSubscribePoint by clicking N e w button at the bottom of M q t t C l i -
e n t D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:

24 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttStringSubscribePoint and double click on the P r o x y E x t node. The M q t t S t r i n g
O b j e c t S u b s c r i b e E x t view appears.
Step 7 In the M q t t S t r i n g O b j e c t S u b s c r i b e E x t view, do the following:
a. In the T o p i c property, type the “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
b. Click the S a v e button.

Step 8 Go to the M q t t S t r i n g O b j e c t S u b s c r i b e E x t view on the property sheet.


Step 9 Right-click on the M q t t S t r i n g O b j e c t S u b s c r i b e E x t view and select A c t i o n → S u b s c r i b e to sub-
scribe the topic.
N O T E : To unsubscribe the client from the topic select A c t i o n → U n s u b s c r i b e .

Crea tin g the Mq ttE num Pub li s hPoi nt


This topic describes how to add the MqttEnumPublishPoint manually.
Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.

March 21, 2018 25


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.


Step 4 Select the MqttEnumPublishPoint and copy-and-paste (or drag and drop) the MqttEnumPublish-
Point under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view. The N a m e
dialog box appears.
Step 5 Name the MqttEnumPublishPoint, as desired and click the O K button.
You can also add the MqttEnumPublishPoint by clicking N e w button at the bottom of M q t t C l i e n t
D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:
a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttEnumPublishPoint and double click on the P ro x y E x t node. The M q t t E n u m O b -
j e c t P u b l i s h E x t view appears.

26 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

Step 7 In the M q t t E n u m O b j e c t P u b l i s h E x t view, do the following:


a. In the T o p i c property, type “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
N O T E : The Publish Message On Change default property is true.
Step 8 Set the Facets to the required enum value that you want to publish.
N O T E : The enum value publishes to the topic that depends on the Send Enum As property. That is
either a TAG or ORDINAL.
Step 9 Go to the M q t t E n u m O b j e c t P u b l i s h E x t view on the property sheet.
Step 10 Right-click on the . E x t view and select A c t i o n → P u b l i s h to publish the topic.
Publish returns immediately to the application thread after passing the request to the Abstract
MQTT client.

Crea tin g the Mq ttE num Sub s cri b ePoi nt


This topic describes how to add the MqttEnumSubscribePointmanually.

March 21, 2018 27


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

Step 1 In the N a v side bar, under the station AbstractMqttDriverNetwork node, expand the A b -
s t r a c t M q t t D r i v e r D e v i c e node and double-click on the P o i n t s container.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view displays.
Step 2 Go to the a b s t r a c t M q t t D r i v e r palette.
Step 3 Expand the AbstractMqttPoints folder from the a b s t r a c t M q t t D r i v e r palette.
Step 4 Select the MqttEnumSubscribePoint and copy-and-paste (or drag and drop) the MqttEnumSubscri-
bePoint under the P o i n t s container or onto the M q t t C l i e n t D r i v e r P o i n t M a n a g e r view. The
N a m e dialog box appears.
Step 5 Name the MqttEnumSubscribePoint, as desired and click the O K button.
You can also add the MqttEnumSubscribePoint by clicking N e w button at the bottom of M q t t C l i -
e n t D r i v e r P o i n t M a n a g e r view. The N e w dialog box appears.
In the N e w dialog box, do the following:
a. In the Ty p e t o A d d field, select the type of proxy point that you want to add from the option
list.
b. In the N u m b e r t o A d d field, type in a number to indicate the quantity of proxy points that you
want to add.
c. Click the O K button. Another N e w dialog box appears.

d. In the N e w dialog box, you can edit proxy point properties before each point is added in the
station.
Step 6 Expand the MqttEnumSubscribePoint and double click on the P r o x y E x t node. The M q t t E n u m
O b j e c t S u b s c r i b e E x t view appears.

28 March 21, 2018


Abstract MQTT Driver Guide Chapter 2 Setup an AbstractMqttDriverNetwork

Step 7 In the M q t t E n u m O b j e c t S u b s c r i b e E x t view, do the following:


a. In the T o p i c property, type “topic\user”.
N O T E : Enter the topic name, “\” in the T o p i c property, and “user” can be any name or word.
Step 8 Set the Facets to the required enum value that you want to publish.
N O T E : The enum point sets as per he data on the subscribed topic, its Facets and Send Enum As
property of the device.
• TAG: The data compares to tag of the Facet, matches the enum value and set as Enum Point.
• ORDINAL: The data receives the ordinal value, so the corresponding value from Facet selects
and set as Enum Point.
• If data does not match with the tag and ordinal of the current Enum point, then an Invalid Data
exception occurs.
Step 9 Go to the M q t t E n u m O b j e c t S u b s c r i b e E x t view on the property sheet.
Step 10 Right-click on the M q t t E n u m O b j e c t S u b s c r i b e E x t view and select A c t i o n → S u b s c r i b e to sub-
scribe the topic.
N O T E : You can request the server unsubscribe the client from the topic by selecting
Action→Unsubscribe.

Publishing data using Mqtt


To publish data to the broker, you need to link a data point output value to an Mqtt Publish Point of the
proper data type. This procedure describes how to link from a data point to an MqttNumericPublishPoint.
The procedure for publishing the boolean, string or enum data point is the same except that you use the
MqttBooleanPublishPoint, MqttStringPublishPoint or MqttEnumPublishPoint component to publish boolean,
string or enum data respectively.
P re re q u i s i t e s :
• Desired data point is available in a Workbench view through any valid network connection.
Step 1 Right-click on the P o i n t s node and select V i e w s → W i r e S h e e t . The W i re S h e e t view displays.

March 21, 2018 29


Chapter 2 Setup an AbstractMqttDriverNetwork Abstract MQTT Driver Guide

Step 2 Right-click on the MqttNumericPublishPoint and select a L i n k M a r k option from the list.
Step 3 Navigate to the desired numeric data point, right-click on it and select the L i n k T o “ M q t t N u m e r-
i c P u b l i s h P o i n t ” from the menu.

The L i n k window opens.


Step 4 Select the output of the data point to the input of the MqttNumericPublishPoint and click the O K
button.

The data should now be transferring to the broker.

30 March 21, 2018


Chapter 3 Plugins
Topics covered in this chapter
♦ Mqtt Client Driver Device Manager
♦ Mqtt Client Driver Point Manager

Plugins provide views of components and can be accessed in many ways. For example, double-click a com-
ponent in the N a v tree to see its default view. In addition, you can right-click on a component and select
from its V i e w s menu.
For summary documentation on any view, select H e l p → O n V i e w (F1) from the menu or press F1 while the
view is open.

Mqtt Client Driver Device Manager


The M q t t C l i e n t D r i v e r D e v i c e M a n a g e r is the default manager view of the AbstractMqttDriverNetwork.
To open this view, right-click the AbstractMqttDriverNetwork and select V i e w s → M q t t C l i e n t D r i v e r D e -
v i c e M a n a g e r.

Mqtt Client Driver Point Manager


The M q t t C l i e n t D r i v e r P o i n t M a n a g e r is default view of the P o i n t s container.
To open this view, right-click P o i n t s container and select V i e w s → M q t t C l i e n t D r i v e r P o i n t M a n a g e r.
The M q t t C l i e n t D r i v e r P o i n t M a n a g e r view splits into two panes when you select a D i s c o v e r button.

Di sco ve re d
This pane displays the points which are available in the device.

Database
This pane displays the points that are added to your station database.

March 21, 2018 31


Chapter 3 Plugins Abstract MQTT Driver Guide

32 March 21, 2018


Chapter 4 Components
Topics covered in this chapter
♦ AbstractMqttDriverNetwork
♦ AbstractMqttDriverDevice
♦ Mqtt Boolean Object Publish Point Ext
♦ Mqtt Boolean Object Subscribe Point Ext
♦ Mqtt Numeric Object Publish Ext
♦ Mqtt Numeric Object Subscribe Ext
♦ Mqtt String Object Publish Ext
♦ Mqtt String Object Subscribe Ext
♦ Mqtt Client Driver Point Device Ext
♦ Mqtt Enum Object Publish Point Ext
♦ Mqtt Enum Object Subscribe Point Ext

Components include services, folders and other model building blocks associated with a module. Each of
the following Mqtt components are briefly described in this section.
This topic contains a short description of a component or the component plugin view.

AbstractMqttDriverNetwork
The AbstractMqttDriverNetwork is the top-level container component for an AbstractMqttDriverNet-
work in a station.
The AbstractMqttDriverNetwork component is located in the a b s t r a c t M q t t D r i v e r palette. Like other
drivers, you should install this component under the D r i v e r s node of a station. The default view of this com-
ponent is the M q t t C l i e n t D r i v e r D e v i c e M a n a g e r view where you can add new devices, remove or edit de-
vices in a tabular layout.

AbstractMqttDriverDevice
The A b s t r a c t M q t t D r i v e r D e v i c e component should be added under the AbstractMqttDriverNetwork and
has properties that you use to enable and configure the associated device, points and point device
extensions.
The A b s t r a c t M q t t D r i v e r D e v i c e is available in the a b s t r a c t M q t t D r i v e r palette.

Mqtt Boolean Object Publish Point Ext


The Mqtt Boolean Object Publish Point Ext is contained under the MqttBooleanPublishPoint and contains
properties that you configure for publishing boolean data.
The Mqtt Boolean Object Publish Point Ext is available in the a b s t r a c t M q t t D r i v e r palette.

Mqtt Boolean Object Subscribe Point Ext


The Mqtt Boolean Object Subscribe Point Ext is contained under the MqttBooleanSubscribePoint and con-
tains properties that you configure for subscribing boolean data.
The Mqtt Boolean Object Subscribe Point Ext is available in the a b s t r a c t M q t t D r i v e r palette.

March 21, 2018 33


Chapter 4 Components Abstract MQTT Driver Guide

Mqtt Numeric Object Publish Ext


The Mqtt Numeric Object Publish Ext is contained under the MqttNumericPublishPoint and contains proper-
ties that you configure for publishing numeric data.
The Mqtt Numeric Object Publish Ext is available in the a b s t r a c t M q t t D r i v e r palette.

Mqtt Numeric Object Subscribe Ext


The Mqtt Numeric Object Subscribe Ext is contained under the MqttNumericSubscribePoint and contains
properties that you configure for subscribing numeric data.
The Mqtt Numeric Object Subscribe Ext is available in the a b s t r a c t M q t t D r i v e r palette.

Mqtt String Object Publish Ext


The Mqtt String Object Publish Ext is contained under the MqttStringPublishPoint and contains properties
that you configure for publishing string data.
The Mqtt String Object Publish Ext is available in the a b s t r a c t M q t t D r i v e r palette.

Mqtt String Object Subscribe Ext


The Mqtt String Object Subscribe Ext is contained under the MqttStringSubscribePoint component
and contains properties that you configure for subscribing string data.
The Mqtt String Object Subscribe Ext is available in the a b s t r a c t M q t t D r i v e r palette as a child of the
MqttStringSubscribePoint component.

Mqtt Client Driver Point Device Ext


The Mqtt Client Driver Point Device Ext is container for Mqtt client driver points.
The Mqtt Client Driver Point Device Ext is contained under the A b s t r a c t M q t t D r i v e r D e v i c e component.

Mqtt Enum Object Publish Point Ext


The Mqtt Enum Object Publish Point Ext is contained under the MqttEnumPublishPoint and contains proper-
ties that you configure for publishing enum data.
The Mqtt Enum Object Publish Point Ext is available in the a b s t r a c t M q t t D r i v e r palette.

Mqtt Enum Object Subscribe Point Ext


TheMqtt Enum Object Subscribe Point Ext is contained under the MqttEnumSubscribePoint and contains
properties that you configure for subscribing enum data.
The Mqtt Enum Object Subscribe Point Ext is available in the a b s t r a c t M q t t D r i v e r palette.

34 March 21, 2018


Index
A To create MqttBooleanSubscribePoint ................19
To create MqttNumericPublishPoint ....................20
About AbstractMqttPoints ..................................14
To create MqttNumericSubscribePoint ................22
AbstractMqttDriverDevice ..................................33
To create MqttStringPublishPoint........................23
AbstractMqttDriverDevice configuration .............10
To create MqttStringSubscribePoint....................24
AbstractMqttDriverNetwork ...............................33
AbstractMqttPoints
discovering .....................................................15
adding points
to station ........................................................16

C
components .......................................................33
Creating the MqttEnumPublishPoint ...................25
Creating the MqttEnumSubscribePoint................27

D
discover points ...................................................15
document change log ...........................................5

I
Introduction .........................................................7

M
Mqtt Boolean Object Publish Point Ext ................33
Mqtt Boolean Object Subscribe Point Ext ............33
Mqtt Client Driver Device Manager .....................31
Mqtt Client Driver Point Device Ext .....................34
Mqtt Client Driver Point Manager........................31
Mqtt Enum Object Publish Point Ext....................34
Mqtt Enum Object Subscribe Point Ext................34
Mqtt Numeric Object Publish Ext ........................34
Mqtt Numeric Object Subscribe Ext ....................34
Mqtt String Object Publish Ext ............................34
Mqtt String Object Subscribe Ext ........................34

P
Plugins ...............................................................31
Publishing topic ..................................................29

S
setup an AbstractMqttDriverNetwork ...................9

T
To create MqttBooleanPublishPoint ....................17

March 21, 2018 35

You might also like