mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
25 lines
588 B
C
25 lines
588 B
C
/* 6LoWPAN MAC header file */
|
|
|
|
#ifndef SIXLOWMAC_H
|
|
#define SIXLOWMAC_H
|
|
|
|
#include <stdio.h>
|
|
#include <stdint.h>
|
|
#include "sixlowip.h"
|
|
#include "radio/radio.h"
|
|
#include <transceiver.h>
|
|
|
|
#define RADIO_STACK_SIZE 2048
|
|
#define RADIO_RCV_BUF_SIZE 64
|
|
#define RADIO_SND_BUF_SIZE 100
|
|
#define RADIO_SENDING_DELAY 1000
|
|
|
|
uint8_t get_radio_address(void);
|
|
|
|
void send_ieee802154_frame(uint8_t *addr, uint8_t *payload, uint8_t length);
|
|
void init_802154_long_addr(uint8_t *addr);
|
|
void sixlowmac_init(transceiver_type_t type);
|
|
void send(void);
|
|
|
|
#endif /* SIXLOWMAC_H*/
|