Digi IX30 User Manual page 610

Table of Contents

Advertisement

Services
c. Set the pre-shared keys:
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:
IX30 User Guide
i. Add a pre-shared key:
(config)> add service mqtt encryption psk end
(config service mqtt encryption psk 0)>
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
Use the MQTT broker service
610

Advertisement

Table of Contents
loading

Table of Contents