Wiselib
|
#include <isense_extended_txradio_isensestyle.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 iSenseExtendediSenseStyleTxRadioModel < 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 delegate5< void, node_id_t, size_t, block_data_t *, uint8, uint8 > | extended_radio_delegate_iss_t |
typedef isense_radio_delegate_t | radio_delegate_t |
Public Member Functions | |
iSenseExtendediSenseStyleTxRadioModel (isense::Os &os) | |
int | send (node_id_t id, size_t len, block_data_t *data) |
int | enable_radio () |
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 *, uint8, uint8) 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::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::block_data_t |
typedef delegate5<void, node_id_t, size_t, block_data_t*,uint8,uint8> wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::extended_radio_delegate_iss_t |
typedef delegate3<void, node_id_t, size_t, block_data_t*> wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::isense_radio_delegate_t |
typedef uint8 wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::message_id_t |
typedef uint16 wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::node_id_t |
typedef OsModel_P wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::OsModel |
typedef isense_radio_delegate_t wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::radio_delegate_t |
typedef self_type* wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::self_pointer_t |
typedef iSenseExtendediSenseStyleTxRadioModel<OsModel> wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::self_type |
typedef uint8 wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::size_t |
enum wiselib::iSenseExtendediSenseStyleTxRadioModel::ErrorCodes |
enum wiselib::iSenseExtendediSenseStyleTxRadioModel::Restrictions |
enum wiselib::iSenseExtendediSenseStyleTxRadioModel::SpecialNodeIds |
wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::iSenseExtendediSenseStyleTxRadioModel | ( | isense::Os & | os | ) | [inline] |
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::disable_radio | ( | void | ) | [inline] |
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::enable_radio | ( | void | ) | [inline] |
node_id_t wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::id | ( | void | ) | [inline] |
iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::TxPower wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::power | ( | ) |
virtual void wiselib::iSenseExtendediSenseStyleTxRadioModel< 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::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::reg_recv_callback | ( | T * | obj_pnt | ) | [inline] |
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::reg_recv_callback | ( | T * | obj_pnt | ) | [inline] |
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::send | ( | node_id_t | id, |
size_t | len, | ||
block_data_t * | data | ||
) | [inline] |
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::set_power | ( | TxPower | p | ) |
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::unreg_recv_callback | ( | int | idx | ) | [inline] |