Changeset 86 in pacpussensors for trunk/CanGateway/driver


Ignore:
Timestamp:
Jun 3, 2015, 3:42:58 PM (9 years ago)
Author:
phudelai
Message:

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
Location:
trunk/CanGateway/driver
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CanGateway/driver/CanDriver.h

    r59 r86  
    1515
    1616
    17 
    1817#ifndef _CANDRIVER_H_
    1918#define _CANDRIVER_H_
    2019
    2120
    22 #define VECTOR_CAN_DRIVER     1
    23 #define NI_CAN_DRIVER         2
    24 #define VECTOR_CANXL_DRIVER         3
    25 #define  PEAK_CAN_DRIVER 4
    26 #define  IGEP_CAN_DRIVER 5     
    27 #define  PEAK_CAN_DRIVER 6
     21#define VECTOR_CAN_DRIVER       1
     22#define NI_CAN_DRIVER           2
     23#define VECTOR_CANXL_DRIVER     3
     24#define PEAK_CAN_DRIVER         4
     25#define IGEP_CAN_DRIVER         5       
     26#define PEAK_CAN_DRIVER_WIN     6
     27#define SOFTING_CAN_DRIVER      7
     28
    2829
    2930#if CAN_DRIVER_TYPE == VECTOR_CAN_DRIVER
     
    3334#include "NiCanDriver.h"
    3435#define CanDriverType NiCanDriver
     36#elif CAN_DRIVER_TYPE == VECTOR_CANXL_DRIVER
     37#include "XLVectorCanDriver.h"
     38#define CanDriverType XLVectorCanDriver
    3539#elif CAN_DRIVER_TYPE == PEAK_CAN_DRIVER
    3640#include "PeakCanDriver.h"
    3741#define CanDriverType PeakCanDriver
     42#elif CAN_DRIVER_TYPE == IGEP_CAN_DRIVER
     43#include "igepCanDriver.h"
     44#define CanDriverType igepCanDriver
    3845#elif CAN_DRIVER_TYPE == PEAK_CAN_DRIVER_WIN
    3946#include "PeakCanDriverWin.h"
    4047#define CanDriverType PeakCanDriverWin
    41 #elif CAN_DRIVER_TYPE == IGEP_CAN_DRIVER
    42 #include "igepCanDriver.h"
    43 #define CanDriverType igepCanDriver
    44 #elif CAN_DRIVER_TYPE == VECTOR_CANXL_DRIVER
    45 #include "XLVectorCanDriver.h"
    46 #define CanDriverType XLVectorCanDriver
     48#elif CAN_DRIVER_TYPE == SOFTING_CAN_DRIVER
     49#include "SoftingCanDriver.h"
     50#define CanDriverType SoftingCanDriver
    4751#else
    4852#define CanDriverType CanDriverUnknown
Note: See TracChangeset for help on using the changeset viewer.