#include <Protocol.h>
Public Member Functions | |
std::vector< int8_t > | createPacketMSP (int msp, std::vector< int8_t >payload) |
void | evaluateCommand (int command) |
int | read16 () |
int | read32 () |
int | read8 () |
void | sendMulRequestMSP (std::vector< int8_t > data, int i) |
void | sendMulRequestMSP_GET_DEBUG (std::vector< int > requests, int index) |
void | sendMulRequestMSP_SET_RAW_RC (int channels[]) |
void | sendRequestMSP (std::vector< int8_t > data) |
void | sendRequestMSP_GET_DEBUG (std::vector< int > requests) |
void | sendRequestMSP_SET_POS (int posArray[]) |
void | sendRequestMSP_SET_RAW_RC (int channels[]) |
Definition at line 87 of file Protocol.h.
std::vector< int8_t > Protocol::createPacketMSP | ( | int | msp, |
std::vector< int8_t > | payload | ||
) |
Definition at line 167 of file Protocol.cpp.
void Protocol::evaluateCommand | ( | int | command | ) |
Definition at line 84 of file Protocol.cpp.
int Protocol::read16 | ( | ) |
Definition at line 70 of file Protocol.cpp.
int Protocol::read32 | ( | ) |
Definition at line 78 of file Protocol.cpp.
int Protocol::read8 | ( | ) |
Definition at line 65 of file Protocol.cpp.
void Protocol::sendMulRequestMSP | ( | std::vector< int8_t > | data, |
int | i | ||
) |
Definition at line 162 of file Protocol.cpp.
void Protocol::sendMulRequestMSP_GET_DEBUG | ( | std::vector< int > | requests, |
int | index | ||
) |
Definition at line 255 of file Protocol.cpp.
void Protocol::sendMulRequestMSP_SET_RAW_RC | ( | int | channels[] | ) |
Definition at line 213 of file Protocol.cpp.
void Protocol::sendRequestMSP | ( | std::vector< int8_t > | data | ) |
Definition at line 157 of file Protocol.cpp.
void Protocol::sendRequestMSP_GET_DEBUG | ( | std::vector< int > | requests | ) |
Definition at line 246 of file Protocol.cpp.
void Protocol::sendRequestMSP_SET_POS | ( | int | posArray[] | ) |
Definition at line 230 of file Protocol.cpp.
void Protocol::sendRequestMSP_SET_RAW_RC | ( | int | channels[] | ) |
Definition at line 197 of file Protocol.cpp.