CTRE Phoenix 6 C++ 24.3.0
SpnUpdatePeriod_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
12#include "stddef.h"
13
14#ifdef __cplusplus
15extern "C"
16{
17#endif
18
19 CTREXPORT int c_ctre_phoenix6_SetUpdateFrequency(Context context, const char *network, uint32_t deviceHash, uint16_t spn, double frequencyHz, double timeoutSeconds);
20 CTREXPORT int c_ctre_phoenix6_SetUpdateFrequencyForAll(Context context, const network_signal_t *signals_list, size_t num_signals, double frequencyHz, double timeoutSeconds);
21 CTREXPORT double c_ctre_phoenix6_GetUpdateFrequency(const char *network, uint32_t deviceHash, uint16_t spn);
22 CTREXPORT int c_ctre_phoenix6_OptimizeUpdateFrequencies(Context context, const char *network, uint32_t deviceHash, double optimizedFreqHz, double timeoutSeconds);
23 CTREXPORT int c_ctre_phoenix6_ResendUpdateFrequencies(Context context, const char *network, uint32_t deviceHash, double timeoutSeconds);
24
25#ifdef __cplusplus
26}
27#endif
enum _Context Context
CTREXPORT int c_ctre_phoenix6_OptimizeUpdateFrequencies(Context context, const char *network, uint32_t deviceHash, double optimizedFreqHz, double timeoutSeconds)
CTREXPORT double c_ctre_phoenix6_GetUpdateFrequency(const char *network, uint32_t deviceHash, uint16_t spn)
CTREXPORT int c_ctre_phoenix6_SetUpdateFrequencyForAll(Context context, const network_signal_t *signals_list, size_t num_signals, double frequencyHz, double timeoutSeconds)
CTREXPORT int c_ctre_phoenix6_SetUpdateFrequency(Context context, const char *network, uint32_t deviceHash, uint16_t spn, double frequencyHz, double timeoutSeconds)
CTREXPORT int c_ctre_phoenix6_ResendUpdateFrequencies(Context context, const char *network, uint32_t deviceHash, double timeoutSeconds)
#define CTREXPORT
Definition: export.h:14
Definition: DataStructs_Interface.h:26