#include <iphone_radio.h>
Inherits wiselib::RadioBase< OsModel_P, uint16_t, __darwin_size_t, uint8_t >.
List of all members.
Public Types |
enum | ErrorCodes { SUCCESS = OsModel::SUCCESS,
ERR_UNSPEC = OsModel::ERR_UNSPEC
} |
enum | SpecialNodeIds { BROADCAST_ADDRESS = 0xffff,
NULL_NODE_ID = 0
} |
enum | Restrictions { MAX_MESSAGE_LENGTH = 512
} |
typedef OsModel_P | OsModel |
typedef iPhoneRadioModel< OsModel > | self_type |
typedef self_type * | self_pointer_t |
typedef IPhoneLinkMessage
< OsModel, typename
OsModel::Radio > | Message |
typedef uint16_t | node_id_t |
typedef uint8_t | block_data_t |
typedef __darwin_size_t | size_t |
typedef uint8_t | message_id_t |
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > | radio_delegate_t |
enum | ReturnValues |
typedef vector_static< OsModel,
radio_delegate_t,
RADIO_BASE_MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions |
| iPhoneRadioModel (iPhoneSystem &system) |
virtual | ~iPhoneRadioModel () |
void | set_testbed (NSString *url, UInt16 port) |
int | enable_radio () |
int | disable_radio () |
node_id_t | id () |
int | send (node_id_t to, size_t len, block_data_t *data) |
void | receive_message (node_id_t from, size_t len, block_data_t *buf) |
int | reg_recv_callback (T *obj_pnt) |
int | unreg_recv_callback (int idx) |
void | notify_receivers (node_id_t from, size_t len, block_data_t *data) |
template<typename OsModel_P, bool IPhoneLinkRadio = false>
class wiselib::iPhoneRadioModel< OsModel_P, IPhoneLinkRadio >
Member Typedef Documentation
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
Member Enumeration Documentation
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
- Enumerator:
MAX_MESSAGE_LENGTH |
Maximal number of bytes in payload.
|
template<typename OsModel_P , bool IPhoneLinkRadio = false>
- Enumerator:
BROADCAST_ADDRESS |
All nodes in communication range.
|
NULL_NODE_ID |
Unknown/No node id.
|
Constructor & Destructor Documentation
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
Member Function Documentation
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
template<typename OsModel_P , bool IPhoneLinkRadio = false>
The documentation for this class was generated from the following file: