#include <stdio.h>#include <stdlib.h>#include "win32test.h"#include "canfestival.h"#include <time.h>Include dependency graph for main.c:

Go to the source code of this file.
Defines | |
| #define | sleep_proc(ms) |
| #define | uptime_ms_proc (1000*(time()%86400)) |
Functions | |
| UNS8 | GetChangeStateResults (UNS8 node_id, UNS8 expected_state, unsigned long timeout_ms) |
| UNS8 | ReadSDO (UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, void *data, UNS8 *size) |
| int | main (int argc, char *argv[]) |
| #define sleep_proc | ( | ms | ) |
| #define uptime_ms_proc (1000*(time()%86400)) |
| UNS8 GetChangeStateResults | ( | UNS8 | node_id, | |
| UNS8 | expected_state, | |||
| unsigned long | timeout_ms | |||
| ) |
Definition at line 37 of file main.c.
References getNodeState(), masterRequestNodeState(), struct_CO_Data::NMTable, sleep_proc, Unknown_state, uptime_ms_proc, and win32test_Data.
Referenced by main().
Here is the call graph for this function:

| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 79 of file main.c.
References canClose(), canOpen(), GetChangeStateResults(), Initialisation, LoadCanDriver(), MasterBoard, masterSendNMTstateChange(), NMT_Start_Node, NMT_Stop_Node, OD_SUCCESSFUL, Operational, ReadSDO(), RW, setNodeId(), setState(), Stopped, uint32, UNS32, UNS8, visible_string, win32test_Data, and writeLocalDict().
Here is the call graph for this function:

| UNS8 ReadSDO | ( | UNS8 | nodeId, | |
| UNS16 | index, | |||
| UNS8 | subIndex, | |||
| UNS8 | dataType, | |||
| void * | data, | |||
| UNS8 * | size | |||
| ) |
Definition at line 57 of file main.c.
References closeSDOtransfer(), getReadResultNetworkDict(), readNetworkDict(), SDO_CLIENT, SDO_FINISHED, SDO_UPLOAD_IN_PROGRESS, sleep_proc, UNS32, UNS8, and win32test_Data.
Referenced by main().
Here is the call graph for this function:

1.5.1