#include <echomsg.h>
List of all members.
Public Types |
enum | { HELLO_MESSAGE = 42
} |
enum | data_positions { MSG_ID_POS = 0,
NBS_NUM = 1,
PG_NUM = 2,
PAYLOAD_POS = 3
} |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
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 |
Public Member Functions |
| EchoMsg () |
| ~EchoMsg () |
message_id_t | msg_id () |
void | set_msg_id (message_id_t id) |
uint8_t * | payload () |
uint8_t | payload_size () |
uint8_t | buffer_size () |
block_data_t * | data () |
void | set_payload (uint8_t len, uint8_t *buf) |
void | add_nb_entry (node_id_t nb_id) |
void | add_nb_entry (node_id_t nb_id, uint8_t nb_st) |
void | add_nb_entry (node_id_t nb_id, uint8_t nb_st, uint16_t nd_st) |
void | add (uint8_t data) |
void | add (uint16_t data) |
void | set_nearby_list_size (uint8_t len) |
void | set_nb_list (uint8_t len, uint8_t *buf) |
uint8_t | nb_list_size (void) |
uint8_t | get_nb_list (uint8_t *buf) |
void | add_pg_payload (uint8_t app_id, uint8_t *data, uint8_t len) |
void | append_payload (uint8_t &app_id, uint8_t *data, uint8_t &len) |
uint8_t | get_pg_payloads_num (void) |
template<typename OsModel_P, typename Radio_P>
class wiselib::EchoMsg< OsModel_P, Radio_P >
Member Typedef Documentation
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
Member Enumeration Documentation
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
- Enumerator:
MSG_ID_POS |
|
NBS_NUM |
|
PG_NUM |
|
PAYLOAD_POS |
|
Constructor & Destructor Documentation
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
Member Function Documentation
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
template<typename OsModel_P , typename Radio_P >
The documentation for this class was generated from the following file:
- wiselib.testing/algorithms/neighbor_discovery/echomsg.h