Ce site utilise des cookies à des fins d'analyse, de gestion de la connexion au site marchand, au forum et de traitement d’une commande. En continuant à naviguer sur ce site, vous acceptez cette utilisation. Vous trouverez des informations détaillées sur l'utilisation des cookies dans notre politique de confidentialité.

OK Confidentialité

PCAN-ISO-TP API Version History

2021-01-22 - Version 3.1.1

Improvements:

  • Added parameter PCANTP_PARAMETER_NETWORK_LAYER_DESIGN
  • Added support for half duplex network layer design
  • Added notes about can_info.dlc and the specialization of PCANTP_PARAMETER_CAN_TX_DL in mappings and messages
  • Miscellaneous internal optimizations
  • Documentation updated

Bug fixes:

  • Fixed CANTP_Read_2016 return status: status is not OK if a message is read but a network error occurred
  • Fixed PCANTP_STATUS_MASK_PCAN value
  • Fixed PCANTP_NETSTATUS_TIMEOUT_As, PCANTP_NETSTATUS_TIMEOUT_Ar values
  • Fixed PCANTP_NETSTATUS_XMT_FULL, PCANTP_NETSTATUS_BUS_ERROR, PCANTP_NETSTATUS_NO_MEMORY values
  • Fixed log level when debug mode is set to false

Changes:

  • CANTP_Write_2016 now corrects invalid values for msgdata.any->flags and msgdata.any->netstatus
  • Changed logs related to protocol-frames to NOTICE instead of INFORMATION
  • CANTP_GetValue_2016 and CANTP_SetValue_2016 return now PCANTP_STATUS_HANDLE_INVALID if parameter is not compatible with channel's handle
  • Changed timestamp handling with USB devices to better handle USB delay performances and prevent STMin violation
  • In CANTP_MsgEqual_2016, if messages are frames, function will resolve non-zero dlc to check length equality
  • Fixed warnings in samples 02 and 04
  • Fixed status issues and improved output messages in sample 06


Download

2020-12-03 - Version 3.1.0

Improvements:

  • Added parameter PCANTP_PARAMETER_RESET_HARD to reset CAN controller without losing mappings and settings
  • Added functions CANTP_AddMsgRule_2016 and CANTP_RemoveMsgRule_2016
  • Added support of message's options
  • Added warning/error logs when PCAN-Basic returns a non-OK status in PCTPFrame::read/write functions
  • Added new values PCANTP_DEBUG_xxx to filter log messages
  • Added definitions PCANTP_MAX_CAN_ID_11_BIT, PCANTP_MAX_CAN_ID_29_BIT
  • Logging improved (PCANTP_NONEBUS now logs API function entries and exits, while channels logs Rx/Tx CAN frames)
  • Logging information enhanced with PCANTP_PARAMETER_DEBUG
  • Logging filtering optimized
  • Improved handling of bus errors when transmitting an ISO-TP message
  • Updated examples #02, #04 to allow segmented communications
  • Updated example #05 warning only unsegmented communications are available by design in this sample
  • New examples #09 and #10 representing an ISO-TP client and an ISO-TP server
  • Documentation updated

Bug fixes:

  • Fixed override hierarchy with CAN_TX_DL parameter (global setting << mapping << message)
  • Fixed memory leaks when PCAN-UDS_2013 is connected
  • Fixed issue in message comparison of self-receive frame when flag ESI is set
  • Fixed log_level of logs when a bus error occurs (warning instead of error used for non bus-off error)
  • Fixed rare memory exception when API hooks are installed (like PCAN-UDS)
  • Fixed possible issue when sending a functional ISO-TP FD message with DLC greater than 8 on a CAN only channel. CANTP_Write now returns PCANTP_STATUS_PARAM_INVALID_VALUE
  • Fixed CANTP_Write function to ensure backward compatibility: function no longer modifies the input parameter pMessageBuffer

Changes:

  • Optimized behavior of parameter PCANTP_PARAMETER_CAN_TX_DL: FC and last CF frames will use the lowest padded DLC
  • Lowered thread's priority of loggers
  • Newly initialized channels now use the log_level configured in PCANTP_HANDLE_NONEBUS
  • Changed CANTP_MsgEqual_2016 to ignore ESI flag when comparing self-receive messages
  • PCTPChannel ThreadMain now use CANTP_StatusIsOk in 'strict' mode to warn about bus errors
  • StatusCheck will return an error if BUS_OFF flag is set
  • Logging is now disabled by default
  • CANTP_AddMapping returns PCANTP_STATUS_PARAM_INVALID_VALUE if values for can_id, can_id_flow_ctrl or can_tx_dl are invalid
  • [WARNING] CANTP_StatusIsOk_2016 will return OK on bus error (as expected by documentation)

2020-07-16 - Version 3.0.1

Improvements:

  • Added parameter PCANTP_PARAMETER_MSG_CHECK

Changes:

  • The parameter PCANTP_PARAMETER_DEVICE_NUMBER:
    • was marked as deprecated
    • was renamed to PCANTP_PARAMETER_DEVICE_ID
  • The network error "PCANTP_NETSTATUS_TIMEOUT_As" is now raised if the "First Frame" or "Flow Control Frame" of an ISO-TP message is not confirmed within "TIMEOUT_AS" time

Bug fixes:

  • Fixed logging issue when activating PCANTP_PARAMETER_DEBUG
  • Fixed issue with CANTP_RemoveMapping_2016 and CANTP_RemoveMappings_2016: CAN IDs for flow control were not being removed

2020-05-27 - Version 3.0.0

Improvements:

  • New interface supporting ISO 15762-2, revision 2016
  • Fully binary compatible with applications using PCAN-ISO-TP.dll, version 2.x
  • Backward compatibility support for projects based on ISO 15762-2, revision 2004 (PCAN-ISO-TP.dll, version 2.x)
  • General code enhancements

2019-11-21 - Version 2.2.2

Bug fixes:

  • Structure alignment information was missing within the header files

2019-07-09 - Version 2.2.1

Improvements:

  • The configuration of the underlying certificate checking was changed to avoid delays at initialization time due to certificate revoke-search online

2019-05-23 - Version 2.2.0

Improvements:

  • Fixed typo with the parameter PCANTP_PARAM_SEPERATION_TIME, renamed to PCANTP_PARAM_SEPARATION_TIME
  • Fixed typo with the parameter PCANTP_PARAM_SEPERATION_TIME_OPTIMIZATION, renamed to PCANTP_PARAM_SEPARATION_TIME_OPTIMIZATION
  • General review of references due to update of parameter names

Bug fixes:

  • The function PCANTP_GetValue was returning PCANTP_ERROR_OK if the underlying PCANBasic.dll was not present

2019-02-05 - Version 2.1.0

Improvements:

  • New parameter PCANTP_PARAM_SEPERATION_TIME_OPTIMIZATION, used to ensure that STMin is always strictly respected

2018-12-17 - Version 2.0.3

Improvements:

  • The log files have now a timestamp with a resolution in microseconds

Bug fixes:

  • In some scenarios under Windows® 7, an exception was thrown when the library was unloaded
  • An overflow within internal timestamps was taking place when the host PC was running for several weeks

2018-03-05 - Version 2.0.2

Improvements:

  • CANTP_AddMapping now prevent the creation of a mapping with PCANTP_FORMAT_FIXED_NORMAL or PCANTP_FORMAT_ENHANCED formats
  • General code improvements on header files
  • Code of sample projects enhanced

Bug fixes:

  • Fixed typo in the VB.Net header where PCANTP_PARAM_CAN_UNSEGMENTED is defined
  • Fixed an issue when defining a global J1939 priority and mappings
  • Fixed invalid status when using an invalid parameter value
  • PCAN_GetStatus was returning PCAN-Basic status values
  • Fixed flag issue with message's member IDTYPE
  • Fixed issue when calling CAN_Uninitialize instead of CANTP_Uninitialize

2017-09-07 - Version 2.0.1

Improvements:

  • PCTPClient and PCTPServer samples were updated:
    • Command-line arguments were improved
    • Handling of errors on initialization
    • Server uses now an event for messages reading

Bug fixes:

  • User-defined mappings could not be found due to priority problems regarding 29-bit standard mappings

2017-01-16 - Version 2.0.0

Improvements:

  • Added CAN FD support through a new function CANTP_InitializeFD
  • Added new PCAN-ISO-TP message type to distinguish incoming or outgoing start frames
  • Transmission timing was enhanced

Bug fix:

  • Heap corruption when an ISO-TP message contained an invalid data length

2016-11-02 - Version 1.4.3

Improvements:

  • PCAN connection now implements auto-reset on bus-off error
  • Optimized transmission when STmin = 0
  • Added support for J1939 priority with compliant ISO-TP messages
  • Added support to read/write unsegmented CAN frames
  • New .NET Samples (C# and VB.NET)

Bug fix:

  • Fixed network communication errors with PCAN-PCI devices

2016-04-21 - Version 1.4.2

Improvements:

  • Added parameter PCANTP_PARAM_PADDING_VALUE to change CAN data padding value
  • Added support for additional PCAN-Basic channels (PCAN-Basic 4.x)
  • Updated N_As, N_Ar, N_Cr timeouts computing
  • Improved calculation of separation time between packages to take arbitration delays into account

Bug fixes:

  • Fixed timeout deadlock when calling PCANTP_Uninitialize with value PCANTP_NONEBUS
  • Fixed timeout computing of Seperation Time Min.
     

2015-09-09 - Version 1.4.1

Improvements:

  • ISO-TP Header files edited to support PCAN-Basic 4.x
  • Adjustments done to support some PassThru configurations (J2534)

2015-08-13 - Version 1.3.0

Improvements:

  • Added 'PCANTP_PARAM_RECEIVE_EVENT' parameter for message reception over event notification
  • General performance improved

2015-08-04 - Version 1.2.0

Improvements:

  • Added reception support for (non-ISO-TP) CAN frames
  • Added value PCANTP_CAN_UNFORMATTED_ALL_FRAMES which allows to retrieve all ISO-TP fragmented messages as CAN frames
  • Added the new function PCANTP_GetErrorText for Error-Text retrieving
  • Enhancement with Mappings: New possibilty to register mappings with the same CAN ID but different CAN ID responses (used with Extended Addressing)
  • Thread management performance improved (thread synchronization)
  • Message processing performance improved (fetching procedure)

Bug fixes:

  • There was a problem when transmitting short (unsegmented) and large (segmented) ISO-TP messages at the same time

2015-05-21 - Version 1.1.0

Improvements:

  • New structure for managing timestamps
  • CANTP_Read supports a new parameter to return the time when the message was received
  • The parameter PCANTP_PARAM_SEPARATION_TIME now handles microseconds
  • Examples were updated as well as the help file

2014-11-14 - Version 1.0.0

  • First Release