Contiki 2.6
|
Disco server sources (embedded part of the DISCOBALL project) More...
#include "contiki.h"
#include "contiki-net.h"
#include "sys/clock.h"
#include "sys/ctimer.h"
#include "dev/watchdog.h"
#include "dev/n740.h"
#include "dev/m25p16.h"
#include "disco.h"
#include "net/uip-debug.h"
Go to the source code of this file.
Variables | |
uint16_t | uip_len |
The length of the packet in the uip_buf buffer. | |
void * | uip_appdata |
Pointer to the application data in the packet buffer. |
Disco server sources (embedded part of the DISCOBALL project)
It objective is to receive a code file over UDP, store it in external flash and disseminate it to other nodes of the 6LoWPAN network.
For this to work, the image must be co-hosted with the BooTTY! bootloader, which will move the image from external to internal flash.
To link this application in your contiki image, all you need to do is to add this line: OFFSET_FIRMWARE=1 to your project's makefile
Definition in file disco.c.