Wiselib
|
Moca join decision module. More...
#include <moca_jd.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef OsModel::Radio | Radio |
typedef OsModel::Debug | Debug |
typedef Radio::node_id_t | node_id_t |
typedef Radio::block_data_t | block_data_t |
typedef node_id_t | cluster_id_t |
Public Member Functions | |
MocaJoinDecision () | |
~MocaJoinDecision () | |
void | init (Radio &radio, Debug &debug) |
void | set_id (node_id_t id) |
void | set_maxhops (int maxhops) |
void | get_join_request_payload (block_data_t *mess) |
size_t | get_payload_length (int type) |
bool | join (uint8_t *payload, uint8_t length) |
void | enable () |
void | disable () |
Moca join decision module.
typedef Radio::block_data_t wiselib::MocaJoinDecision< OsModel_P >::block_data_t |
typedef node_id_t wiselib::MocaJoinDecision< OsModel_P >::cluster_id_t |
typedef OsModel::Debug wiselib::MocaJoinDecision< OsModel_P >::Debug |
typedef Radio::node_id_t wiselib::MocaJoinDecision< OsModel_P >::node_id_t |
typedef OsModel_P wiselib::MocaJoinDecision< OsModel_P >::OsModel |
typedef OsModel::Radio wiselib::MocaJoinDecision< OsModel_P >::Radio |
wiselib::MocaJoinDecision< OsModel_P >::MocaJoinDecision | ( | ) | [inline] |
wiselib::MocaJoinDecision< OsModel_P >::~MocaJoinDecision | ( | ) | [inline] |
void wiselib::MocaJoinDecision< OsModel_P >::disable | ( | void | ) | [inline] |
void wiselib::MocaJoinDecision< OsModel_P >::enable | ( | void | ) | [inline] |
void wiselib::MocaJoinDecision< OsModel_P >::get_join_request_payload | ( | block_data_t * | mess | ) | [inline] |
size_t wiselib::MocaJoinDecision< OsModel_P >::get_payload_length | ( | int | type | ) | [inline] |
void wiselib::MocaJoinDecision< OsModel_P >::init | ( | Radio & | radio, |
Debug & | debug | ||
) | [inline] |
bool wiselib::MocaJoinDecision< OsModel_P >::join | ( | uint8_t * | payload, |
uint8_t | length | ||
) | [inline] |
void wiselib::MocaJoinDecision< OsModel_P >::set_id | ( | node_id_t | id | ) | [inline] |
void wiselib::MocaJoinDecision< OsModel_P >::set_maxhops | ( | int | maxhops | ) | [inline] |