ODALID Librairie Carte MIFARE
v0.5
Chargement...
Recherche...
Aucune correspondance
Hardware.h
Aller à la documentation de ce fichier.
1
/*
2
*
3
* Copyright (c) 2009-2021 ODALID - https://odalid.com
4
*
5
*/
6
15
#ifndef HARDWARE_H
16
#define HARDWARE_H
17
18
#include "
TypeDefs.h
"
19
20
#define ReaderTCP 1
21
#define ReaderCDC 2
22
#define ReaderPCSC 3
24
#define DataMem 512
26
#define MAX_WAIT_READ_TO_BIT 1
27
#define MAX_WAIT_READ 3000
29
#define BlockingEnabled FALSE
38
typedef
struct
{
39
uint8_t
Type
;
40
uint8_t
device
;
41
char
IPReader[16];
42
uint16_t
nPort
;
43
SOCKET
hSocket
;
44
HANDLE
hCOM
;
45
char
version[40];
46
uint8_t
serial[11];
47
char
stack[30];
48
}
49
ReaderName
;
50
51
#endif
/*HARDWARE_H*/
TypeDefs.h
uint16_t
unsigned short uint16_t
16 bit non signe
Definition
TypeDefs.h:44
uint8_t
unsigned char uint8_t
BOOL.
Definition
TypeDefs.h:37
ReaderName
Objet contenant les informations du Reader.
Definition
Hardware.h:38
ReaderName::device
uint8_t device
Definition
Hardware.h:40
ReaderName::hCOM
HANDLE hCOM
Definition
Hardware.h:44
ReaderName::nPort
uint16_t nPort
Definition
Hardware.h:42
ReaderName::hSocket
SOCKET hSocket
Definition
Hardware.h:43
ReaderName::Type
uint8_t Type
Definition
Hardware.h:39
source
Common
Hardware.h
Généré par
1.12.0