beautypg.com

Introduction, Hd can module programmer’s guide (linux) – Hatteland Display HT B22 (Fanless) User Manual

Page 4

background image

DOC101356-1_ - rev 2 – 2013-09-24 - Created by:6644

Page 4 of 24

Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway

Tel: (+47) 4814 2200 - [email protected] - www.hatteland-display.com

HD CAN Module Programmer’s Guide (Linux)

All intellectual properties belongs to Hatteland Display AS

1. Introduction

Along with the Hatteland Display external CAN module, a library set is provided for customized
development under Linux environment. It provides the full control of the target CAN module, such as

Device Open/Close, Communication Module Connect/Disconnect, Message Send/Receive and Periodic
Message send.
The Library for CAN module is provided in the form of dynamic library (.so) for Linux. The

programmer has to perform certain settings to make sure it is linked in the project.
In addition, here comes with an example test application to introduce how to initialize and call all the

APIs for CAN module.
In the Appendix, the full API maps are listed.
The CAN Library is supporting the following Distributions of Linux:

Fedora 15, kernel 2.6.38, architecture 32 bit

Fedora 15, kernel 2.6.38, architecture 64 bit

openSUSE 11.4, kernel 2.6.37, architecture 32 bit

openSUSE 11.4, kernel 2.6.37, architecture 64 bit

Ubuntu 10.04.4 LTS Desktop, kernel 2.6.32–38, architecture 32 bit

Ubuntu 10.04.4 LTS Desktop, kernel 2.6.32–38, architecture 64 bit

Ubuntu 10.04.4 LTS Server, kernel 2.6.32–38, architecture 32 bit

Ubuntu 10.04.4 LTS Server, kernel 2.6.32–38, architecture 64 bit

Ubuntu 12.04 LTS Desktop, kernel 3.2.0–23, architecture 32 bit

Ubuntu 12.04 LTS Desktop, kernel 3.2.0–23, architecture 64 bit

Ubuntu12.04 LTS Server, kernel 3.2.0–23, architecture 32 bit

Ubuntu 12.04 LTS Server, kernel 3.2.0–23, architecture 64 bit