Add SDK command to rescan devices

This commit is contained in:
Adam Honse 2025-07-02 14:32:03 -05:00
parent b6d4ded29a
commit 0cfe5ae0bb
4 changed files with 20 additions and 0 deletions

View file

@ -18,6 +18,7 @@
#include "NetworkProtocol.h"
#include "net_port.h"
#include "ProfileManager.h"
#include "ResourceManager.h"
#define MAXSOCK 32
#define TCP_TIMEOUT_SECONDS 5
@ -82,6 +83,7 @@ public:
void ProcessRequest_ClientProtocolVersion(SOCKET client_sock, unsigned int data_size, char * data);
void ProcessRequest_ClientString(SOCKET client_sock, unsigned int data_size, char * data);
void ProcessRequest_RescanDevices();
void SendReply_ControllerCount(SOCKET client_sock);
void SendReply_ControllerData(SOCKET client_sock, unsigned int dev_idx, unsigned int protocol_version);