Teonet library
0.4.7
|
Macros | |
#define | TLARGE_VERSION VERSION |
Functions | |
void | event_cb (ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data) |
Teonet Events callback. More... | |
int | main (int argc, char **argv) |
Main Teolarge application function. More... | |
#define TLARGE_VERSION VERSION |
Referenced by main().
void event_cb | ( | ksnetEvMgrClass * | ke, |
ksnetEvMgrEvents | event, | ||
void * | data, | ||
size_t | data_len, | ||
void * | user_data | ||
) |
Teonet Events callback.
ke | |
event | |
data | |
data_len | |
user_data |
References ksnCorePacketData::cmd, CMD_USER, data, ksnCorePacketData::data, ksnCorePacketData::data_len, EV_K_RECEIVED, EV_K_TIMER, ksnCorePacketData::from, ksnetEvMgrClass::kc, KSN_BUFFER_DB_SIZE, ksnCoreSendCmdto(), ksnetEvMgrGetHostName(), and rd.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Main Teolarge application function.
argc | Number of parameters |
argv | Parameters array |
References event_cb(), ke, ksnet_printf(), ksnetEvMgrInit(), ksnetEvMgrRun(), ksnetEvMgrSetCustomTimer(), MESSAGE, READ_CONFIGURATION, READ_OPTIONS, ksnetEvMgrClass::teo_cfg, and TLARGE_VERSION.