CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
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#include <stdbool.h>
14
15#ifdef __cplusplus
16extern "C"
17{
18#endif
19
21 int context,
22 const char *network,
23 int deviceHash,
24 double timeoutSeconds,
25 const char *values,
26 uint32_t value_len,
27 bool futureProofConfigs,
28 bool overrideIfDuplicate,
29 bool useDid);
30
32 int context,
33 const char *network,
34 int deviceHash,
35 double timeoutSeconds,
36 char **str,
37 bool useDid);
38
40 Context context,
41 const char *network,
42 int deviceHash,
43 double timeoutSeconds,
44 char *str,
45 uint32_t str_len,
46 bool useDid);
47
48#ifdef __cplusplus
49}
50#endif
CTREXPORT int c_ctre_phoenix6_get_configs_no_malloc(Context context, const char *network, int deviceHash, double timeoutSeconds, char *str, uint32_t str_len, bool useDid)
CTREXPORT int c_ctre_phoenix6_get_configs(int context, const char *network, int deviceHash, double timeoutSeconds, char **str, bool useDid)
CTREXPORT int c_ctre_phoenix6_set_configs(int context, const char *network, int deviceHash, double timeoutSeconds, const char *values, uint32_t value_len, bool futureProofConfigs, bool overrideIfDuplicate, bool useDid)
enum _Context Context
#define CTREXPORT
Definition export.h:14