1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

Added ability to log control channel messages

This commit is contained in:
Bryan Roe
2019-02-14 14:03:33 -08:00
parent ed92a0b21c
commit b9af163039
4 changed files with 80 additions and 7 deletions

View File

@@ -170,6 +170,7 @@ typedef struct MeshAgentHostContainer
int forceUpdate;
int logUpdate;
int fakeUpdate;
int controlChannelDebug;
void *coreTimeout;
int webSocketMaskOverride;
int jsDebugPort;
@@ -213,7 +214,8 @@ char* MeshAgent_MakeAbsolutePath(char *basePath, char *localPath);
/* List of DB Keys that can be set, to alter behavior of the Mesh Agent
*
*
AgentCapabilities: Integer Mask, specifying supported Agent Capabilities
AgentCapabilities: Integer Mask, specifying supported Agent Capabilities
controlChannelDebug: If set, will log/display controlChannel messages (Except for JSON messages)
controlChannelIdleTimeout: Integer value specifying the idle timeout in seconds, to send Ping/Pong to server, to keep connection alive
disableUpdate: If set, will prevent the agent from self-updating
noUpdateCoreModule: If set, will prevent the agent from taking a new meshcore from the server