/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-05-13T02:53:20T ****/ /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ #ifndef DUREX__H #define DUREX__H #include "Em_Types.h" #include "Em_Message.h" #ifdef __cplusplus extern "C" { #endif /* typedef String */ typedef char *DUREX_String; #define DUREX_String_length 239 /* enum BOOLEAN */ typedef uint8_t DUREX_BOOLEAN; #define DUREX_TRUE 0 #define DUREX_FALSE 1 /* resource numServerBytes */ typedef uint8_t DUREX_numServerBytes_t; extern void DUREX_numServerBytes_fetch(DUREX_numServerBytes_t* const output); /* resource numClientBytes */ typedef uint8_t DUREX_numClientBytes_t; extern void DUREX_numClientBytes_store(DUREX_numClientBytes_t* const input); /* resource serverData */ typedef DUREX_String DUREX_serverData_t[239]; extern void DUREX_serverData_fetch(DUREX_serverData_t* const output); /* resource clientData */ typedef DUREX_String DUREX_clientData_t[239]; extern void DUREX_clientData_store(DUREX_clientData_t* const input); /* resource numServerPackets */ typedef uint8_t DUREX_numServerPackets_t; extern void DUREX_numServerPackets_fetch(DUREX_numServerPackets_t* const output); /* resource numClientPackets */ typedef uint8_t DUREX_numClientPackets_t; extern void DUREX_numClientPackets_store(DUREX_numClientPackets_t* const input); /* resource clientMessageAvailable */ typedef DUREX_BOOLEAN DUREX_clientMessageAvailable_t; extern void DUREX_clientMessageAvailable_store(DUREX_clientMessageAvailable_t* const input); /* resource serverMessageAvailable */ typedef DUREX_BOOLEAN DUREX_serverMessageAvailable_t; extern void DUREX_serverMessageAvailable_fetch(DUREX_serverMessageAvailable_t* const output); extern void DUREX_serverMessageAvailable_indicate(void); void DUREX_reset(void); void DUREX_run(void); void DUREX_accept(bool enable); void DUREX_disconnect(void); void DUREX_pairingOn(uint8_t secs, void(*handler)(void)); void DUREX_pairingOff(void(*handler)(void)); void DUREX_connectHandler(void); void DUREX_disconnectHandler(void); #ifdef __cplusplus } #endif #endif /* DUREX__H */