[app] LogSavePath = logs/ LogSaveName = log LogFileExt = log TimeFormat = 20060102 [server] #debug or release #RunMode = debug RunMode = release #Mdns_servicename 为空是禁用 Mdns_servicename = TMRWATCH Mdns_serviceport = 5354 #Netcard 为空为随机 Netcard = WLAN #broadcast 为0不广播 Broadcast = 0 UseAPI = 1 [database] Type = mysql User = root Password = root Host = localhost:3326 Name = tmrwatch TablePrefix = ShowXormlog = false ShowGetSqllog = false CacheApiSql = false Showlog = true Showline = false [comm] PortName = /dev/ttyS0 BaudRate = 9600 DataBits = 8 StopBits = 1 ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2 InterCharacterTimeout = 100 MinimumReadSize = 0 [mqtt] Enable = false Host = 218.241.17.66 Port = 1984 Nodevalue = kh_bh Path = Topic_Up = test1 Topic_Down = test2 Qos = 1 CleanSession = true SaslEnable = true Username = kptmqtt Saslpassword = kepaiteng TlsEnable = false Clientcert = pem/bbbc7ee0f6-certificate.pem.crt Clientkey = pem/bbbc7ee0f6-private.pem.key Cacert =