Releases: uv-software/PCANBasic-Wrapper
Releases · uv-software/PCANBasic-Wrapper
Release of February 28, 2025
Major changes:
- Updated PCANBasic DLL to v4.10.0 (964)
- Updated CAN API V3 sources to rev. 1467
- Added an ASCII parser for CAN messages*
- Added property
PEAKCAN_PROPERTY_DEVICE_GUID**
- Updated GoogleTest framework to v1.15.2
- Updated CAN API V3 testing to rev. 1412
- Few plastic surgeries
- Updated CAN API V3 utilities to rev. 1481
- Added new utility
can_send - Optimized commandline argument handling
- Added new utility
- Updated Python wrapper to v0.3.2
- Updated C++ examples
*) The syntax is taken from SocketCAN utility can-utils/cansend
**) But it isn't supported by my PCAN devices :(
Service Release of August 2, 2024
Major changes:
- Updated CAN API V3 sources to rev. 1356
- Updated GoogleTest framework to v1.15.0
- Updated CAN API V3 testing to rev. 1373
- Updated CAN API V3 utilities to rev. 1375
- Added an option to send extended frames (
can_test) - Fixed a bug with receiving extended frames (
can_moni)
- Added an option to send extended frames (
Service Release of June 12, 2024
Major changes:
- Updated PCANBasic DLL (version 4.9.0)
- Updated CAN API V3 sources to rev. 1312
- Updated CAN API V3 testing sources to rev. 1336
- Removed upper size limit of string properties
- Reworked CAN API V3 return values (C vs. C++)
- Optimized PeakCANBasic wrapper (
can_api.c) - Integrated generic CAN API V3 Utilities (re. 1323)
- Updated release documents
Release of April 23, 2024
Major changes:
- Added an unified version file
- Recreated the library projects
- Updated all MSBuild environments
- Updated PCANBasic DLL (version 4.8.2)
- Updated CAN API V3 sources to rev. 1270
- Updated CAN API V3 testing sources to rev. 1273
- Removed unused attributes from class
CPealCAN - Changed the resolution of
CTimerto 64 bit - Implemented identifier acceptance filtering
- Added test suites for acceptance filtering
- Added filtering option to utility
can_moni - Added option
/LIST-BITRATESto the utilities - Fixed a bug with flag
ESIin TC05.20 - Fixed a bug with Peak vs. CiA bit-rate settings
- Fixed compiler warnings with legacy CAN 2.0 frame format
- Updated the Python wrapper
- Updated the examples
Service Release of November 8, 2023
Major changes:
- Updated PCANBasic DLL (version 4.8.0)
- Updated CAN API V3 sources to rev. 1212
- Updated CAN API V3 testing sources to rev. 1219
- Updated the trial program
- Updated deployment rules
Service Release of September 19, 2023
Major changes:
- Updated CAN API V3 testing sources to rev. 1201
- Updated CAN API V3 sources to rev. 1187 and applied the changes
- Fixed a small bug in
btr_compare_bitrates - Reworked formatting of message flags
- Fixed a small bug in
- Reworked handling of receive queue empty
- Made the utilities more generic
- Updated the Python examples
Service Release of August 25, 2023
Major changes:
- Migrated to VS 2022 (version 17.7.2)
- Updated PCANBasic DLL (version 4.7.1)
- Updated CAN API V3 sources to rev. 1155 and apply the changes:
- Added old error code -40 as
queue overrun errorand renumbered errorerror frame receivedfrom -40 to -19 - Removed unused error code
CANERR_ERR_FRAME(note: the error code -19 is marked as reserved) - Removed flag
fdoeandbrsefrom structcan_speed_t(note: the flags are marked as reserved) - Integrated reworked module
can_btr:btr_check_bitrate: if FDOE w/o BRSE then check data phase field acc.OPTION_CANBTR_DATA_FIELDSbtr_bitrate2speed: no range checks anymore, calculation is done completely in floatbtr_bitrate2index: returns the index if an index is givenbtr_bitrate2string: no range checks anymorebtr_sja10002bitrate: set data phase field acc.OPTION_CANBTR_DATA_FIELDSbtr_compare_bitrates: comparision on basis of transmission rates (new function)- Removed flag
fdoeandbrsefrom structbtr_speed_t(standalone variant) - Documented all interface functions by Doxygen comments
- Added header file
CANBTR_Defaults.h - Reworked the bit-rate string scanner (
btr_string2bitrate):- Return a flag if any data phase key is found
- Return a flag if no. samp. key is found
- Return
BTRERR_ILLPARAon error - Removed the range checks
- Set miminum frequency to 1
- Checked for duplicated keys
- Accept only case sensitive keys
- Reworked the bit-rate string printer (
btr_bitrate2string):- Added a parameter to output data phase keys
- Added a parameter to output no. samp. key
- Added a parameter for maximum buffer size
- Fixed a bug with
strtolif a correct value is outside the range of representable values (note:longis 32 bit wide for MS compilers and 64 bit for gcc based compilers!)
- Added property values for transmit queue properties (note: values for filtering has been shifted by 8)
- Fixed a bug with saturation of CAN FD DLC conversion
- Updated description of compiler switches
- Added old error code -40 as
- Reworked handling of status and error frames
- Removed old bit-rate mapping functions
- Fixed a bug with property
GET_DEVICE_NAME - Synchronized the Utilities with MacCAN-Wrapper
- Fixed an issue with option
--verbose
- Fixed an issue with option
- Added CAN API V3 Tests with GoogleTest
Service Release of August 3, 2022
Major changes:
- Updated CAN API V3 sources to rev. 1082
- Fixed a bug with transceiver off in function
can_reset - Fixed a bug with field
SAMin BTR0BTR1 register - Fixed a bug with BTR0BTR1 register in CAN FD mode
- Fixed a bug with mapping CAN FD bit-rate settings to Peak bit-rate string
- Fixed a bug with uncleared initialization flag when all channels released
- Realized feature
NXTDandNRTR(software solution) - Updated class
CPeakCAN(some property keys) - Updated the trial program
- Updated the utilities
Service Release of February 7, 2022
Major changes:
- Updated CAN API sources to rev. 1036
- Fixed a bug with message flag
stson reception - Fixed a bug with getting properties from device
- Changed resolution of property
GET_BUSLOAD - Implemented device property
GET_CAN_CHANNEL - Added a check for minimum required PCANBasic DLL version (4.5 or later)
- Added two operations to class
CPeakCANto query channel information - Updated the utilities to get the list of CAN channels from the library
Service Release of January 4, 2022
Major changes:
- Updated PCANBasic DLL (version 4.6.0)
- Updated CAN API sources to rev. 1020 and applied the changes
- Resolved firmware version vs. software version confusion
- Fixed an issue with missing copy constructor (avoid dynamic allocation of class members)
- Fixed some bugs with getting properties from device and from library:
- accept NULL pointer for
SET_FIRST_CHANNELandSET_NEXT_CHANNEL - getting device properties requires a valid handle
- string values must be at least one byte in size
- accept NULL pointer for
- Fixed some issues with vendor-specific property values
- Fixed findings from static code analysis (incl. C statement style)
- Updated Python examples (although they do not work under Windows)
- Updated my beloved utilities (and added GPL license text)