2021-09-18 13:45:24 +08:00
|
|
|
#include <signal.h>
|
|
|
|
#include <sys/ioctl.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <fstream>
|
|
|
|
#include <iostream>
|
|
|
|
#include <boost/thread/thread.hpp>
|
|
|
|
#include <boost/date_time/posix_time/posix_time.hpp>
|
|
|
|
#include <boost/lexical_cast.hpp>
|
|
|
|
#include "../common/SH_global.h"
|
|
|
|
#include "../common/SH_CommonFunc.hpp"
|
|
|
|
#include "../mqttclient/SH_MqttClient.h"
|
|
|
|
#include "../localserver/SH_LocalServer.hpp"
|
|
|
|
#include "../searchdev/SH_SearchDev.hpp"
|
|
|
|
#include "../tcpcgi/TcpCgi.hpp"
|
|
|
|
#include "../udpqt/SH_UdpQt.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************
|
|
|
|
*************线程处理函数***********
|
|
|
|
************************************/
|
|
|
|
|
|
|
|
extern void CheckThread(); //循环检测线程
|
|
|
|
extern void StartMqttClient(); //启动mqtt服务
|
|
|
|
extern void SearchThread(); //组播功能, 提供发现设备功能
|
|
|
|
extern void RecvUpdateFile(); //更新升级包
|
|
|
|
extern void StartCgiServer(); //启动cgi处理服务端
|
2025-02-15 18:49:38 +08:00
|
|
|
extern void StartCMTServer();
|
2021-09-18 13:45:24 +08:00
|
|
|
extern void HeartRep();
|
|
|
|
extern void UartStart(); //
|
2024-07-09 09:49:42 +08:00
|
|
|
extern void TestUart();
|
|
|
|
extern void WatchDog();
|
2021-09-18 13:45:24 +08:00
|
|
|
extern void UartStartWave();
|
|
|
|
extern void StartUdpSys(); //组播通信
|
2024-07-09 09:49:42 +08:00
|
|
|
extern void GetCSQ();
|
|
|
|
extern void Dial5G();
|
|
|
|
extern void InitModule();
|
|
|
|
extern void RunLED();
|