Renamed nullrdc to nullrdc-noframer and nullrdc-framer to nullrdc.
nullrdc (previously nullrdc-framer) is now a RDC implementation that does not do any radio duty cycling but supports link layer addresses and frame format via framer (for example 802.15.4). nullrdc can now be used in the same way as contikimac, xmac, etc. nullrdc-noframer (previously nullrdc) is a null RDC implementation that does not do any radio duty cycling, does not add any header of its own to the packets, and does not support link layer addresses.
This commit is contained in:
parent
0739d3b8e7
commit
3bd78893e5
8 changed files with 276 additions and 275 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2007, Swedish Institute of Computer Science.
|
||||
* Copyright (c) 2010, Swedish Institute of Computer Science.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -28,21 +28,21 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: nullrdc.h,v 1.2 2010/02/23 20:09:11 nifi Exp $
|
||||
* $Id: nullrdc.h,v 1.3 2010/11/23 18:11:00 nifi Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file
|
||||
* A MAC protocol implementation that does not do anything.
|
||||
* A null RDC implementation that uses framer for headers.
|
||||
* \author
|
||||
* Adam Dunkels <adam@sics.se>
|
||||
* Niclas Finne <nfi@sics.se>
|
||||
*/
|
||||
|
||||
#ifndef __NULLRDC_H__
|
||||
#define __NULLRDC_H__
|
||||
|
||||
#include "net/mac/rdc.h"
|
||||
#include "dev/radio.h"
|
||||
|
||||
extern const struct rdc_driver nullrdc_driver;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue