Wiselib
Public Types | Public Member Functions
wiselib::ComISensePacket< OsModel_P, MaxPacketSize > Class Template Reference

#include <com_isense_packet.h>

List of all members.

Public Types

enum  MessageType {
  MESSAGE_TYPE_RESET = 1, MESSAGE_TYPE_SERAERIAL, MESSAGE_TYPE_TIME, MESSAGE_TYPE_CAMERA_APP,
  MESSAGE_TYPE_AMR_APP, MESSAGE_TYPE_ACC_APP, MESSAGE_TYPE_IN_RESERVED_1, MESSAGE_TYPE_IN_RESERVED_2,
  MESSAGE_TYPE_IN_RESERVED_3, MESSAGE_TYPE_CUSTOM_IN_1, MESSAGE_TYPE_CUSTOM_IN_2, MESSAGE_TYPE_CUSTOM_IN_3,
  MESSAGE_TYPE_DEBUG = 100, MESSAGE_TYPE_INFO, MESSAGE_TYPE_WARNING, MESSAGE_TYPE_ERROR,
  MESSAGE_TYPE_LOG, MESSAGE_TYPE_PLOT, MESSAGE_TYPE_CUSTOM_OUT, MESSAGE_TYPE_TIMEREQUEST = 109,
  MESSAGE_TYPE_AUDIO, MESSAGE_TYPE_SPYGLASS, MESSAGE_TYPE_FLOAT_BUFFER, MESSAGE_TYPE_SQL
}
enum  SubType {
  SUB_NONE = 0, SUB_RADIO_GET_ADDRESS = 'a', SUB_RADIO_ADDRESS = 'N', SUB_RADIO_DISTANCE_TEST = 'D',
  SUB_RADIO_IN = 'I', SUB_RADIO_OUT = 'O', SUB_SET_TX_POWER = 'T', SUB_GET_TX_POWER = 't',
  SUB_TX_POWER = 'P'
}
typedef OsModel_P OsModel
typedef OsModel::size_t size_t

Public Member Functions

 ComISensePacket (SubType st, MessageType t=MESSAGE_TYPE_CUSTOM_IN_1)
 ComISensePacket (size_t, uint8_t *)
uint8_theader ()
size_t header_size ()
uint8_tdata ()
size_t data_size ()
void push_header (uint8_t)
void push_header16 (uint16_t)
void set_data (size_t, uint8_t *)
MessageType type ()
SubType subtype ()

template<typename OsModel_P, int MaxPacketSize = 255>
class wiselib::ComISensePacket< OsModel_P, MaxPacketSize >


Member Typedef Documentation

template<typename OsModel_P, int MaxPacketSize = 255>
typedef OsModel_P wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::OsModel
template<typename OsModel_P, int MaxPacketSize = 255>
typedef OsModel::size_t wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::size_t

Member Enumeration Documentation

template<typename OsModel_P, int MaxPacketSize = 255>
enum wiselib::ComISensePacket::MessageType
Enumerator:
MESSAGE_TYPE_RESET 
MESSAGE_TYPE_SERAERIAL 
MESSAGE_TYPE_TIME 
MESSAGE_TYPE_CAMERA_APP 
MESSAGE_TYPE_AMR_APP 
MESSAGE_TYPE_ACC_APP 
MESSAGE_TYPE_IN_RESERVED_1 
MESSAGE_TYPE_IN_RESERVED_2 
MESSAGE_TYPE_IN_RESERVED_3 
MESSAGE_TYPE_CUSTOM_IN_1 
MESSAGE_TYPE_CUSTOM_IN_2 
MESSAGE_TYPE_CUSTOM_IN_3 
MESSAGE_TYPE_DEBUG 
MESSAGE_TYPE_INFO 
MESSAGE_TYPE_WARNING 
MESSAGE_TYPE_ERROR 
MESSAGE_TYPE_LOG 
MESSAGE_TYPE_PLOT 
MESSAGE_TYPE_CUSTOM_OUT 
MESSAGE_TYPE_TIMEREQUEST 
MESSAGE_TYPE_AUDIO 
MESSAGE_TYPE_SPYGLASS 
MESSAGE_TYPE_FLOAT_BUFFER 
MESSAGE_TYPE_SQL 
template<typename OsModel_P, int MaxPacketSize = 255>
enum wiselib::ComISensePacket::SubType
Enumerator:
SUB_NONE 
SUB_RADIO_GET_ADDRESS 
SUB_RADIO_ADDRESS 
SUB_RADIO_DISTANCE_TEST 
SUB_RADIO_IN 
SUB_RADIO_OUT 
SUB_SET_TX_POWER 
SUB_GET_TX_POWER 
SUB_TX_POWER 

Constructor & Destructor Documentation

template<typename OsModel_P , int MaxPacketSize>
wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::ComISensePacket ( SubType  st,
MessageType  t = MESSAGE_TYPE_CUSTOM_IN_1 
)
template<typename OsModel_P , int MaxPacketSize>
wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::ComISensePacket ( size_t  size,
uint8_t data 
)

Member Function Documentation

template<typename OsModel_P , int MaxPacketSize>
uint8_t * wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::data ( )
template<typename OsModel_P , int MaxPacketSize>
ComISensePacket< OsModel_P, MaxPacketSize >::size_t wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::data_size ( )
template<typename OsModel_P , int MaxPacketSize>
uint8_t * wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::header ( )
template<typename OsModel_P , int MaxPacketSize>
ComISensePacket< OsModel_P, MaxPacketSize >::size_t wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::header_size ( )
template<typename OsModel_P , int MaxPacketSize>
void wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::push_header ( uint8_t  byte)
template<typename OsModel_P , int MaxPacketSize>
void wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::push_header16 ( uint16_t  word)
template<typename OsModel_P , int MaxPacketSize>
void wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::set_data ( size_t  size,
uint8_t data 
)
template<typename OsModel_P , int MaxPacketSize>
ComISensePacket< OsModel_P, MaxPacketSize >::SubType wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::subtype ( )
template<typename OsModel_P , int MaxPacketSize>
ComISensePacket< OsModel_P, MaxPacketSize >::MessageType wiselib::ComISensePacket< OsModel_P, MaxPacketSize >::type ( )

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