Project

General

Profile

Statistics
| Revision:

root / trunk / bootloader / packet.h @ 199

History | View | Annotate | Download (327 Bytes)

1 189 kwoo
#ifndef _PACKET_H_
2
#define _PACKET_H_
3
4 199 kwoo
#include <tooltron.h>
5
#include <avr/eeprom.h>
6 189 kwoo
#include "rs485_poll.h"
7
#include "bootloader.h"
8
9
/** @brief Max time to wait until we exit the packet handler */
10
#define MAX_TIMEOUT 60000
11
12 199 kwoo
char parse_packet(uint8_t *mbuf, uint8_t addr);
13
void send_packet(uint8_t cmd, uint8_t addr);
14 189 kwoo
15
16
#endif