Digi IX30 User Manual page 611

Table of Contents

Advertisement

Services
d. Set the access type to apply to the topic:
e. Add additional topics:
f. Repeat the above steps to set the topic and access type.
To restrict access to topics based on pattern substitution:
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:
IX30 User Guide
(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
readwrite
l
write
l
The default is readwrite.
(config service mqtt topic_acl anonymous 0)> add .. .. anonymous
end
(config service mqtt topic_acl anonymous 1)>
(config service mqtt encryption psk 1)> ... service mqtt
(config service mqtt)>
(config service mqtt)> add topic_acl pattern end
(config service mqtt topic_acl pattern 0)>
(config service mqtt topic_acl pattern 0)> topic value
(config service mqtt topic_acl pattern 0)>
where value is one of:
The topic.
l
The variable %c as a substitute for the client ID.
l
The variable %u as a substitute for the username.
l
If a variable is used, it can be the only text for that level of the hierarchy.
(config service mqtt topic_acl pattern 0)> access value
(config service mqtt topic_acl pattern 0)>
where value is one of:
deny
l
read
l
Use the MQTT broker service
611

Advertisement

Table of Contents
loading

Table of Contents