-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from mac-can/development
Release candidate 1 for version 0.3.1
- Loading branch information
Showing
66 changed files
with
7,692 additions
and
1,649 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
### macOS® User-Space Driver for TouCAN USB Interfaces from Rusoku | ||
|
||
_Copyright © 2020-2024 Uwe Vogt, UV Software, Berlin ([email protected])_ | ||
_Copyright © 2020-2024 Uwe Vogt, UV Software, Berlin ([email protected])_ | ||
|
||
![macOS Build](https://github.com/mac-can/RusokuCAN.dylib/actions/workflows/macos-build.yml/badge.svg) | ||
|
||
|
@@ -131,13 +131,13 @@ Type `can_test --help` to display all program options. | |
#### macOS Sonoma | ||
- macOS Sonoma (14.4.1) on a Mac mini (M1, 2020) | ||
- macOS Sonoma (14.5) on a Mac mini (M1, 2020) | ||
- Apple clang version 15.0.0 (clang-1500.3.9.4) | ||
- Xcode Version 15.3 (15E204a) | ||
- Xcode Version 15.4 (15F31d) | ||
#### macOS Monterey | ||
- macOS Monterey (12.7.4) on a MacBook Pro (2019) | ||
- macOS Monterey (12.7.5) on a MacBook Pro (2019) | ||
- Apple clang version 13.0.0 (clang-1300.0.29.30) | ||
- Xcode Version 13.2.1 (13C100) | ||
|
@@ -153,16 +153,14 @@ For a list of known bugs and caveats see tab [Issues](https://github.com/mac-can | |
### CAN API V3 Reference | ||
A generic documentation of the CAN API V3 application programming interface can be found [here](https://uv-software.github.io/CANAPI-Docs/#/). | ||
A generic documentation of the CAN API V3 application programming interface can be found [here](https://uv-software.github.io/CANAPI-Docs). | ||
### Dual-License | ||
Except where otherwise noted, this work is dual-licensed under the terms of the BSD 2-Clause "Simplified" License | ||
and under the terms of the GNU General Public License v3.0 (or any later version). | ||
You can choose between one of them if you use these portions of this work in whole or in part. | ||
`SPDX-License-Identifier: BSD-2-Clause OR GPL-3.0-or-later` | ||
### Trademarks | ||
Mac and macOS are trademarks of Apple Inc., registered in the U.S. and other countries. \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.svn/ | ||
.svn | ||
# we don't use the JSON files yet | ||
can_dev.? | ||
vanilla.? | ||
# other blacklisted files | ||
SerialCAN_Defines.h | ||
SocketCAN_Defines.h | ||
RocketCAN_Defines.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,9 +49,9 @@ | |
* | ||
* @brief CAN API V3 for generic CAN Interfaces - Definitions and Options | ||
* | ||
* @author $Author: eris $ | ||
* @author $Author: quaoar $ | ||
* | ||
* @version $Rev: 1270 $ | ||
* @version $Rev: 1293 $ | ||
* | ||
* @addtogroup can_api | ||
* @{ | ||
|
@@ -79,23 +79,25 @@ extern "C" { | |
|
||
/** @name Library IDs | ||
* @brief Unique IDs to identify a CAN API library (CAN API V1 compatible) | ||
* @note These defines are still valid, but IDs are taken from JSON files. | ||
* @{ */ | ||
#define CANLIB_IXXAT_VCI 100 /**< IXXAT Virtual CAN interfaces */ | ||
#define CANLIB_IXXAT_CAC 800 /**< IXXAT canAnalyzer/32 Client */ | ||
#define CANLIB_PEAK_PCAN 200 /**< PEAK PCAN interfaces */ | ||
#define CANLIB_PEAK_PCAN 200 /**< PEAK PCAN-Light interfaces */ | ||
#define CANLIB_VECTOR_XL 300 /**< Vector XL-Driver library */ | ||
#define CANLIB_PCANBASIC 400 /**< PEAK PCAN-Basic interfaces */ | ||
#define CANLIB_RUSOKU_LT 500 /**< Rusuko TouCAN interfaces */ | ||
#define CANLIB_RUSOKU_LT 500 /**< Rusoku TouCAN interfaces */ | ||
#define CANLIB_KVASER_32 600 /**< Kvaser CANLIB (canlib32) */ | ||
#define CANLIB_ROCKETCAN 700 /**< CAN-over-IP (RocketCAN) */ | ||
#define CANLIB_SERIALCAN 900 /**< Serial-Line (SerialCAN) */ | ||
#define CANLIB_SOCKETCAN 1000 /**< Linux CAN (SocketCAN) */ | ||
#define CANLIB_SOCKETCAN 1000 /**< Linux-CAN (SocketCAN) */ | ||
#define CANLIB_CANAPILIB (-1) /**< CAN API Main Library */ | ||
/** @note Peak's PCAN-Light DLL is outdated, so the library ID can be reused. | ||
/** @note PCAN-Light is outdated, its ID is reused by macCAN-PeakCAN. | ||
* @} */ | ||
|
||
/** @name Library Names | ||
* @brief Filenames of the CAN API libraries (depending on the platform) | ||
* @note Theses defines are outdated. DLL names are taken from JSON files. | ||
* @{ */ | ||
#if defined(__linux__) | ||
#define CANAPI_PLATFORM "Linux" | ||
|
@@ -154,9 +156,9 @@ extern "C" { | |
#define CAN_API_WEBSITE "www.uv-software.com" | ||
#define CAN_API_CONTACT "[email protected]" | ||
#define CAN_API_LICENSE "BSD-2-Clause OR GPL-3.0-or-later" | ||
#define CAN_API_COPYRIGHT "Copyright (c) 2005-20%02u, UV Software, Berlin" | ||
#define CAN_API_HAZARD_NOTE "Do not connect your CAN device to a real CAN network when using this program.\n" \ | ||
"This can damage your application." | ||
#define CAN_API_COPYRIGHT "Copyright (c) 2004-20%02u, UV Software, Berlin" | ||
#define CAN_API_HAZARD_NOTE "If you connect your CAN device to a real CAN network when using this library,\n" \ | ||
"you might damage your application." | ||
/** @} */ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
### CAN Interface API, Version 3 | ||
|
||
_Copyright © 2004-2024 Uwe Vogt, UV Software, Berlin ([email protected])_ \ | ||
_Copyright © 2004-2024 Uwe Vogt, UV Software, Berlin ([email protected])_ \ | ||
_All rights reserved._ | ||
|
||
Version $Rev: 1270 $ | ||
Version $Rev: 1312 $ | ||
|
||
# A CAN Interface Wrapper Specification | ||
|
||
|
@@ -69,13 +69,17 @@ See header file `can_api.h` for a description of the provided functions. | |
A generic documentation of the CAN API V3 application programming interface can be found [here](https://uv-software.github.io/CANAPI-Docs/#/). | ||
### vanilla-json | ||
The implementation is using [vanilla-json](https://github.com/uv-software/vanilla-json) to read CAN API wrapper configurations from JSON files. | ||
**vanilla-json** is a very simple JSON parser by UV Software written in C90, and it has the same dual-license model as CAN API V3; see below. | ||
### Dual-License | ||
This work is dual-licensed under the terms of the BSD 2-Clause "Simplified" License and under the terms of the GNU General Public License v3.0 (or any later version). | ||
You can choose between one of them if you use this work in whole or in part. | ||
`SPDX-License-Identifier: BSD-2-Clause OR GPL-3.0-or-later` | ||
### Contact | ||
E-Mail: mailto://[email protected] \ | ||
|
Oops, something went wrong.