HyQuest Solutions
ML-IoT/C and /N Operation Manual © Copyright
Page -
37
Issue 1.2 28 Jun, 2021
Some
example
configuration files might be :
Filename :
Default.cfg
(Placed on an SD Card to be loaded into units in the workshop)
# This file has the default configuration for all units
# Turn off the email option
EmailSched=off
EmailHost=””
EmailUser=””
EmailPwd=””
EmailTo=””
EmailCc=””
# Setup FTP Server details
TxSched=En
ApplType=FTP
ApplHost=123.45.67.89
ApplPort=21
ApplUser=user@ourftp
ApplPwd=mypassword
ApplPath=Incoming
#Setup SDI-12 sensor #1 to measure from Addr 0 – 1st variable – 3 dec places x 1.00 + 0.00
SDI1=0,M,1,3,1.000,0.000
-------------------------------------------------------------------------------------------------------
Filename
: mliot_20-0001.cfg
(Placed on the FTP Server for S/N 20-0001)
# This file will turn daylight saving on – and that’s all
DSTEn=EN
-------------------------------------------------------------------------------------------------------
Filename :
MqttAzureKey.cfg (Placed on an SD Card to be loaded into units in the workshop)
# ApplType : DIS, FTP, HTTP, MQTT
ApplType=MQTT
# For MQTT the ApplHost is the Broker
ApplHost=iothub.azure-devices.net
ApplPort=8883
ApplSsl=EN
# For MQTT devices the ApplPath is the Topic
ApplPath=devices/mliot/messages/events/
# For MQTT the ApplID is the Client-ID
ApplID=mliot
# Clear the User and Pwd if the Key and Expiry are used !!!
ApplUser=""
ApplPwd=""
# To generate the User and Pwd from the Azure Key and Expiry (20-Nov-2021 3:16:40)
AzureKey=4y5T8vwDx5PVD8kPEVipt8COoapiLjJuo5I=
AzureExpiry=1637378200