Teonet library
0.4.7
|
Macros | |
#define | TACK_VERSION "0.0.2" |
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 Teoack application function. More... | |
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 teonet_cfg::app_argv, CMD_USER, data, ksnCorePacketData::data, EV_K_RECEIVED_ACK, EV_K_STARTED, EV_K_TIMER, ksnCoreClass::ka, ksnetEvMgrClass::kc, KSN_BUFFER_DB_SIZE, ksnCoreSendCmdto(), ksnetArpGet(), ksnetEvMgrGetHostName(), ksnetEvMgrSetCustomTimer(), rd, and ksnetEvMgrClass::teo_cfg.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Main Teoack application function.
argc | Number of parameters |
argv | Parameters array |
References ksnetEvMgrAppParam::app_argc, ksnetEvMgrAppParam::app_argv, ksnetEvMgrAppParam::app_descr, APP_PARAM, event_cb(), ke, ksnetAllowAckEvent(), ksnetEvMgrInitPort(), ksnetEvMgrRun(), ksnetEvMgrSetCustomTimer(), READ_CONFIGURATION, READ_OPTIONS, TACK_VERSION, and VERSION.