socan 1.2.1
Linux SocketCAN higher level library
Loading...
Searching...
No Matches

Table of Contents

      socan - A high level CAN bus library based on SocketCAN

Copyright 2025 Helmholtz-Zentrum Berlin für Materialien und Energie GmbH https://www.helmholtz-berlin.de

Author: Goetz Pfeiffer Goetz.nosp@m..Pfe.nosp@m.iffer.nosp@m.@hel.nosp@m.mholt.nosp@m.z-be.nosp@m.rlin..nosp@m.de

socan 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.

socan 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 socan. If not, see https://www.gnu.org/licenses/.

Introduction

socan is a CAN bus library that implements higher level functions to use the CAN bus on linux systems. It is based on the SocketCAN interface, that is part of the Linux kernel.

socan consists of two parts:

  • socan: The object layer library that implements types and functions for CAN objects. This library is described at socan.h.
  • sci: The library that implements the simple CAN interface (SCI) that was developed at the Helmholtz Zentrum Berlin as an API for accessing the CAN bus. sci uses the socan object layer library. sci is described at sci.h.

socan can be used together with MultiCAN to provide an interface to the CAN Bus with EPICS complete with CANOpen and CAN Application Layer support.