Wiselib
Enumerations | Functions
wiselib.stable/external_interface/tinyos/tinyos_wiselib_glue.h File Reference
#include <stdint.h>

Go to the source code of this file.

Enumerations

enum  TinyOsRadioErrorCodes { TINYOS_RADIO_SUCCESS = 0, TINYOS_RADIO_BUSY = 1, TINYOS_RADIO_PACKET_TOO_LARGE = 2, TINYOS_RADIO_ERR_UNSPEC = 3 }

Functions

void tinyos_external_receive (uint16_t from, uint8_t len, uint8_t *data, uint8_t lqi)
void tinyos_timer_fired (int idx)
void tinyos_glue_uart_rcv_byte (uint8_t data)
void tinyos_glue_debug (char *msg)
int tinyos_get_free_timer ()
void tinyos_register_timer (int idx, uint32_t millis)
void tinyos_init_radio_module ()
uint16_t tinyos_get_nodeid ()
int tinyos_send_message (uint16_t id, uint8_t len, const uint8_t *data)
uint32_t tinyos_get_time ()
int tinyos_glue_uart_write (uint8_t len, uint8_t *buf)

Enumeration Type Documentation

Enumerator:
TINYOS_RADIO_SUCCESS 
TINYOS_RADIO_BUSY 
TINYOS_RADIO_PACKET_TOO_LARGE 
TINYOS_RADIO_ERR_UNSPEC 

Function Documentation

void tinyos_external_receive ( uint16_t  from,
uint8_t  len,
uint8_t *  data,
uint8_t  lqi 
)
int tinyos_get_free_timer ( )
uint16_t tinyos_get_nodeid ( )
uint32_t tinyos_get_time ( )
void tinyos_glue_debug ( char *  msg)
void tinyos_glue_uart_rcv_byte ( uint8_t  data)
int tinyos_glue_uart_write ( uint8_t  len,
uint8_t *  buf 
)
void tinyos_init_radio_module ( )
void tinyos_register_timer ( int  idx,
uint32_t  millis 
)
int tinyos_send_message ( uint16_t  id,
uint8_t  len,
const uint8_t *  data 
)
void tinyos_timer_fired ( int  idx)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines