Usage
Setup
Needed Variables
UDPCommMgr_typ commMgr;
STRING[255] sendBuffer;
STRING[255] recvBuffer;
Initialization
commMgr.IN.PAR.pSendData = &sendBuffer;
commMgr.IN.PAR.pReceiveData = &recvBuffer;
commMgr.IN.PAR.MaxReceiveLength = sizeof(recvBuffer);
strcpy(commMgr.IN.CFG.LocalInterface.IPAddress, "127.0.0.1");
commMgr.IN.CFG.LocalInterface.Port = 5000;
strcpy(commMgr.IN.CFG.RemoteInterface.IPAddress, "127.0.0.1");
commMgr.IN.CFG.RemoteInterface.Port = 5001;