WLG/threadfunc/thread_func.hpp
2024-10-23 09:22:06 +08:00

37 lines
1.1 KiB
C++

#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/global.hpp"
#include "common/common_func.hpp"
#include "mqttclient/mqtt_client.h"
#include "localserver/local_server.hpp"
#include "utility/search_dev.hpp"
#include "utility/tcp_cgi.hpp"
#include "utility/udp_qt.hpp"
/***********************************
*************线程处理函数***********
************************************/
extern void CheckThread(); //循环检测线程
extern void StartMqttClient(); //启动mqtt服务
extern void SearchThread(); //组播功能, 提供发现设备功能
extern void RecvUpdateFile(); //更新升级包
extern void StartCgiServer(); //启动cgi处理服务端
extern void HeartRep();
extern void UartStart(); //
extern void TestUart();
extern void WatchDog();
extern void UartStartWave();
extern void StartUdpSys(); //组播通信
extern void GetCSQ();
extern void Dial5G();
extern void InitModule();
extern void RunLED();