CTRE Phoenix Pro C++ 23.0.12
Configs_Interface.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
10#include "ctre/phoenix/export.h"
12#include <stdint.h>
13
14#ifdef __cplusplus
15extern "C"
16{
17#endif
18
20 Context context,
21 const char *network,
22 int deviceHash,
23 double timeoutSeconds,
24 const char *values,
25 uint32_t value_len,
26 bool futureProofConfigs,
27 bool overrideIfDuplicate,
28 bool useDid);
29
31 Context context,
32 const char *network,
33 int deviceHash,
34 double timeoutSeconds,
35 char **str,
36 bool useDid);
37
39 Context context,
40 const char *network,
41 int deviceHash,
42 double timeoutSeconds,
43 char *str,
44 uint32_t str_len,
45 bool useDid);
46
47#ifdef __cplusplus
48}
49#endif
CTREXPORT int c_ctre_phoenixpro_get_configs(Context context, const char *network, int deviceHash, double timeoutSeconds, char **str, bool useDid)
CTREXPORT int c_ctre_phoenixpro_set_configs(Context context, const char *network, int deviceHash, double timeoutSeconds, const char *values, uint32_t value_len, bool futureProofConfigs, bool overrideIfDuplicate, bool useDid)
CTREXPORT int c_ctre_phoenixpro_get_configs_no_malloc(Context context, const char *network, int deviceHash, double timeoutSeconds, char *str, uint32_t str_len, bool useDid)
enum _Context Context
#define CTREXPORT
Definition: export.h:14