Wiselib
Public Types | Public Member Functions
wiselib::FeuerwhereRadioModel< OsModel_P > Class Template Reference

Feuerwhere Implementation of Radio conceptFeuerwhere implementation of the Radio concept ... More...

#include <feuerwhere_cc1100_radio.h>

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC, ERR_NOTIMPL = OsModel::ERR_NOTIMPL }
enum  SpecialNodeIds { BROADCAST_ADDRESS = 0x00, NULL_NODE_ID = -1 }
 BROADCAST_ADDRESS = CC1100_BROADCAST_ADDRESS, ///< All nodes in communication range. More...
enum  Restrictions { MAX_MESSAGE_LENGTH = 57 }
typedef OsModel_P OsModel
typedef FeuerwhereRadioModel
< OsModel
self_type
typedef self_typeself_pointer_t
typedef uint8_t node_id_t
typedef char block_data_t
typedef uint8_t size_t
typedef uint8_t message_id_t

Public Member Functions

int send (node_id_t id, size_t len, block_data_t *data)
int enable_radio ()
int disable_radio ()
node_id_t id ()
template<class T , void(T::*)(node_id_t, size_t, block_data_t *) TMethod>
int reg_recv_callback (T *obj_pnt)
int unreg_recv_callback (int idx)

Detailed Description

template<typename OsModel_P>
class wiselib::FeuerwhereRadioModel< OsModel_P >

Feuerwhere Implementation of Radio concept

Feuerwhere implementation of the Radio concept ...


Member Typedef Documentation

template<typename OsModel_P >
typedef char wiselib::FeuerwhereRadioModel< OsModel_P >::block_data_t
template<typename OsModel_P >
typedef uint8_t wiselib::FeuerwhereRadioModel< OsModel_P >::message_id_t
template<typename OsModel_P >
typedef uint8_t wiselib::FeuerwhereRadioModel< OsModel_P >::node_id_t
template<typename OsModel_P >
typedef OsModel_P wiselib::FeuerwhereRadioModel< OsModel_P >::OsModel
template<typename OsModel_P >
typedef self_type* wiselib::FeuerwhereRadioModel< OsModel_P >::self_pointer_t
template<typename OsModel_P >
typedef FeuerwhereRadioModel<OsModel> wiselib::FeuerwhereRadioModel< OsModel_P >::self_type
template<typename OsModel_P >
typedef uint8_t wiselib::FeuerwhereRadioModel< OsModel_P >::size_t

Member Enumeration Documentation

template<typename OsModel_P >
enum wiselib::FeuerwhereRadioModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 
ERR_NOTIMPL 
template<typename OsModel_P >
enum wiselib::FeuerwhereRadioModel::Restrictions
Enumerator:
MAX_MESSAGE_LENGTH 

Maximal number of bytes in payload.

template<typename OsModel_P >
enum wiselib::FeuerwhereRadioModel::SpecialNodeIds

BROADCAST_ADDRESS = CC1100_BROADCAST_ADDRESS, ///< All nodes in communication range.

Enumerator:
BROADCAST_ADDRESS 

All nodes in communication range.

NULL_NODE_ID 

Unknown/No node id.


Member Function Documentation

template<typename OsModel_P >
int wiselib::FeuerwhereRadioModel< OsModel_P >::disable_radio ( void  ) [inline]
template<typename OsModel_P >
int wiselib::FeuerwhereRadioModel< OsModel_P >::enable_radio ( void  ) [inline]
template<typename OsModel_P >
node_id_t wiselib::FeuerwhereRadioModel< OsModel_P >::id ( void  ) [inline]
template<typename OsModel_P >
template<class T , void(T::*)(typename FeuerwhereRadioModel< OsModel_P >::node_id_t, typename FeuerwhereRadioModel< OsModel_P >::size_t, typename FeuerwhereRadioModel< OsModel_P >::block_data_t *) TMethod>
int wiselib::FeuerwhereRadioModel< OsModel_P >::reg_recv_callback ( T *  obj_pnt)
template<typename OsModel_P >
int wiselib::FeuerwhereRadioModel< OsModel_P >::send ( node_id_t  id,
size_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P >
int wiselib::FeuerwhereRadioModel< OsModel_P >::unreg_recv_callback ( int  idx) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines