Wiselib
|
Fronts join decision module. More...
#include <fronts_jd.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef Radio_P | 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 | |
FrontsJoinDecision () | |
~FrontsJoinDecision () | |
void | init (Radio &radio, Debug &debug) |
void | set_cluster_id (cluster_id_t cluster_id) |
void | set_maxhops (int hops) |
void | set_hops (int hops) |
int | hops () |
cluster_id_t | cluster_id (void) |
JoinClusterMsg< OsModel, Radio > | get_join_request_payload () |
JoinAccClusterMsg< OsModel, Radio > | get_join_accept_payload () |
bool | join (uint8_t *payload, uint8_t length) |
void | reset () |
Fronts join decision module.
typedef Radio::block_data_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::block_data_t |
typedef node_id_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::cluster_id_t |
typedef OsModel::Debug wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::Debug |
typedef Radio::node_id_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::node_id_t |
typedef OsModel_P wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::OsModel |
typedef Radio_P wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::Radio |
wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::FrontsJoinDecision | ( | ) | [inline] |
wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::~FrontsJoinDecision | ( | ) | [inline] |
cluster_id_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::cluster_id | ( | void | ) | [inline] |
JoinAccClusterMsg<OsModel, Radio> wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::get_join_accept_payload | ( | ) | [inline] |
JoinClusterMsg<OsModel, Radio> wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::get_join_request_payload | ( | ) | [inline] |
int wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::hops | ( | void | ) | [inline] |
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::init | ( | Radio & | radio, |
Debug & | debug | ||
) | [inline] |
bool wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::join | ( | uint8_t * | payload, |
uint8_t | length | ||
) | [inline] |
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::reset | ( | void | ) | [inline] |
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::set_cluster_id | ( | cluster_id_t | cluster_id | ) | [inline] |
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::set_hops | ( | int | hops | ) | [inline] |
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::set_maxhops | ( | int | hops | ) | [inline] |