Digi IX10 User Manual page 594

Hide thumbs Also See for IX10:
Table of Contents

Advertisement

Services
12. The topic access control lists controls what topics clients can access. If no topics are included,
then clients have access to all topics. If any topics are listed, access is restricted to only the
listed topics.
To restrict access for anonymous clients to particular topics:
n
a. Return to the service mqtt node of the schema:
b. Add a topic:
c. Set the topic:
d. Set the access type to apply to the topic:
IX10 User Guide
ii. Set the identity sent to the client:
(config service mqtt encryption psk 0)> indentity value
(config service mqtt encryption psk 0)>
iii. Set the pre-shared key:
(config service mqtt encryption psk 0)> key value
(config service mqtt encryption psk 0)>
where value is the pre-shared key in hexadecimal format that is associated
with the client identity.
iv. Add additional keys:
(config service mqtt encryption psk 0)> add .. end
(config service mqtt encryption psk 1)>
Repeat the above steps to set the identity and the pre-shared key.
(config service mqtt encryption psk 1)> ... service mqtt
(config service mqtt)>
(config service mqtt)> add topic_acl anonymous end
(config service mqtt topic_acl anonymous 0)>
(config service mqtt topic_acl anonymous 0)> topic value
(config service mqtt topic_acl anonymous 0)>
where value is one of:
The topic.
l
The signal level wildcard, +.
l
The multi-level wildcard, #.
l
(config service mqtt topic_acl anonymous 0)> access value
(config service mqtt topic_acl anonymous 0)>
where value is one of:
deny
l
read
l
Use the MQTT broker service
594

Advertisement

Table of Contents
loading

Table of Contents