Page MenuHomec4science

command.h
No OneTemporary

File Metadata

Created
Wed, Oct 2, 05:40

command.h

/*
command.h
Copyright (C) 2011 Rico Moeckel <rico.moeckel at epfl dot ch>,
Michiel D'Haene <michiel.dhaene at gmail dot com>,
EPFL Biorobotics Laboratory (http://biorob.epfl.ch)
EPFL Ecole Polytechnique Federale de Lausanne (http://www.epfl.ch)
CSL Reservoir Lab ()
Ghent University (http://www.ugent.be)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/** \addtogroup command */
/*@{*/
/** \file command.h
\brief Command handling.
This file contains the declarations of all command functions - functions that can
be automatically called by the SBCP protocol. These functions must be according to
the typedef tSbcpCmdFunc in file sbcp.h.
\author Rico Moeckel, Michiel D'Haene
\version 1.0
\date 2011-04-14
*/
#ifndef __COMMAND_H__
#define __COMMAND_H__
#include "misc.h"
/*************************************************************************
*
* PUBLIC FUNCTIONS
*
*************************************************************************/
//void init_message_frame(void);
//void sbcp_bus_send_empty_response_message(unsigned char error_code);
//unsigned int sbcp_bus_update_frame_for_standard_response_message(unsigned char payload_length);
void command_firmware(const unsigned int *buffer);
void command_help(const unsigned int *buffer);
void command_set_protection(const unsigned int *buffer);
void command_calibrate(const unsigned int *buffer);
void command_set_parameters(const unsigned int *buffer);
void command_get_parameters(const unsigned int *buffer);
uint8 check_for_action(unsigned char address);
#endif /* __COMMAND_H__ */
/*@}*/

Event Timeline