2010-10-05 21:53:00 +02:00
|
|
|
#include <stdio.h>
|
2010-10-05 22:13:04 +02:00
|
|
|
#include "drivers/cc110x/cc1100.h"
|
2010-10-05 21:53:00 +02:00
|
|
|
|
2010-10-05 22:13:04 +02:00
|
|
|
static void output(void){
|
2010-10-05 21:53:00 +02:00
|
|
|
|
|
|
|
// TODO
|
|
|
|
// 1. get dest addr from function param
|
|
|
|
// 2. get pointer to packet buffer
|
|
|
|
// 3. if dest is null send broadcast
|
|
|
|
// 4. hc1 or hc1x header compression
|
|
|
|
// 5. check if ip-packet is to large to fit into a single mac-packet
|
|
|
|
// if no, fragment the packet
|
|
|
|
// frag1 dispatch + header
|
|
|
|
// fragn dispatch
|
|
|
|
// set fragments into queue and send it
|
|
|
|
}
|