Overview
Welcome to the Facilio Two Way Agent MQTT messages documentation!
Using the certificate files & private key obtained from Facilio for your organization, establish a MQTT connection to Facilio’s AWS MQTT server. Please refer AWS IoT SDK
Set proper LastWillMessage while establishing the connection itself.
Endpoint, clientId, topic to establish a MQTT connection will be available in faciio.config file provided along with the certificate files. If multiple agents are going to co-exist, the clientId should be unique and share the new clientId with Facilio Inc to authorize the same. Use client id as agent name.