EasyManua.ls Logo

Digi IX20 - Page 783

Digi IX20
1188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Services Usethe MQTT broker service
IX20 User Guide
783
d. Set the accesstypeto apply to the topic:
(config service mqtt topic_acl anonymous 0)> access value
(config service mqtt topic_acl anonymous 0)>
where value is one of:
l
deny
l
read
l
readwrite
l
write
The default is readwrite.
e. Add additional topics:
(config service mqtt topic_acl anonymous 0)> add .. .. anonymous
end
(config service mqtt topic_acl anonymous 1)>
f. Repeat the above stepsto set the topic and access type.
n
To restrict accessto topics based on pattern substitution:
a. Return to the service mqtt node of the schema:
(config service mqtt encryption psk 1)> ... service mqtt
(config service mqtt)>
b. Add a topic:
(config service mqtt)> add topic_acl pattern end
(config service mqtt topic_acl pattern 0)>
c. Set the topic:
(config service mqtt topic_acl pattern 0)> topic value
(config service mqtt topic_acl pattern 0)>
where value is one of:
l
The topic.
l
The variable %casa substitute for the client ID.
l
The variable %u as a substitute for the username.
If a variable is used, it can bethe only text for that level of the hierarchy.
d. Set the accesstypeto apply to the topic:
(config service mqtt topic_acl pattern 0)> access value
(config service mqtt topic_acl pattern 0)>
where value is one of:
l
deny
l
read

Table of Contents