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

19 lines
426 B
C

#ifndef __PROTOCOL_MSG_GATEWAY_H
#define __PROTOCOL_MSG_GATEWAY_H
#define PACKET_BUFFER_SIZE 32
#define MAXIMUM_PAYLOAD_SIZE 64
typedef struct {
packet_info_t packet_info;
unsigned int msg_size;
char payload[MAXIMUM_PAYLOAD_SIZE];
} packet_t;
void init_protocol_msg_gateway();
int set_protocol_handler_thread(int pid);
extern packet_t packet_buffer[PACKET_BUFFER_SIZE];
#endif /* __PROTOCOL_MSG_GATEWAY_H */