Wiselib
|
TriSOS Implementation of Radio conceptTriSOS implementation of the Radio concept ... More...
#include <trisos_radio.h>
Public Types | |
enum | ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC } |
enum | SpecialNodeIds { BROADCAST_ADDRESS = 0xffff, NULL_NODE_ID = 0 } |
enum | Restrictions { MAX_MESSAGE_LENGTH = 256 } |
typedef OsModel_P | OsModel |
typedef TriSOSRadio< OsModel > | self_type |
typedef self_type * | self_pointer_t |
typedef uint16_t | node_id_t |
typedef uint8_t | block_data_t |
typedef uint8_t | size_t |
typedef uint8_t | message_id_t |
typedef trisos_radio_delegate_t | radio_delegate_t |
Public Member Functions | |
void | init () |
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) |
TriSOS Implementation of Radio concept
TriSOS implementation of the Radio concept ...
typedef uint8_t wiselib::TriSOSRadio< OsModel_P >::block_data_t |
typedef uint8_t wiselib::TriSOSRadio< OsModel_P >::message_id_t |
typedef uint16_t wiselib::TriSOSRadio< OsModel_P >::node_id_t |
typedef OsModel_P wiselib::TriSOSRadio< OsModel_P >::OsModel |
typedef trisos_radio_delegate_t wiselib::TriSOSRadio< OsModel_P >::radio_delegate_t |
typedef self_type* wiselib::TriSOSRadio< OsModel_P >::self_pointer_t |
typedef TriSOSRadio<OsModel> wiselib::TriSOSRadio< OsModel_P >::self_type |
typedef uint8_t wiselib::TriSOSRadio< OsModel_P >::size_t |
enum wiselib::TriSOSRadio::ErrorCodes |
enum wiselib::TriSOSRadio::Restrictions |
enum wiselib::TriSOSRadio::SpecialNodeIds |
int wiselib::TriSOSRadio< OsModel_P >::disable_radio | ( | void | ) | [inline] |
int wiselib::TriSOSRadio< OsModel_P >::enable_radio | ( | void | ) | [inline] |
node_id_t wiselib::TriSOSRadio< OsModel_P >::id | ( | void | ) | [inline] |
void wiselib::TriSOSRadio< OsModel_P >::init | ( | void | ) | [inline] |
int wiselib::TriSOSRadio< OsModel_P >::reg_recv_callback | ( | T * | obj_pnt | ) |
int wiselib::TriSOSRadio< OsModel_P >::send | ( | node_id_t | id, |
size_t | len, | ||
block_data_t * | data | ||
) |
int wiselib::TriSOSRadio< OsModel_P >::unreg_recv_callback | ( | int | idx | ) | [inline] |