Main Page | Modules | Data Structures | File List | Data Fields | Globals | Examples

tr1001.c File Reference


Detailed Description

Device driver and packet framing for the RFM-TR1001 radio module.

Author:
Adam Dunkels <adam@sics.se>
This file implements a device driver for the RFM-TR1001 radio tranciever.

#include "contiki.h"
#include "tr1001.h"
#include "uip.h"
#include "uip-fw.h"
#include "hc.h"
#include "me.h"
#include "tr1001-test.h"
#include "random.h"
#include "clock.h"
#include "leds.h"
#include "pt.h"
#include "beep.h"
#include "crc16.h"
#include "tr1001-drv.h"
#include "lpm.h"
#include "sensors.h"
#include "radio.h"
#include <io.h>
#include <signal.h>
#include <string.h>
#include <stdio.h>

Functions

void tr1001_off (void)
 Turn TR1001 radio transceiver off.

void tr1001_on (void)
 Turn TR1001 radio transceiver on.

void tr1001_set_txpower (unsigned char p)
 Set the transmission power of the tranciever.

void tr1001_init (void)
 Initialize the radio tranciever.

u8_t tr1001_send (u8_t *packet, u16_t len)
 Send a packet from the uip_buf buffer.

unsigned short tr1001_poll (void)
 Check if an incoming packet has been received.

void tr1001_set_speed (unsigned char speed)
 Set the speed of the TR1001 radio device.

unsigned short tr1001_sstrength (void)
 Calculate the signal strength of a received packet.


Generated on Wed Jul 6 01:19:03 2005 for Contiki/ESB by doxygen 1.3.6