CTRE Phoenix Pro C++ 23.0.12
Diagnostics_CCI.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#pragma once
8
9#include <stdint.h>
10#include "ctre/phoenix/export.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16 /** Creates the Phoenix Diagnostic Server on the default port */
18 /** Creates the Phoenix Diagnostic Server on the given port */
20 /** Sets the number of seconds after which the Phoenix Diagnostic Server will start */
22 /** Allows the program to terminate early from a remote shutdown command (disabled by default) */
24 /** Safely disposes of the Phoenix Diagnostic Server */
26
27#ifdef __cplusplus
28}
29#endif
CTREXPORT void c_Phoenix_Diagnostics_Create()
Creates the Phoenix Diagnostic Server on the default port.
CTREXPORT void c_Phoenix_Diagnostics_EnableEarlyShutdown()
Allows the program to terminate early from a remote shutdown command (disabled by default)
CTREXPORT void c_Phoenix_Diagnostics_Dispose()
Safely disposes of the Phoenix Diagnostic Server.
CTREXPORT void c_Phoenix_Diagnostics_SetSecondsToStart(double secondsToStart)
Sets the number of seconds after which the Phoenix Diagnostic Server will start.
CTREXPORT void c_Phoenix_Diagnostics_Create_On_Port(int port)
Creates the Phoenix Diagnostic Server on the given port.
#define CTREXPORT
Definition: export.h:14