Contiki 2.5
Functions | Variables
tr1001-gcr.c File Reference

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

#include "contiki.h"
#include "contiki-esb.h"
#include "dev/tr1001.h"
#include "dev/radio-sensor.h"
#include "lib/gcr.h"
#include "lib/crc16.h"
#include "net/netstack.h"
#include "net/rime/rimestats.h"
#include <string.h>
#include "dev/beep.h"

Go to the source code of this file.

Functions

void tr1001_set_txpower (unsigned char p)
 Set the transmission power of the transceiver. More...
 
int tr1001_init (void)
 Initialize the radio transceiver. More...
 
int tr1001_send (const void *packet, unsigned short len)
 Send a packet. More...
 
int tr1001_read (void *buf, unsigned short bufsize)
 Check if an incoming packet has been received. More...
 
void tr1001_set_speed (unsigned char speed)
 Set the speed of the TR1001 radio device. More...
 
unsigned short tr1001_sstrength (void)
 Calculate the signal strength of a received packet. More...
 

Variables

struct radio_driver tr1001_driver
 Radio driver for TR1001.
 

Detailed Description

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

Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

This file implements a device driver for the RFM-TR1001 radio tranciever.

Definition in file tr1001-gcr.c.