Skip to content

mac-can/KvaserCAN-SwiftCAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Demo Program for Kvaser CAN USB Interfaces (macOS®)

Copyright © 2021-2023 Uwe Vogt, UV Software, Berlin (info@mac-can.com)

Running CAN on Mac®

Running CAN and CAN FD on Mac is the mission of the MacCAN project. The macOS driver for CAN Leaf interfaces from Kvaser is based on MacCAN-Core which is an abstraction (or rather a wrapper) of Apple´s IOUsbKit to create USB user-space drivers for CAN interfaces from various vendors under macOS.

SwiftCAN-KvaserCAN

This repo contains only a little example program that uses the MacCAN-KvaserCAN Swift wrapper as a required package dependency. Feel free to modify the program.

MacCAN-KvaserCAN Swift Wrapper

Visit my GitHub Pages to learn more about the macOS driver and SDK for Kvaser CAN USB interfaces.

Supported CAN Leaf Hardware

  • Kvaser Leaf Light v2 (EAN: 73-30130-00685-0)
  • Kvaser Leaf Pro HS v2 (EAN: 73-30130-00843-4)

Known Bugs and Caveats

  • For a list of known bugs and caveats see tab Issues in the GitHub repo.

This and That

Licenses

SwiftCAN-KvaserCAN License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

MacCAN-KvaserCAN License

MacCAN-KvaserCAN 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). The terms of the GNU General Public License v3.0 (or any later version) apply to this program, see above.

Trademarks

Mac and macOS are trademarks of Apple Inc., registered in the U.S. and other countries.
All other company, product and service names mentioned herein may be trademarks, registered trademarks, or service marks of their respective owners.

Hazard Note

If you connect your CAN device to a real CAN network when using this library, you might damage your application.

Contact

E-Mail: mailto://info@mac.can.com
Internet: https://www.mac-can.com

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages