etisserant@41: /* etisserant@41: etisserant@41: This file is not part of CanFestival. etisserant@41: This is third party contributed file. etisserant@41: etisserant@41: It is provided as-this and without any warranty etisserant@41: etisserant@41: */ etisserant@41: etisserant@41: //**************************************************************************** etisserant@41: // Copyright (C) 2006 PEAK System-Technik GmbH etisserant@41: // etisserant@41: // linux@peak-system.com etisserant@41: // www.peak-system.com etisserant@41: // etisserant@41: // This part of software is proprietary. It is allowed to etisserant@41: // distribute it with CanFestival. etisserant@41: // etisserant@41: // No warranty at all is given. etisserant@41: // etisserant@41: // Maintainer(s): Edouard TISSERANT (edouard.tisserant@lolitech.fr) etisserant@41: //**************************************************************************** etisserant@41: etisserant@41: /* etisserant@42: Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Wed Aug 9 08:28:43 2006 etisserant@41: */ etisserant@42: #define pcan_o getenv etisserant@42: #define pcan_6 strtol etisserant@42: #define pcan_v NULL etisserant@42: #define pcan_37 typedef etisserant@42: #define pcan_53 struct etisserant@42: #define pcan_11 char etisserant@42: #define pcan_41 TASK_HANDLE etisserant@42: #define pcan_5 receiveTask etisserant@42: #define pcan_26 CO_Data etisserant@42: #define pcan_s d etisserant@42: #define pcan_27 s_BOARD etisserant@42: #define pcan_l board etisserant@42: #define pcan_48 pthread_mutex_t etisserant@42: #define pcan_40 PTHREAD_MUTEX_INITIALIZER etisserant@42: #define pcan_14 void etisserant@42: #define pcan_m CAN_HANDLE etisserant@41: #define pcan_d if etisserant@42: #define pcan_55 CAN2_Init etisserant@41: #define pcan_20 baudrate etisserant@42: #define pcan_y CAN_INIT_TYPE_ST etisserant@41: #define pcan_j else etisserant@42: #define pcan_57 CAN_Init etisserant@42: #define pcan_u UNS8 etisserant@41: #define pcan_17 canReceive etisserant@42: #define pcan_8 Message etisserant@41: #define pcan_f data etisserant@42: #define pcan_24 TPCANMsg etisserant@42: #define pcan_13 DWORD etisserant@42: #define pcan_19 pthread_mutex_lock etisserant@42: #define pcan_31 CAN2_Read etisserant@42: #define pcan_51 CAN_Read etisserant@41: #define pcan_w CAN_ERR_OK etisserant@42: #define pcan_n MSGTYPE etisserant@42: #define pcan_28 MSGTYPE_STANDARD etisserant@42: #define pcan_15 MSGTYPE_RTR etisserant@42: #define pcan_23 CAN_ERR_BUSOFF etisserant@42: #define pcan_2 printf etisserant@42: #define pcan_x usleep etisserant@42: #define pcan_z pthread_mutex_unlock etisserant@42: #define pcan_q return etisserant@42: #define pcan_32 MSGTYPE_STATUS etisserant@42: #define pcan_12 DATA etisserant@42: #define pcan_50 CAN_ERR_OVERRUN etisserant@42: #define pcan_16 cob_id etisserant@42: #define pcan_25 w etisserant@41: #define pcan_18 ID etisserant@42: #define pcan_9 rtr etisserant@42: #define pcan_1 len etisserant@42: #define pcan_7 LEN etisserant@41: #define pcan_3 for etisserant@42: #define pcan_47 canReceiveLoop etisserant@42: #define pcan_21 while etisserant@42: #define pcan_30 EnterMutex etisserant@42: #define pcan_54 canDispatch etisserant@42: #define pcan_35 LeaveMutex etisserant@42: #define pcan_33 CAN_ERR_QRCVEMPTY etisserant@42: #define pcan_42 CAN_ERR_BUSLIGHT etisserant@42: #define pcan_49 CAN_ERR_BUSHEAVY etisserant@42: #define pcan_43 canSend etisserant@42: #define pcan_p errno etisserant@42: #define pcan_36 do etisserant@42: #define pcan_56 CAN2_Write etisserant@42: #define pcan_46 CAN_Write etisserant@42: #define pcan_44 canOpen etisserant@42: #define pcan_22 int etisserant@42: #define pcan_45 break etisserant@42: #define pcan_4 fprintf etisserant@42: #define pcan_10 stderr etisserant@42: #define pcan_34 CreateReceiveTask etisserant@42: #define pcan_59 canClose etisserant@42: #define pcan_52 CAN2_Close etisserant@42: #define pcan_38 CAN_Close etisserant@42: #define pcan_29 WaitReceiveTaskEnd