Teonet library
0.4.7
|
Macros | |
#define | TSEND_VERSION VERSION |
Functions | |
void | event_cb (ksnetEvMgrClass *ke, ksnetEvMgrEvents event, void *data, size_t data_len, void *user_data) |
KSNetwork Events callback. More... | |
int | main (int argc, char **argv) |
Main Teosend application function. More... | |
Created on July 15, 2015, 5:48 PM
void event_cb | ( | ksnetEvMgrClass * | ke, |
ksnetEvMgrEvents | event, | ||
void * | data, | ||
size_t | data_len, | ||
void * | user_data | ||
) |
KSNetwork Events callback.
ke | |
event | |
data | |
data_len | |
user_data |
References ksnCorePacketData::cmd, CMD_USER, data, ksnCorePacketData::data, EV_K_CONNECTED, EV_K_DISCONNECTED, EV_K_IDLE, EV_K_RECEIVED, EV_K_STARTED, EV_K_TIMER, ksnCorePacketData::from, ksnetEvMgrClass::kc, ksnCoreSendCmdto(), ksnetEvMgrGetHostName(), and rd.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Main Teosend 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 TSEND_VERSION.