2010-10-06 17:15:05 +02:00
|
|
|
/* 6LoWPAN MAC header file */
|
|
|
|
|
2010-10-17 16:04:03 +02:00
|
|
|
#ifndef SIXLOWMAC_H
|
|
|
|
#define SIXLOWMAC_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdint.h>
|
2010-10-19 23:07:29 +02:00
|
|
|
#include "sixlowip.h"
|
2010-11-30 10:21:29 +01:00
|
|
|
#include "radio/radio.h"
|
|
|
|
|
2010-12-13 11:14:41 +01:00
|
|
|
#define RADIO_STACK_SIZE 2048
|
|
|
|
#define RADIO_RCV_BUF_SIZE 64
|
|
|
|
#define RADIO_SND_BUF_SIZE 100
|
|
|
|
#define RADIO_SENDING_DELAY 1000
|
2010-10-17 16:04:03 +02:00
|
|
|
|
2010-11-22 12:52:56 +01:00
|
|
|
uint16_t get_radio_address(ieee_802154_long_t *lla);
|
2010-10-17 16:04:03 +02:00
|
|
|
|
2010-10-19 23:07:29 +02:00
|
|
|
void send(void);
|
2010-10-17 16:04:03 +02:00
|
|
|
|
2010-10-19 23:07:29 +02:00
|
|
|
#endif /* SIXLOWMAC_H*/
|