1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/projects/WEAtHeR/weather_routing.h
Oliver Hahm 364905f0d6 [projects WEAtHeR]
* updated project by adding routing functionality
2011-04-04 20:33:18 +02:00

18 lines
322 B
C

#ifndef WEATHER_ROUTING_H
#define WEATHER_ROUTING_H
#include <time.h>
#define FLOODING_PROB (100)
#define MAX_SOURCES (10)
#define MAX_INTERVAL (5 * 60)
typedef struct {
uint8_t id;
time_t timestamp;
} source_timestamp_t;
void route_packet(void* msg, int msg_size);
#endif /* WEATHER_ROUTING_H */