Wiselib
Public Types | Public Member Functions
wiselib::ContikiByteUartModel< OsModel_P > Class Template Reference

Contiki Implementation of Radio conceptContiki implementation of the Radio concept ... More...

#include <contiki_byte_com_uart.h>

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef OsModel_P OsModel
typedef ContikiByteUartModel
< OsModel
self_type
typedef self_typeself_pointer_t
typedef uint8_t block_data_t
typedef uint8_t size_t

Public Member Functions

void init ()
int enable_serial_comm ()
int disable_serial_comm ()
int write (size_t len, block_data_t *buf)
template<class T , void(T::*)(size_t, block_data_t *) TMethod>
int reg_read_callback (T *obj_pnt)
int unreg_recv_callback (int idx)

Detailed Description

template<typename OsModel_P>
class wiselib::ContikiByteUartModel< OsModel_P >

Contiki Implementation of Radio concept

Contiki implementation of the Radio concept ...


Member Typedef Documentation

template<typename OsModel_P >
typedef uint8_t wiselib::ContikiByteUartModel< OsModel_P >::block_data_t
template<typename OsModel_P >
typedef OsModel_P wiselib::ContikiByteUartModel< OsModel_P >::OsModel
template<typename OsModel_P >
typedef self_type* wiselib::ContikiByteUartModel< OsModel_P >::self_pointer_t
template<typename OsModel_P >
typedef ContikiByteUartModel<OsModel> wiselib::ContikiByteUartModel< OsModel_P >::self_type
template<typename OsModel_P >
typedef uint8_t wiselib::ContikiByteUartModel< OsModel_P >::size_t

Member Enumeration Documentation

template<typename OsModel_P >
enum wiselib::ContikiByteUartModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Member Function Documentation

template<typename OsModel_P >
int wiselib::ContikiByteUartModel< OsModel_P >::disable_serial_comm ( ) [inline]
template<typename OsModel_P >
int wiselib::ContikiByteUartModel< OsModel_P >::enable_serial_comm ( ) [inline]
template<typename OsModel_P >
void wiselib::ContikiByteUartModel< OsModel_P >::init ( void  ) [inline]
template<typename OsModel_P >
template<class T , void(T::*)(typename ContikiByteUartModel< OsModel_P >::size_t, typename ContikiByteUartModel< OsModel_P >::block_data_t *) TMethod>
int wiselib::ContikiByteUartModel< OsModel_P >::reg_read_callback ( T *  obj_pnt) [inline]
template<typename OsModel_P >
int wiselib::ContikiByteUartModel< OsModel_P >::unreg_recv_callback ( int  idx) [inline]
template<typename OsModel_P >
int wiselib::ContikiByteUartModel< OsModel_P >::write ( size_t  len,
block_data_t buf 
) [inline]

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