Contiki 3.x
Functions
mrf24j40.h File Reference

MRF24J40 Driver. More...

#include <pic32_irq.h>
#include <pic32_spi.h>

Go to the source code of this file.

Functions

void mrf24j40_set_channel (uint16_t ch)
 Set the channel. More...
 
void mrf24j40_set_panid (uint16_t id)
 Store MAC PAN ID. More...
 
void mrf24j40_set_short_mac_addr (uint16_t addr)
 Store short MAC address. More...
 
void mrf24j40_set_extended_mac_addr (uint64_t addr)
 Store extended MAC address. More...
 
void mrf24j40_get_short_mac_addr (uint16_t *addr)
 Get short MAC address. More...
 
void mrf24j40_get_extended_mac_addr (uint64_t *addr)
 Gets extended MAC address. More...
 
void mrf24j40_set_tx_power (uint8_t pwr)
 Set TX power. More...
 
uint8_t mrf24j40_get_status (void)
 Get radio status. More...
 
uint8_t mrf24j40_get_rssi (void)
 Get the RSSI. More...
 
uint8_t mrf24j40_get_last_rssi (void)
 Get the last read RSSI. More...
 
uint8_t mrf24j40_get_last_lqi (void)
 Get the last read LQI. More...
 
int32_t mrf24j40_set_txfifo (const uint8_t *buf, uint8_t buf_len)
 Store message. More...
 
int32_t mrf24j40_get_rxfifo (uint8_t *buf, uint8_t buf_len)
 Get message. More...
 

Detailed Description

MRF24J40 Driver.

Author
Giovanni Pellerano giova.nosp@m.nni..nosp@m.pelle.nosp@m.rano.nosp@m.@evil.nosp@m.aliv.nosp@m.3.org
Date
2012-03-21

Definition in file mrf24j40.h.