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?
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?