Sec routing.
More...
#include <sec_routing.h>
Inherits wiselib::RoutingBase< OsModel_P, Radio_P >.
List of all members.
Public Types |
enum | SpecialNodeIds { BROADCAST_ADDRESS = Radio_P::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio_P::NULL_NODE_ID
} |
enum | Restrictions { MAX_MESSAGE_LENGTH = Radio_P::MAX_MESSAGE_LENGTH
} |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef crypto_P | crypto_t |
typedef Routing_P | routing_t |
typedef SecRouting< OsModel,
Radio_P, crypto_P, Routing_P > | 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 uint8_t | message_id_t |
enum | ReturnValues |
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > | radio_delegate_t |
typedef vector_static< OsModel,
radio_delegate_t,
MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions |
int | init (routing_t &routing, crypto_t &crypto) |
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) |
|
| SecRouting () |
| ~SecRouting () |
|
void | enable_radio (void) |
void | disable_radio (void) |
void | send (node_id_t receiver, size_t len, block_data_t *data) |
void | receive (node_id_t from, size_t len, block_data_t *data) |
Radio::node_id_t | id () |
Detailed Description
template<typename OsModel_P, typename Radio_P, typename crypto_P, typename Routing_P>
class wiselib::SecRouting< OsModel_P, Radio_P, crypto_P, Routing_P >
Sec routing.
Member Typedef Documentation
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
Member Enumeration Documentation
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
- Enumerator:
MAX_MESSAGE_LENGTH |
Maximal number of bytes in payload.
|
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
- Enumerator:
BROADCAST_ADDRESS |
All nodes in communication range.
|
NULL_NODE_ID |
Unknown/No node id.
|
Constructor & Destructor Documentation
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
Member Function Documentation
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
void wiselib::SecRouting< OsModel_P, Radio_P, crypto_P, Routing_P >::enable_radio |
( |
void |
| ) |
[inline] |
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
template<typename OsModel_P , typename Radio_P , typename crypto_P , typename Routing_P >
The documentation for this class was generated from the following file: