Something went wrong on our end
packet_processing.h 665 B
/*
* process_packet.h
*
* Created on: Mar 2, 2016
* Author: ucart
*/
#ifndef PROCESS_PACKET_H_
#define PROCESS_PACKET_H_
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "type_def.h"
tokenList_t tokenize(char* cmd);
int processUpdate(unsigned char* update, quadPosition_t* currentQuadPosition);
//int processCommand(stringBuilder_t * sb, setpoint_t * setpoint_struct, parameter_t * parameter_struct);
int doProcessing(char* cmd, tokenList_t * tokens, setpoint_t * setpoint_struct, parameter_t * parameter_struct);
float getFloat(unsigned char* str, int pos);
int getInt(unsigned char* str, int pos);
#endif /* PROCESS_PACKET_H_ */