Support of SocketCAN

Access to CAN bus under Linux

All AnaGate CAN products can be controlled by SocketCAN.

Karlsruhe. June 2015.

Over the last few years Analytica offers professional products for access to CAN networks. Up to now all CAN adapters of Analytica can be uniquely controlled by an universal programming library for Windows and Linux.

The SocketCAN interface

SocketCAN is an official part of the linux kernel and therefore the standard interface to CAN field bus hardware under Linux operating systems. It was contributed by Volkswagen as open source to the kernel - formerly know as Low Level CAN Framework (LLCF).

Traditional CAN drivers are based on a character oriented model often in exclusive access mode. Typically the access to different CAN resources is differently presented to the application layer, which results in portability problems. The SocketCAN concept extends the Berkely Socket API of the operating system by introducing a new protocol family (PF_CAN) for access of available CAN bus hardware. Initialization and usage of the sockets is quite identically to classic TCP/IP communication. 

Supported AnaGate CAN products

SocketCAN may be used as an alternative programming interface to the already existing AnaGate API with all AnaGate CAN bus adapters of Analytica including the models interconnected by ethernet. Additional information about SocketCAN and AnaGate CAN products can be found in the programmer's manual AnaGate API 2.0.

Please contact us, if you need further information about SocketCAN and our gateways.

Find Us
Language
English Deutsch