Wiselib
|
#include <isense_extended_txradio.h>
Classes | |
class | ExtendedData |
class | TxPower |
iSense Implementation of TxPower ConceptiSense implementation of the TxPower Concept ... More... | |
Public Types | |
enum | ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC, ERR_NOTIMPL = OsModel::ERR_NOTIMPL } |
enum | { MAX_INTERNAL_RECEIVERS = 10 } |
enum | { MAX_EXTENDED_RECEIVERS = MAX_INTERNAL_RECEIVERS } |
enum | SpecialNodeIds { BROADCAST_ADDRESS = 0xffff, NULL_NODE_ID = 0 } |
enum | Restrictions { MAX_MESSAGE_LENGTH = 116 } |
typedef OsModel_P | OsModel |
typedef iSenseExtendedTxRadioModel < OsModel > | self_type |
typedef self_type * | self_pointer_t |
typedef uint16 | node_id_t |
typedef uint8 | block_data_t |
typedef uint8 | size_t |
typedef uint8 | message_id_t |
typedef delegate3< void, node_id_t, size_t, block_data_t * > | isense_radio_delegate_t |
typedef delegate4< void, node_id_t, size_t, block_data_t *, const ExtendedData & > | extended_radio_delegate_t |
typedef isense_radio_delegate_t | radio_delegate_t |
Public Member Functions | |
iSenseExtendedTxRadioModel (isense::Os &os) | |
int | send (node_id_t id, size_t len, block_data_t *data) |
int | enable_radio () |
int | set_channel (int channel) |
int | disable_radio () |
node_id_t | id () |
int | set_power (TxPower p) |
TxPower | power () |
template<class T , void(T::*)(node_id_t, size_t, block_data_t *) TMethod> | |
int | reg_recv_callback (T *obj_pnt) |
template<class T , void(T::*)(node_id_t, size_t, block_data_t *, const ExtendedData &) TMethod> | |
int | reg_recv_callback (T *obj_pnt) |
int | unreg_recv_callback (int idx) |
virtual void | receive (uint8 len, const uint8 *buf, uint16 src_addr, uint16 dest_addr, uint16 lqi, uint8 seq_no, uint8 interface) |
typedef uint8 wiselib::iSenseExtendedTxRadioModel< OsModel_P >::block_data_t |
typedef delegate4<void, node_id_t, size_t, block_data_t*, const ExtendedData&> wiselib::iSenseExtendedTxRadioModel< OsModel_P >::extended_radio_delegate_t |
typedef delegate3<void, node_id_t, size_t, block_data_t*> wiselib::iSenseExtendedTxRadioModel< OsModel_P >::isense_radio_delegate_t |
typedef uint8 wiselib::iSenseExtendedTxRadioModel< OsModel_P >::message_id_t |
typedef uint16 wiselib::iSenseExtendedTxRadioModel< OsModel_P >::node_id_t |
typedef OsModel_P wiselib::iSenseExtendedTxRadioModel< OsModel_P >::OsModel |
typedef isense_radio_delegate_t wiselib::iSenseExtendedTxRadioModel< OsModel_P >::radio_delegate_t |
typedef self_type* wiselib::iSenseExtendedTxRadioModel< OsModel_P >::self_pointer_t |
typedef iSenseExtendedTxRadioModel<OsModel> wiselib::iSenseExtendedTxRadioModel< OsModel_P >::self_type |
typedef uint8 wiselib::iSenseExtendedTxRadioModel< OsModel_P >::size_t |
enum wiselib::iSenseExtendedTxRadioModel::ErrorCodes |
enum wiselib::iSenseExtendedTxRadioModel::Restrictions |
enum wiselib::iSenseExtendedTxRadioModel::SpecialNodeIds |
wiselib::iSenseExtendedTxRadioModel< OsModel_P >::iSenseExtendedTxRadioModel | ( | isense::Os & | os | ) | [inline] |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::disable_radio | ( | void | ) | [inline] |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::enable_radio | ( | void | ) | [inline] |
node_id_t wiselib::iSenseExtendedTxRadioModel< OsModel_P >::id | ( | void | ) | [inline] |
iSenseExtendedTxRadioModel< OsModel_P >::TxPower wiselib::iSenseExtendedTxRadioModel< OsModel_P >::power | ( | ) |
virtual void wiselib::iSenseExtendedTxRadioModel< OsModel_P >::receive | ( | uint8 | len, |
const uint8 * | buf, | ||
uint16 | src_addr, | ||
uint16 | dest_addr, | ||
uint16 | lqi, | ||
uint8 | seq_no, | ||
uint8 | interface | ||
) | [inline, virtual] |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::reg_recv_callback | ( | T * | obj_pnt | ) | [inline] |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::reg_recv_callback | ( | T * | obj_pnt | ) | [inline] |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::send | ( | node_id_t | id, |
size_t | len, | ||
block_data_t * | data | ||
) | [inline] |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::set_channel | ( | int | channel | ) | [inline] |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::set_power | ( | TxPower | p | ) |
int wiselib::iSenseExtendedTxRadioModel< OsModel_P >::unreg_recv_callback | ( | int | idx | ) | [inline] |