Changed filename of the CC2420 driver from simple-cc2420 to cc2420.
This commit is contained in:
parent
2569a8fc69
commit
1586d8f36f
16 changed files with 86 additions and 235 deletions
|
@ -26,14 +26,14 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: radio-test.c,v 1.2 2008/01/10 13:40:20 nifi Exp $
|
||||
* $Id: radio-test.c,v 1.3 2008/07/01 21:02:51 adamdunkels Exp $
|
||||
*
|
||||
* -----------------------------------------------------------------
|
||||
*
|
||||
* Author : Adam Dunkels, Joakim Eriksson, Niclas Finne
|
||||
* Created : 2006-03-07
|
||||
* Updated : $Date: 2008/01/10 13:40:20 $
|
||||
* $Revision: 1.2 $
|
||||
* Updated : $Date: 2008/07/01 21:02:51 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* Simple application to indicate connectivity between two nodes:
|
||||
*
|
||||
|
@ -48,7 +48,7 @@
|
|||
#include "net/rime.h"
|
||||
#include "dev/leds.h"
|
||||
#include "dev/button-sensor.h"
|
||||
#include "dev/simple-cc2420.h"
|
||||
#include "dev/cc2420.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: sky-collect.c,v 1.4 2008/02/24 22:27:41 adamdunkels Exp $
|
||||
* $Id: sky-collect.c,v 1.5 2008/07/01 21:02:51 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -46,9 +46,8 @@
|
|||
#include "dev/button-sensor.h"
|
||||
|
||||
#include "dev/light.h"
|
||||
#include "dev/cc2420.h"
|
||||
#include "dev/sht11.h"
|
||||
#include "dev/simple-cc2420.h"
|
||||
#include "sys/timesynch.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "contiki-net.h"
|
||||
|
@ -138,9 +137,7 @@ do_rssi(void)
|
|||
simple_cc2420_on();
|
||||
for(channel = 11; channel <= 26; ++channel) {
|
||||
simple_cc2420_set_channel(channel);
|
||||
// simple_cc2420_on();
|
||||
rssi_samples[sample].channel[channel - 11] = simple_cc2420_rssi() + 53;
|
||||
// simple_cc2420_off();
|
||||
}
|
||||
|
||||
rime_mac->on();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue