Digi IX40 User Manual page 634

Table of Contents

Advertisement

Services
The default is readwrite.
iv. Add additional topics:
(config service mqtt client 0 topic_acl 0)> add .. .. topic_acl end
(config service mqtt client 0 topic_acl 1)>
v. Repeat the above steps to set the topic and access type.
11. Set the encryption:
a. Return to the root of the configuration:
(config service mqtt client 0 topic_acl 1)> ...
(config)>
b. Set the encryption type:
(config)> service mqtt encryption type value
(config)>
where value is either:
n
none
n
psk
If psk is used:
a. (Optional) Set a string that identifies the listener and is sent to the clients:
b. Enable the PSK identity sent by the client to be used as its username:
c. Set the pre-shared keys:
IX40 User Guide
n
deny
n
read
n
readwrite
n
write
(config)> service mqtt encryption identifier string
(config)>
(config)> service mqtt encryption use_identity_as_username true
(config)>
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)>
Use the MQTT broker service
634

Advertisement

Table of Contents
loading

Table of Contents