Page 1 of 1
Posted: Wed 14. Aug 2019, 18:26
the following parameters of CAN_RegisterNet() are not clear to me:
Your documentation does not clearly say, what values should be supplied there.
Is "net" any value I can chose from the legal range?
Is "hw" bound to specific hardware? In case of pcan_usb, what are legal values for "hw"? How do I find out, what values belong to what hardware?
Your Visual-C console sample code does not call CAN_RegisterNet(), it calls CAN_RegisterClient() followed by CAN_ConnectToNet(). If a net has not been created before, is it created by CAN_ConnectToNet()? If so, what baud rate is used?
Posted: Thu 15. Aug 2019, 09:06
One more related question:
I need to implement a new class, so that an existing huge codebase will use the underlying PCAN-Developer 4 API instead of PCAN-Basic.
For the PCAN-Basic CAN_Initialize() function: how can the parameters "Channel" and "HwType" be mapped to the PCAN-Developer 4 API?
Posted: Thu 15. Aug 2019, 10:26
Please send an email with your name and license number to support[at]peak-system.com. Then we will able to answer your questions.
Posted: Thu 15. Aug 2019, 12:23
Answered by email. Closed.