PCUClient and PCUServer Communication Problem
Posted: Tue 16. Jun 2020, 09:17
Hello,
We want to communicate between PCUClient and PCUServer.
Example Code C++
1) PCUClient
2) PCUServer
Current Setup :
-> Two PEAK connected to PC for client and server communication
-> In Example code PCU Server connected to Channel = PUDS_USBBUS2 but we have changed to Channel = PUDS_USBBUS1 same as client;
(1) May I know first server need to run or client?
(2) Currently we are facing problem of PUDS_ERROR_ALREADY_INITIALIZED error in PCAN UDS Initialized in PCUServer. how to solve this error?
Kindly find the attachment for more details.
#define PUDS_ERROR_OK 0x00000 // No error
#define PUDS_ERROR_NOT_INITIALIZED 0x00001 // Not Initialized
#define PUDS_ERROR_ALREADY_INITIALIZED 0x00002 // Already Initialized
(3) May I know what the steps require to communicate between client and server of example code?
Thanks in advance.
We want to communicate between PCUClient and PCUServer.
Example Code C++
1) PCUClient
2) PCUServer
Current Setup :
-> Two PEAK connected to PC for client and server communication
-> In Example code PCU Server connected to Channel = PUDS_USBBUS2 but we have changed to Channel = PUDS_USBBUS1 same as client;
(1) May I know first server need to run or client?
(2) Currently we are facing problem of PUDS_ERROR_ALREADY_INITIALIZED error in PCAN UDS Initialized in PCUServer. how to solve this error?
Kindly find the attachment for more details.
#define PUDS_ERROR_OK 0x00000 // No error
#define PUDS_ERROR_NOT_INITIALIZED 0x00001 // Not Initialized
#define PUDS_ERROR_ALREADY_INITIALIZED 0x00002 // Already Initialized
(3) May I know what the steps require to communicate between client and server of example code?
Thanks in advance.