#include <secure_radio.h>
Inherits wiselib::RadioBase< OsModel_P, Radio_P::node_id_t, Radio_P::size_t, Radio_P::block_data_t >.
List of all members.
Public Types |
enum | ReturnValues { SUCCESS = OsModel::SUCCESS
} |
enum | SpecialNodeIds { BROADCAST_ADDRESS = Radio::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio::NULL_NODE_ID
} |
enum | Restrictions { MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH
} |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Cipher_P | cipher_t |
typedef SecureRadio< OsModel,
Radio, cipher_t > | self_type |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef Radio::message_id_t | message_id_t |
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > | radio_delegate_t |
typedef vector_static< OsModel,
radio_delegate_t,
RADIO_BASE_MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions |
int | init (Radio &radio, cipher_t &cipher) |
void | enable_radio () |
void | disable_radio () |
node_id_t | id () |
void | send (node_id_t receiver, size_t size, block_data_t *data) |
void | receive (node_id_t from, size_t size, block_data_t *data) |
int | reg_recv_callback (T *obj_pnt) |
int | unreg_recv_callback (int idx) |
void | notify_receivers (node_id_t from, size_t len, block_data_t *data) |
template<typename OsModel_P, typename Radio_P, typename Cipher_P>
class wiselib::SecureRadio< OsModel_P, Radio_P, Cipher_P >
Member Typedef Documentation
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
Member Enumeration Documentation
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
- Enumerator:
BROADCAST_ADDRESS |
|
NULL_NODE_ID |
|
Member Function Documentation
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
template<typename OsModel_P , typename Radio_P , typename Cipher_P >
The documentation for this class was generated from the following file: