MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include "microstrain/common/serialization.h"
#include "mip_result.h"
Go to the source code of this file.
Namespaces | |
mip | |
A collection of C++ classes and functions covering the full mip api. | |
mip::C | |
Typedefs | |
typedef enum mip_function_selector | mip::C::mip_function_selector |
Enumerations | |
enum | { mip::C::MIP_INVALID_DESCRIPTOR_SET = 0x00, mip::C::MIP_DATA_DESCRIPTOR_SET_START = 0x80, mip::C::MIP_RESERVED_DESCRIPTOR_SET_START = 0xF0, mip::C::MIP_INVALID_FIELD_DESCRIPTOR = 0x00, mip::C::MIP_REPLY_DESCRIPTOR = 0xF1, mip::C::MIP_RESERVED_DESCRIPTOR_START = 0xF0, mip::C::MIP_RESPONSE_DESCRIPTOR_START = 0x80, mip::C::MIP_SHARED_DATA_FIELD_DESCRIPTOR_START = 0xD0 } |
enum | mip::C::mip_function_selector { mip::C::MIP_FUNCTION_WRITE = 0x01, mip::C::MIP_FUNCTION_READ = 0x02, mip::C::MIP_FUNCTION_SAVE = 0x03, mip::C::MIP_FUNCTION_LOAD = 0x04, mip::C::MIP_FUNCTION_RESET = 0x05 } |
Functions | |
bool | mip::C::mip_is_valid_descriptor_set (uint8_t descriptor_set) |
Determines if the descriptor set is valid. More... | |
bool | mip::C::mip_is_data_descriptor_set (uint8_t descriptor_set) |
Determines if the descriptor set represents some kind of data. More... | |
bool | mip::C::mip_is_cmd_descriptor_set (uint8_t descriptor_set) |
Determines if the descriptor set contains commands. More... | |
bool | mip::C::mip_is_reserved_descriptor_set (uint8_t descriptor_set) |
Determines if the descriptor is reserved for special purposes. More... | |
bool | mip::C::mip_is_gnss_data_descriptor_set (uint8_t descriptor_set) |
Determines if the descriptor set represents some kind of GNSS data. More... | |
bool | mip::C::mip_is_valid_field_descriptor (uint8_t field_descriptor) |
Determines if the field descriptor is valid. More... | |
bool | mip::C::mip_is_cmd_field_descriptor (uint8_t field_descriptor) |
Determines if the field descriptor is a command. More... | |
bool | mip::C::mip_is_reply_field_descriptor (uint8_t field_descriptor) |
Determines if the field descriptor is for an ack/nack reply. More... | |
bool | mip::C::mip_is_response_field_descriptor (uint8_t field_descriptor) |
Determines if the field descriptor contains response data from a command. More... | |
bool | mip::C::mip_is_reserved_cmd_field_descriptor (uint8_t field_descriptor) |
Determines if the field descriptor is reserved. More... | |
bool | mip::C::mip_is_shared_data_field_descriptor (uint8_t field_descriptor) |
Determines if the field descriptor is from the shared data set. More... | |
void | mip::C::insert_mip_function_selector (microstrain_serializer *serializer, enum mip_function_selector self) |
void | mip::C::extract_mip_function_selector (microstrain_serializer *serializer, enum mip_function_selector *self) |