CTRE Phoenix 6 C++ 24.3.0
ConfigSerializer.h File Reference
#include "ctre/phoenix/export.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Functions

CTREXPORT int c_ctre_phoenix6_serialize_double (int spn, double value, char **str)
 
CTREXPORT int c_ctre_phoenix6_serialize_double_no_malloc (int spn, double value, char *str, uint32_t max_len)
 
CTREXPORT int c_ctre_phoenix6_serialize_int (int spn, int value, char **str)
 
CTREXPORT int c_ctre_phoenix6_serialize_int_no_malloc (int spn, int value, char *str, uint32_t max_len)
 
CTREXPORT int c_ctre_phoenix6_serialize_bool (int spn, bool value, char **str)
 
CTREXPORT int c_ctre_phoenix6_serialize_bool_no_malloc (int spn, bool value, char *str, uint32_t max_len)
 
CTREXPORT int c_ctre_phoenix6_serialize_pgn (int spn, uint16_t frame_index, uint16_t framePeriodMs, char **str)
 
CTREXPORT int c_ctre_phoenix6_serialize_pgn_no_malloc (int spn, uint16_t frame_index, uint16_t framePeriodMs, char *str, uint32_t max_len)
 
CTREXPORT int c_ctre_phoenix6_deserialize_double (int spn, const char *str, uint32_t strlen, double *val)
 
CTREXPORT int c_ctre_phoenix6_deserialize_int (int spn, const char *str, uint32_t strlen, int *val)
 
CTREXPORT int c_ctre_phoenix6_deserialize_bool (int spn, const char *str, uint32_t strlen, bool *val)
 
CTREXPORT int c_ctre_phoenix6_deserialize_pgn (int spn, const char *str, uint32_t strlen, uint16_t *frame_index, uint16_t *framePeriodMs)
 
CTREXPORT void c_ctre_phoenix6_free_memory (char **str)
 

Function Documentation

◆ c_ctre_phoenix6_deserialize_bool()

CTREXPORT int c_ctre_phoenix6_deserialize_bool ( int  spn,
const char *  str,
uint32_t  strlen,
bool *  val 
)

◆ c_ctre_phoenix6_deserialize_double()

CTREXPORT int c_ctre_phoenix6_deserialize_double ( int  spn,
const char *  str,
uint32_t  strlen,
double *  val 
)

◆ c_ctre_phoenix6_deserialize_int()

CTREXPORT int c_ctre_phoenix6_deserialize_int ( int  spn,
const char *  str,
uint32_t  strlen,
int *  val 
)

◆ c_ctre_phoenix6_deserialize_pgn()

CTREXPORT int c_ctre_phoenix6_deserialize_pgn ( int  spn,
const char *  str,
uint32_t  strlen,
uint16_t *  frame_index,
uint16_t *  framePeriodMs 
)

◆ c_ctre_phoenix6_free_memory()

CTREXPORT void c_ctre_phoenix6_free_memory ( char **  str)

◆ c_ctre_phoenix6_serialize_bool()

CTREXPORT int c_ctre_phoenix6_serialize_bool ( int  spn,
bool  value,
char **  str 
)

◆ c_ctre_phoenix6_serialize_bool_no_malloc()

CTREXPORT int c_ctre_phoenix6_serialize_bool_no_malloc ( int  spn,
bool  value,
char *  str,
uint32_t  max_len 
)

◆ c_ctre_phoenix6_serialize_double()

CTREXPORT int c_ctre_phoenix6_serialize_double ( int  spn,
double  value,
char **  str 
)

◆ c_ctre_phoenix6_serialize_double_no_malloc()

CTREXPORT int c_ctre_phoenix6_serialize_double_no_malloc ( int  spn,
double  value,
char *  str,
uint32_t  max_len 
)

◆ c_ctre_phoenix6_serialize_int()

CTREXPORT int c_ctre_phoenix6_serialize_int ( int  spn,
int  value,
char **  str 
)

◆ c_ctre_phoenix6_serialize_int_no_malloc()

CTREXPORT int c_ctre_phoenix6_serialize_int_no_malloc ( int  spn,
int  value,
char *  str,
uint32_t  max_len 
)

◆ c_ctre_phoenix6_serialize_pgn()

CTREXPORT int c_ctre_phoenix6_serialize_pgn ( int  spn,
uint16_t  frame_index,
uint16_t  framePeriodMs,
char **  str 
)

◆ c_ctre_phoenix6_serialize_pgn_no_malloc()

CTREXPORT int c_ctre_phoenix6_serialize_pgn_no_malloc ( int  spn,
uint16_t  frame_index,
uint16_t  framePeriodMs,
char *  str,
uint32_t  max_len 
)