source: pacpussensors/trunk/CanGateway/driver/SoftingCanDriver.cpp@ 140

Last change on this file since 140 was 86, checked in by phudelai, 9 years ago

Socket:

  • Despecialisation de PacpusUDPSocket (anciennement spécialisée Airplug)
  • Ajout d'une classe UDPSocket

CanDriver:

  • Préparation au code du driver CAN Softing
  • Ajout des libs pour la compilation
File size: 916 bytes
RevLine 
[86]1/*********************************************************************
2// created: 2015/04/29
3// filename: SoftingCanDriver.h
4//
5// author: Pierre Hudelaine
6// Copyright Heudiasyc UMR UTC/CNRS 7253
7//
8// version: $Id: $
9//
10// purpose: driver interface to use softing hardware
11*********************************************************************/
12
13
14#include "SoftingCanDriver.h"
15#include "Pacpus/kernel/Log.h"
16#include "../CanFrame.h"
17
18using namespace pacpus;
19using namespace std;
20
21DECLARE_STATIC_LOGGER("pacpus.base.SoftingCanDriver");
22
23
24SoftingCanDriver::SoftingCanDriver(void)
25{
26 LOG_INFO("Notice : SOFTING CAN Driver used\n");
27
28}
29
30
31SoftingCanDriver::SoftingCanDriver(int channel, unsigned baudrate)
32{
33 LOG_INFO("Notice : SOFTING CAN Driver used\n");
34
35}
36
37SoftingCanDriver::initialize()
38{
39 LOG_INFO("Notice : SOFTING CAN Driver used\n");
40
41}
Note: See TracBrowser for help on using the repository browser.