2011-01-07 13:02:27 +01:00
|
|
|
#ifndef SIXLOWPAN_H
|
|
|
|
#define SIXLOWPAN_H
|
|
|
|
|
|
|
|
/* fragment size in bytes*/
|
|
|
|
#define FRAG_PART_ONE_HDR_LEN 4
|
|
|
|
#define FRAG_PART_N_HDR_LEN 5
|
|
|
|
|
|
|
|
#define DISPATCH_IPV6 0x41
|
2010-10-06 17:15:05 +02:00
|
|
|
|
2010-12-13 11:14:41 +01:00
|
|
|
#include "transceiver.h"
|
2010-10-06 17:15:05 +02:00
|
|
|
|
2010-12-13 11:14:41 +01:00
|
|
|
void sixlowpan_init(transceiver_type_t trans);
|
2010-10-06 17:55:31 +02:00
|
|
|
|
2011-01-07 13:02:27 +01:00
|
|
|
void output(uint8_t *addr, uint8_t *data);
|
|
|
|
void input(uint8_t *data, uint8_t length);
|
|
|
|
|
2010-12-13 11:14:41 +01:00
|
|
|
#endif
|