MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Macros | Functions
common.c File Reference
#include "common.h"
#include "microstrain/common/serialization.h"

Macros

#define IMPLEMENT_MIP_VECTOR_FUNCTIONS(n, type, name)
 

Functions

void insert_mip_descriptor_rate (microstrain_serializer *serializer, const mip_descriptor_rate *self)
 
void extract_mip_descriptor_rate (microstrain_serializer *serializer, mip_descriptor_rate *self)
 

Macro Definition Documentation

◆ IMPLEMENT_MIP_VECTOR_FUNCTIONS

#define IMPLEMENT_MIP_VECTOR_FUNCTIONS (   n,
  type,
  name 
)
Value:
void insert_##name(microstrain_serializer* serializer, const name self) \
{ \
for(unsigned int i=0; i<n; i++) \
microstrain_insert_##type(serializer, self[i]); \
} \
void extract_##name(microstrain_serializer* serializer, name self) \
{ \
for(unsigned int i=0; i<n; i++) \
microstrain_extract_##type(serializer, &self[i]); \
}

Function Documentation

◆ extract_mip_descriptor_rate()

void extract_mip_descriptor_rate ( microstrain_serializer *  serializer,
mip_descriptor_rate *  self 
)

◆ insert_mip_descriptor_rate()

void insert_mip_descriptor_rate ( microstrain_serializer *  serializer,
const mip_descriptor_rate *  self 
)
microstrain::C::microstrain_serializer
struct microstrain::C::microstrain_serializer microstrain_serializer
Structure used for serialization.