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