Wiselib
Public Types | Public Member Functions
wiselib::RemoteUartInMessage< OsModel_P, Radio_P > Class Template Reference

#include <remote_uart_message.h>

List of all members.

Public Types

enum  data_in_positions {
  COMMAND_TYPE = 0, SEQUENCE_NUMBER_POS = 1, DESTINATION_POS = 2, SOURCE_POS = 10,
  PAYLOAD_SIZE_POS = 18, PAYLOAD_POS = 19
}
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::block_data_t block_data_t
typedef Radio::size_t size_t
typedef Radio::node_id_t node_id_t

Public Member Functions

 RemoteUartInMessage ()
uint8_t command_type ()
void set_command_type (uint8_t type)
uint8_t sequence_number ()
void set_sequence_number (uint8_t number)
uint8_t payload_length ()
uint64_t destination ()
void set_destination (uint64_t dst)
uint64_t source ()
void set_source (uint64_t src)
block_data_tpayload ()
void set_payload (size_t len, block_data_t *buf)
size_t buffer_size ()
bool append (block_data_t *other, size_t start, size_t length)

template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
class wiselib::RemoteUartInMessage< OsModel_P, Radio_P >


Member Typedef Documentation

template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
typedef Radio::block_data_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::block_data_t
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
typedef Radio::node_id_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::node_id_t
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
typedef OsModel_P wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::OsModel
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
typedef Radio_P wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::Radio
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
typedef Radio::size_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::size_t

Member Enumeration Documentation

template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
enum wiselib::RemoteUartInMessage::data_in_positions
Enumerator:
COMMAND_TYPE 
SEQUENCE_NUMBER_POS 
DESTINATION_POS 
SOURCE_POS 
PAYLOAD_SIZE_POS 
PAYLOAD_POS 

Constructor & Destructor Documentation

template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::RemoteUartInMessage ( ) [inline]

Member Function Documentation

template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
bool wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::append ( block_data_t other,
size_t  start,
size_t  length 
) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
size_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
uint8_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::command_type ( ) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
uint64_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::destination ( ) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
block_data_t* wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::payload ( void  ) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
uint8_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::payload_length ( ) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
uint8_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::sequence_number ( ) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
void wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::set_command_type ( uint8_t  type) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
void wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::set_destination ( uint64_t  dst) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
void wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::set_payload ( size_t  len,
block_data_t buf 
) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
void wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::set_sequence_number ( uint8_t  number) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
void wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::set_source ( uint64_t  src) [inline]
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio>
uint64_t wiselib::RemoteUartInMessage< OsModel_P, Radio_P >::source ( void  ) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines