I try to connect PCUServer and PCUClient. Client send request, but on Server - function UDS_Initialize() return Status -2147476480.
I can't find what is status mean? And what needs to be done so that initialization is successful?
PCUServer: UDS_Initialize() return -2147476480
-
- Software Development
- Posts: 305
- Joined: Mon 9. Sep 2013, 12:21
Re: PCUServer: UDS_Initialize() return -2147476480
Hello,
Status should be analyzed as hex for ease:
- (uint)-2147476480 is 0x80001c00,
- Flag 0x80000000 means this is a PCAN-Basic API status,
- 0x01C00U is PCAN_ERROR_ILLCLIENT.
PCUServer initializes a 2nd USB PEAK CAN device: PUDS_USBBUS2 (line 312), whereas PCUClient initializes the 1st USB PEAK CAN device (PUDS_USBBUS1).
Make sure you have two PEAK USB CAN interfaces connected to your PC in order to be able to use these examples.
Status should be analyzed as hex for ease:
- (uint)-2147476480 is 0x80001c00,
- Flag 0x80000000 means this is a PCAN-Basic API status,
- 0x01C00U is PCAN_ERROR_ILLCLIENT.
PCUServer initializes a 2nd USB PEAK CAN device: PUDS_USBBUS2 (line 312), whereas PCUClient initializes the 1st USB PEAK CAN device (PUDS_USBBUS1).
Make sure you have two PEAK USB CAN interfaces connected to your PC in order to be able to use these examples.
Best regards,
Fabrice
Fabrice