#include <elan3/epcomms.h>
int ep_waitfor_nodeid( | EP_SYS *sys); |
A pointer to the Elan Kernel Comms subsystem private state. An EP_SYS pointer can be obtained by calling ep_system(3).
Before Elan Kernel Comms commences, the Elan network must have been probed and the node ID successfully determined. ep_waitfor_nodeid() returns once the node ID has either been successfully determined or failure to determine network position has occurred.
On success, the node ID is returned as an integer quantity. On failure, the following values can be returned:
The network position has not been successfully determined. Elan Kernel Comms cannot continue.