Wiselib
|
Feuerwhere Implementation of Radio conceptFeuerwhere implementation of the Radio concept ... More...
#include <feuerwhere_cc1100_radio.h>
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_type * | self_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) |
Feuerwhere Implementation of Radio concept
Feuerwhere implementation of the Radio concept ...
typedef char wiselib::FeuerwhereRadioModel< OsModel_P >::block_data_t |
typedef uint8_t wiselib::FeuerwhereRadioModel< OsModel_P >::message_id_t |
typedef uint8_t wiselib::FeuerwhereRadioModel< OsModel_P >::node_id_t |
typedef OsModel_P wiselib::FeuerwhereRadioModel< OsModel_P >::OsModel |
typedef self_type* wiselib::FeuerwhereRadioModel< OsModel_P >::self_pointer_t |
typedef FeuerwhereRadioModel<OsModel> wiselib::FeuerwhereRadioModel< OsModel_P >::self_type |
typedef uint8_t wiselib::FeuerwhereRadioModel< OsModel_P >::size_t |
enum wiselib::FeuerwhereRadioModel::ErrorCodes |
enum wiselib::FeuerwhereRadioModel::Restrictions |
enum wiselib::FeuerwhereRadioModel::SpecialNodeIds |
int wiselib::FeuerwhereRadioModel< OsModel_P >::disable_radio | ( | void | ) | [inline] |
int wiselib::FeuerwhereRadioModel< OsModel_P >::enable_radio | ( | void | ) | [inline] |
node_id_t wiselib::FeuerwhereRadioModel< OsModel_P >::id | ( | void | ) | [inline] |
int wiselib::FeuerwhereRadioModel< OsModel_P >::reg_recv_callback | ( | T * | obj_pnt | ) |
int wiselib::FeuerwhereRadioModel< OsModel_P >::send | ( | node_id_t | id, |
size_t | len, | ||
block_data_t * | data | ||
) | [inline] |
int wiselib::FeuerwhereRadioModel< OsModel_P >::unreg_recv_callback | ( | int | idx | ) | [inline] |