/*
 * riadenie.h
 *
 *  Created on: 13.4.2010
 *      Author: hudo
 */

#ifndef RIADENIE_H_
#define RIADENIE_H_

#include "psock.h"
#include "FreeRTOS.h"
#include "queue.h"

typedef struct  //Struktura prikazov
{
	char const *meno;
	void (*funkcia)(char* parametre);
}init_PRIKAZ2;

typedef struct  //Struktura Casovac
{
	char ms100;
	char opakovanie;
	void (*funkcia)(char* parametre);
}CASOVAC;

xQueueHandle casovacQueue;
#define casovacNumQueue 3
#define casovacSizeQueue sizeof(CASOVAC);

void vStartControlTask(unsigned char priority);
void vTaskControl();
void command_parser(char *buffer);
#endif /* RIADENIE_H_ */
