BALTECH SDK wrapper functions reference
typedefs.h
Go to the documentation of this file.
1 
4 #ifndef __BRP_BALTECH_API_TYPEDEFS_H__
5 #define __BRP_BALTECH_API_TYPEDEFS_H__
6 
7 #include "brp_lib.h"
8 
9 #include <limits.h>
10 #if UINT_MAX < 0xFFFFFFFF
11 #error "baltech_api requires unsigned with a size of >=32bits"
12 #endif
13 
14 #define BRP_BALTECH_API_VERSION "D-40200"
15 
18 typedef struct {
22  bool TTF;
26  bool Hitag2B;
30  bool Hitag2M;
34  bool Hitag1S;
38  bool HidIoprox;
42  bool HidProx;
46  bool HidAwid;
50  bool HidIndala;
54  bool Quadrakey;
58  bool Keri;
62  bool HidProx32;
66  bool Pyramid;
70  bool EM4450;
74  bool EM4100;
78  bool EM4205;
83 typedef struct {
87  bool Idteck;
91  bool Cotag;
99  bool GProx;
103  bool SecuraKey;
111 typedef unsigned brp_DesfireKeyIdx;
115 typedef enum {
129 } brp_FileType;
130 static inline bool brp_FileType_is_valid(int val) {
131  switch (val) {
132  case 0: /* FileByDfName*/
133  case 1: /* FileByFileId*/
134  case 2: /* FileByApduCmd*/
135  return true;
136  default:
137  return false;
138  }
139 }
157 typedef struct {
172 typedef struct {
176  bool EnableCRC;
183 typedef struct {
187  bool CRC16bit;
192 typedef struct {
196  bool Secure;
200  bool KeyB;
205 typedef enum {
230 static inline bool brp_MifarePlusKeyMemoryType_is_valid(int val) {
231  switch (val) {
232  case 0: /* CryptoKey*/
233  case 1: /* SamKey*/
234  case 2: /* ReaderChipKey*/
235  case 3: /* VhlKey*/
236  return true;
237  default:
238  return false;
239  }
240 }
244 typedef enum {
255 static inline bool brp_TemplateBitorder_is_valid(int val) {
256  switch (val) {
257  case 0: /* Lsb*/
258  case 1: /* Msb*/
259  return true;
260  default:
261  return false;
262  }
263 }
267 typedef enum {
277 } brp_Alignment;
278 static inline bool brp_Alignment_is_valid(int val) {
279  switch (val) {
280  case 0: /* Left*/
281  case 1: /* Right*/
282  return true;
283  default:
284  return false;
285  }
286 }
292 typedef struct {
302  bool BcdToBin;
310  bool Unpack;
320  bool BinToBcd;
328  bool Pack;
336  bool Reverse;
341 typedef enum {
356 static inline bool brp_AutoRunCommand_RunMode_is_valid(int val) {
357  switch (val) {
358  case 0: /* Standard*/
359  case 1: /* Continuous*/
360  case 2: /* Repeat*/
361  return true;
362  default:
363  return false;
364  }
365 }
369 typedef struct {
377  unsigned DeviceCode;
381  unsigned CommandCode;
392 typedef enum {
481 static inline bool brp_ProtocolID_is_valid(int val) {
482  switch (val) {
483  case 0: /* All*/
484  case 3: /* BrpSerial*/
485  case 4: /* BrpRs485*/
486  case 5: /* BrpHid*/
487  case 9: /* DebugInterface*/
488  case 16: /* Snet*/
489  case 17: /* Bpa9*/
490  case 32: /* Wiegand*/
491  case 33: /* Omron*/
492  case 34: /* ClkData*/
493  case 35: /* RawSerial*/
494  case 36: /* LowLevelIoPorts*/
495  case 40: /* HttpsClient*/
496  case 43: /* KeyboardEmulation*/
497  case 50: /* LBus*/
498  case 54: /* Ccid*/
499  case 55: /* RawSerial2*/
500  case 56: /* Osdp*/
501  case 59: /* BleHci*/
502  case 134: /* BrpTcp*/
503  return true;
504  default:
505  return false;
506  }
507 }
511 typedef enum {
546 static inline bool brp_MessageType_is_valid(int val) {
547  switch (val) {
548  case 0: /* Card*/
549  case 1: /* AlarmOn*/
550  case 2: /* AlarmOff*/
551  case 3: /* Keyboard*/
552  case 4: /* CardRemoval*/
553  case 5: /* FunctionKey*/
554  case 6: /* Logs*/
555  return true;
556  default:
557  return false;
558  }
559 }
563 typedef enum {
630 static inline bool brp_MaxBaudrateIso14443_is_valid(int val) {
631  switch (val) {
632  case 0: /* Dri106Dsi106*/
633  case 1: /* Dri212Dsi106*/
634  case 2: /* Dri424Dsi106*/
635  case 3: /* Dri848Dsi106*/
636  case 4: /* Dri106Dsi212*/
637  case 5: /* Dri212Dsi212*/
638  case 6: /* Dri424Dsi212*/
639  case 7: /* Dri848Dsi212*/
640  case 8: /* Dri106Dsi424*/
641  case 9: /* Dri212Dsi424*/
642  case 10: /* Dri424Dsi424*/
643  case 11: /* Dri848Dsi424*/
644  case 12: /* Dri106Dsi848*/
645  case 13: /* Dri212Dsi848*/
646  case 14: /* Dri424Dsi848*/
647  case 15: /* Dri848Dsi848*/
648  return true;
649  default:
650  return false;
651  }
652 }
658 typedef struct {
662  bool IsVersion;
666  bool IsDivInfo;
678  bool DenyWrite;
682  bool DenyRead;
687 typedef enum {
698 static inline bool brp_KeyAccessRights_DiversificationMode_is_valid(int val) {
699  switch (val) {
700  case 0: /* NoDiversification*/
701  case 2: /* ModeAv2*/
702  return true;
703  default:
704  return false;
705  }
706 }
710 typedef struct {
720  unsigned Version;
730  unsigned DivIdx;
735 typedef struct {
739  unsigned Page;
743  unsigned Idx;
748 typedef enum {
771 static inline bool brp_CryptoAlgorithm_is_valid(int val) {
772  switch (val) {
773  case 1: /* DES*/
774  case 2: /* TripleDES*/
775  case 3: /* ThreeKeyTripleDES*/
776  case 4: /* AES*/
777  case 5: /* MifareClassic*/
778  return true;
779  default:
780  return false;
781  }
782 }
783 #ifdef BALTECH_SDK_INTERNAL
784 
787 typedef enum {
791  brp_DHWCtrlGpioPort_A = 0,
795  brp_DHWCtrlGpioPort_B = 1,
799  brp_DHWCtrlGpioPort_C = 2,
803  brp_DHWCtrlGpioPort_D = 3,
807  brp_DHWCtrlGpioPort_E = 4,
811  brp_DHWCtrlGpioPort_F = 5,
815  brp_DHWCtrlGpioPort_G = 6,
819  brp_DHWCtrlGpioPort_H = 7,
823  brp_DHWCtrlGpioPort_I = 8,
827  brp_DHWCtrlGpioPort_J = 9,
831  brp_DHWCtrlGpioPort_K = 10,
835  brp_DHWCtrlGpioPort_L = 11,
839  brp_DHWCtrlGpioPort_M = 12,
843  brp_DHWCtrlGpioPort_N = 13,
847  brp_DHWCtrlGpioPort_O = 14,
851  brp_DHWCtrlGpioPort_P = 15,
855  brp_DHWCtrlGpioPort_Q = 16,
859  brp_DHWCtrlGpioPort_R = 17,
863  brp_DHWCtrlGpioPort_S = 18,
867  brp_DHWCtrlGpioPort_T = 19,
871  brp_DHWCtrlGpioPort_U = 20,
875  brp_DHWCtrlGpioPort_V = 21,
879  brp_DHWCtrlGpioPort_W = 22,
883  brp_DHWCtrlGpioPort_X = 23,
887  brp_DHWCtrlGpioPort_Y = 24,
891  brp_DHWCtrlGpioPort_Z = 25,
892  brp_DHWCtrlGpioPort_undefined = -1
893 } brp_DHWCtrlGpioPort;
894 static inline bool brp_DHWCtrlGpioPort_is_valid(int val) {
895  switch (val) {
896  case 0: /* A*/
897  case 1: /* B*/
898  case 2: /* C*/
899  case 3: /* D*/
900  case 4: /* E*/
901  case 5: /* F*/
902  case 6: /* G*/
903  case 7: /* H*/
904  case 8: /* I*/
905  case 9: /* J*/
906  case 10: /* K*/
907  case 11: /* L*/
908  case 12: /* M*/
909  case 13: /* N*/
910  case 14: /* O*/
911  case 15: /* P*/
912  case 16: /* Q*/
913  case 17: /* R*/
914  case 18: /* S*/
915  case 19: /* T*/
916  case 20: /* U*/
917  case 21: /* V*/
918  case 22: /* W*/
919  case 23: /* X*/
920  case 24: /* Y*/
921  case 25: /* Z*/
922  return true;
923  default:
924  return false;
925  }
926 }
930 typedef struct {
936  brp_DHWCtrlGpioPort Port;
940  unsigned Number;
941 } brp_DHWCtrlGpioPin;
945 typedef enum {
949  brp_DHWCtrlPinset_Pinset0 = 0,
953  brp_DHWCtrlPinset_Pinset1 = 1,
957  brp_DHWCtrlPinset_Pinset2 = 2,
961  brp_DHWCtrlPinset_Pinset3 = 3,
965  brp_DHWCtrlPinset_Pinset4 = 4,
969  brp_DHWCtrlPinset_Pinset5 = 5,
973  brp_DHWCtrlPinset_Pinset6 = 6,
977  brp_DHWCtrlPinset_Pinset7 = 7,
978  brp_DHWCtrlPinset_undefined = -1
979 } brp_DHWCtrlPinset;
980 static inline bool brp_DHWCtrlPinset_is_valid(int val) {
981  switch (val) {
982  case 0: /* Pinset0*/
983  case 1: /* Pinset1*/
984  case 2: /* Pinset2*/
985  case 3: /* Pinset3*/
986  case 4: /* Pinset4*/
987  case 5: /* Pinset5*/
988  case 6: /* Pinset6*/
989  case 7: /* Pinset7*/
990  return true;
991  default:
992  return false;
993  }
994 }
998 typedef enum {
1002  brp_DHWCtrlGpioLevel_Low = 0,
1006  brp_DHWCtrlGpioLevel_High = 1,
1007  brp_DHWCtrlGpioLevel_undefined = -1
1008 } brp_DHWCtrlGpioLevel;
1009 static inline bool brp_DHWCtrlGpioLevel_is_valid(int val) {
1010  switch (val) {
1011  case 0: /* Low*/
1012  case 1: /* High*/
1013  return true;
1014  default:
1015  return false;
1016  }
1017 }
1021 typedef enum {
1025  brp_DHWCtrlUsbPortState_Disconnected = 0,
1029  brp_DHWCtrlUsbPortState_Connected = 1,
1030  brp_DHWCtrlUsbPortState_undefined = -1
1031 } brp_DHWCtrlUsbPortState;
1032 static inline bool brp_DHWCtrlUsbPortState_is_valid(int val) {
1033  switch (val) {
1034  case 0: /* Disconnected*/
1035  case 1: /* Connected*/
1036  return true;
1037  default:
1038  return false;
1039  }
1040 }
1044 typedef enum {
1048  brp_DHWCtrlUsbTransferAttr_Bulk = 0,
1052  brp_DHWCtrlUsbTransferAttr_Interrupt = 1,
1056  brp_DHWCtrlUsbTransferAttr_Iso = 2,
1057  brp_DHWCtrlUsbTransferAttr_undefined = -1
1058 } brp_DHWCtrlUsbTransferAttr;
1059 static inline bool brp_DHWCtrlUsbTransferAttr_is_valid(int val) {
1060  switch (val) {
1061  case 0: /* Bulk*/
1062  case 1: /* Interrupt*/
1063  case 2: /* Iso*/
1064  return true;
1065  default:
1066  return false;
1067  }
1068 }
1072 typedef enum {
1076  brp_DHWCtrlEthLinkState_Down = 0,
1080  brp_DHWCtrlEthLinkState_Up = 1,
1081  brp_DHWCtrlEthLinkState_undefined = -1
1082 } brp_DHWCtrlEthLinkState;
1083 static inline bool brp_DHWCtrlEthLinkState_is_valid(int val) {
1084  switch (val) {
1085  case 0: /* Down*/
1086  case 1: /* Up*/
1087  return true;
1088  default:
1089  return false;
1090  }
1091 }
1095 typedef enum {
1099  brp_DHWCtrlEtherType_IPv4 = 2048,
1103  brp_DHWCtrlEtherType_ARP = 2054,
1107  brp_DHWCtrlEtherType_ReverseARP = 32821,
1111  brp_DHWCtrlEtherType_IPv6 = 34525,
1115  brp_DHWCtrlEtherType_VlanTagged = 33024,
1119  brp_DHWCtrlEtherType_ServiceVlanTagged = 34984,
1123  brp_DHWCtrlEtherType_LACP = 34825,
1127  brp_DHWCtrlEtherType_MplsUnicast = 34887,
1131  brp_DHWCtrlEtherType_MplsMulticast = 34888,
1135  brp_DHWCtrlEtherType_LLDP = 35020,
1139  brp_DHWCtrlEtherType_MACsec = 35045,
1143  brp_DHWCtrlEtherType_Loopback = 36864,
1144  brp_DHWCtrlEtherType_undefined = -1
1145 } brp_DHWCtrlEtherType;
1146 static inline bool brp_DHWCtrlEtherType_is_valid(int val) {
1147  switch (val) {
1148  case 2048: /* IPv4*/
1149  case 2054: /* ARP*/
1150  case 32821: /* ReverseARP*/
1151  case 33024: /* VlanTagged*/
1152  case 34525: /* IPv6*/
1153  case 34825: /* LACP*/
1154  case 34887: /* MplsUnicast*/
1155  case 34888: /* MplsMulticast*/
1156  case 34984: /* ServiceVlanTagged*/
1157  case 35020: /* LLDP*/
1158  case 35045: /* MACsec*/
1159  case 36864: /* Loopback*/
1160  return true;
1161  default:
1162  return false;
1163  }
1164 }
1165 #endif // BALTECH_SDK_INTERNAL
1166 
1171 typedef enum {
1190 static inline bool brp_DivisorInteger_is_valid(int val) {
1191  switch (val) {
1192  case 0: /* Kbps106*/
1193  case 1: /* Kbps212*/
1194  case 2: /* Kbps424*/
1195  case 3: /* Kbps848*/
1196  return true;
1197  default:
1198  return false;
1199  }
1200 }
1201 #ifdef BALTECH_SDK_INTERNAL
1202 
1205 typedef unsigned brp_Time;
1209 typedef struct {
1213  bool Gpio7;
1217  bool Gpio6;
1221  bool Gpio5;
1225  bool Gpio4;
1229  bool Gpio3;
1233  bool Gpio2;
1237  bool Gpio1;
1241  bool Gpio0;
1245  bool TamperAlarm;
1249  bool BlueLed;
1253  bool Input1;
1257  bool Input0;
1261  bool Relay;
1265  bool Beeper;
1269  bool RedLed;
1273  bool GreenLed;
1274 } brp_IoPortBitmask;
1275 #endif // BALTECH_SDK_INTERNAL
1276 
1279 typedef enum {
1591 } brp_FeatureID;
1592 static inline bool brp_FeatureID_is_valid(int val) {
1593  switch (val) {
1594  case 1: /* GreenLed*/
1595  case 2: /* RedLed*/
1596  case 3: /* Beeper*/
1597  case 4: /* Relay*/
1598  case 5: /* MHz13*/
1599  case 6: /* Khz125*/
1600  case 7: /* Iso14443A*/
1601  case 8: /* Iso14443AUidOnly*/
1602  case 9: /* Iso14443B*/
1603  case 10: /* Iso14443BUidOnly*/
1604  case 11: /* Iso15693*/
1605  case 12: /* Iso15693UidOnly*/
1606  case 13: /* Felica*/
1607  case 14: /* FelicaUidOnly*/
1608  case 15: /* Legic*/
1609  case 16: /* Sam*/
1610  case 17: /* SamAv2*/
1611  case 18: /* SamHid*/
1612  case 19: /* Picopass*/
1613  case 35: /* MifareClassic*/
1614  case 36: /* MifarePlusEv0*/
1615  case 37: /* MifareDESFireEv1*/
1616  case 38: /* Srix*/
1617  case 39: /* Jewel*/
1618  case 40: /* ISO14443L4*/
1619  case 41: /* InterIndustry*/
1620  case 42: /* EM4205*/
1621  case 43: /* EM4100*/
1622  case 44: /* EM4450*/
1623  case 45: /* FarpointePyramid*/
1624  case 46: /* HidProx32*/
1625  case 47: /* HidAwid*/
1626  case 48: /* HidProx*/
1627  case 49: /* HidIoProx*/
1628  case 50: /* Indala*/
1629  case 51: /* Keri*/
1630  case 52: /* IndalaSecure*/
1631  case 53: /* Quadrakey*/
1632  case 54: /* SecuraKey*/
1633  case 55: /* GProx*/
1634  case 56: /* Hitag1S*/
1635  case 57: /* Hitag2M*/
1636  case 58: /* Hitag2B*/
1637  case 59: /* BlueLed*/
1638  case 60: /* Cotag*/
1639  case 61: /* PicopassUidOnly*/
1640  case 62: /* IdTeck*/
1641  case 63: /* Tamper*/
1642  case 64: /* MaxHfBaudrate106kbps*/
1643  case 65: /* MaxHfBaudrate212kbps*/
1644  case 66: /* MaxHfBaudrate424kbps*/
1645  case 67: /* FirmwareLoader*/
1646  case 68: /* FwUploadViaBrpOverSer*/
1647  case 69: /* AesHostProtocolEncryption*/
1648  case 70: /* PkiHostProtocolEncryption*/
1649  case 71: /* HidIClass*/
1650  case 72: /* HidIClassSr*/
1651  case 73: /* HidIClassSeAndSeos*/
1652  case 74: /* MifareUltralight*/
1653  case 75: /* CardEmulationISO14443L4*/
1654  case 76: /* MifareDESFireEv2*/
1655  case 77: /* MifarePlusEv1*/
1656  case 78: /* SamAv3*/
1657  case 79: /* OsdpV217*/
1658  case 80: /* Bluetooth*/
1659  case 81: /* RgbLed*/
1660  case 82: /* RgbLedLimited*/
1661  case 83: /* Bec2Upload*/
1662  case 84: /* MifareDESFireEv3*/
1663  case 85: /* MobileId*/
1664  case 86: /* MobileCardEmulation*/
1665  case 87: /* BleHci*/
1666  case 88: /* BlePeripheral*/
1667  return true;
1668  default:
1669  return false;
1670  }
1671 }
1675 typedef struct {
1681  bool LeftLed;
1687  bool RightLed;
1694 } brp_LedBitMask;
1698 typedef enum {
1712 } brp_Parity;
1713 static inline bool brp_Parity_is_valid(int val) {
1714  switch (val) {
1715  case 69: /* Even*/
1716  case 78: /* None_*/
1717  case 79: /* Odd*/
1718  return true;
1719  default:
1720  return false;
1721  }
1722 }
1728 typedef enum {
1790 } brp_Baudrate;
1791 static inline bool brp_Baudrate_is_valid(int val) {
1792  switch (val) {
1793  case 3: /* Baud300*/
1794  case 6: /* Baud600*/
1795  case 12: /* Baud1200*/
1796  case 24: /* Baud2400*/
1797  case 48: /* Baud4800*/
1798  case 96: /* Baud9600*/
1799  case 144: /* Baud14400*/
1800  case 192: /* Baud19200*/
1801  case 288: /* Baud28800*/
1802  case 384: /* Baud38400*/
1803  case 576: /* Baud57600*/
1804  case 1152: /* Baud115200*/
1805  case 5000: /* Baud500000*/
1806  case 5760: /* Baud576000*/
1807  case 9216: /* Baud921600*/
1808  return true;
1809  default:
1810  return false;
1811  }
1812 }
1816 typedef enum {
1946 } brp_IoPort;
1947 static inline bool brp_IoPort_is_valid(int val) {
1948  switch (val) {
1949  case 0: /* GreenLed*/
1950  case 1: /* RedLed*/
1951  case 2: /* Beeper*/
1952  case 3: /* Relay*/
1953  case 4: /* Input0*/
1954  case 5: /* Input1*/
1955  case 6: /* BlueLed*/
1956  case 7: /* TamperAlarm*/
1957  case 8: /* Gpio0*/
1958  case 9: /* Gpio1*/
1959  case 10: /* Gpio2*/
1960  case 11: /* Gpio3*/
1961  case 12: /* Gpio4*/
1962  case 13: /* Gpio5*/
1963  case 14: /* Gpio6*/
1964  case 15: /* Gpio7*/
1965  case 64: /* CustomVled0*/
1966  case 65: /* CustomVled1*/
1967  case 66: /* CustomVled2*/
1968  case 67: /* CustomVled3*/
1969  case 68: /* CustomVled4*/
1970  case 69: /* CustomVled5*/
1971  case 70: /* CustomVled6*/
1972  case 71: /* CustomVled7*/
1973  case 72: /* CustomVled8*/
1974  case 73: /* CustomVled9*/
1975  case 74: /* CustomVled10*/
1976  case 75: /* CustomVled11*/
1977  case 76: /* CustomVled12*/
1978  case 77: /* CustomVled13*/
1979  case 78: /* CustomVled14*/
1980  case 79: /* CustomVled15*/
1981  return true;
1982  default:
1983  return false;
1984  }
1985 }
1989 typedef enum {
2398 static inline bool brp_RunSequenceCmd_CmdCode_is_valid(int val) {
2399  switch (val) {
2400  case 1: /* EnablePort*/
2401  case 2: /* DisablePort*/
2402  case 5: /* RepeatLoop*/
2403  case 8: /* WaitMs*/
2404  case 9: /* WaitSec*/
2405  case 16: /* EnablePortGreenLed*/
2406  case 17: /* EnablePortRedLed*/
2407  case 18: /* EnablePortBeeper*/
2408  case 19: /* EnablePortRelay*/
2409  case 22: /* EnablePortBlue*/
2410  case 32: /* DisablePortGreenLed*/
2411  case 33: /* DisablePortRedLed*/
2412  case 34: /* DisablePortBeeper*/
2413  case 35: /* DisablePortRelay*/
2414  case 38: /* DisablePortBlue*/
2415  case 48: /* InvertPortGreenLed*/
2416  case 49: /* InvertPortRedLed*/
2417  case 50: /* InvertPortBeeper*/
2418  case 51: /* InvertPortRelay*/
2419  case 54: /* InvertPortBlue*/
2420  case 81: /* Repeat1Times*/
2421  case 82: /* RepeatLoop2Times*/
2422  case 83: /* RepeatLoop3Times*/
2423  case 84: /* RepeatLoop4Times*/
2424  case 85: /* RepeatLoop5Times*/
2425  case 86: /* RepeatLoop6Times*/
2426  case 87: /* RepeatLoop7Times*/
2427  case 88: /* RepeatLoop8Times*/
2428  case 89: /* RepeatLoop9Times*/
2429  case 90: /* RepeatLoop10Times*/
2430  case 91: /* RepeatLoop11Times*/
2431  case 92: /* RepeatLoop12Times*/
2432  case 93: /* RepeatLoop13Times*/
2433  case 94: /* RepeatLoop14Times*/
2434  case 95: /* RepeatLoop15Times*/
2435  case 129: /* Wait100Ms*/
2436  case 130: /* Wait200Ms*/
2437  case 131: /* Wait300Ms*/
2438  case 132: /* Wait400Ms*/
2439  case 133: /* Wait500Ms*/
2440  case 134: /* Wait600Ms*/
2441  case 135: /* Wait700Ms*/
2442  case 136: /* Wait800Ms*/
2443  case 137: /* Wait900Ms*/
2444  case 138: /* Wait1000Ms*/
2445  case 139: /* Wait1100Ms*/
2446  case 140: /* Wait1200Ms*/
2447  case 141: /* Wait1300Ms*/
2448  case 142: /* Wait1400Ms*/
2449  case 143: /* Wait1500Ms*/
2450  case 144: /* Wait1600Ms*/
2451  case 145: /* Wait1700Ms*/
2452  case 146: /* Wait1800Ms*/
2453  case 147: /* Wait1900Ms*/
2454  case 148: /* Wait2000Ms*/
2455  case 149: /* Wait2100Ms*/
2456  case 150: /* Wait2200Ms*/
2457  case 151: /* Wait2300Ms*/
2458  case 152: /* Wait2400Ms*/
2459  case 153: /* Wait2500Ms*/
2460  case 154: /* Wait2600Ms*/
2461  case 155: /* Wait2700Ms*/
2462  case 156: /* Wait2800Ms*/
2463  case 157: /* Wait2900Ms*/
2464  case 158: /* Wait3000Ms*/
2465  case 159: /* Wait3100Ms*/
2466  case 160: /* Wait3200Ms*/
2467  case 161: /* Wait3300Ms*/
2468  case 162: /* Wait3400Ms*/
2469  case 163: /* Wait3500Ms*/
2470  case 164: /* Wait3600Ms*/
2471  case 165: /* Wait3700Ms*/
2472  case 166: /* Wait3800Ms*/
2473  case 167: /* Wait3900Ms*/
2474  case 168: /* Wait4000Ms*/
2475  case 169: /* Wait4100Ms*/
2476  case 170: /* Wait4200Ms*/
2477  case 171: /* Wait4300Ms*/
2478  case 172: /* Wait4400Ms*/
2479  case 173: /* Wait4500Ms*/
2480  case 174: /* Wait4600Ms*/
2481  case 175: /* Wait4700Ms*/
2482  case 176: /* Wait4800Ms*/
2483  case 177: /* Wait4900Ms*/
2484  case 178: /* Wait5000Ms*/
2485  case 179: /* Wait5100Ms*/
2486  case 180: /* Wait5200Ms*/
2487  case 181: /* Wait5300Ms*/
2488  case 182: /* Wait5400Ms*/
2489  case 183: /* Wait5500Ms*/
2490  case 184: /* Wait5600Ms*/
2491  case 185: /* Wait5700Ms*/
2492  case 186: /* Wait5800Ms*/
2493  case 187: /* Wait5900Ms*/
2494  case 188: /* Wait6000Ms*/
2495  case 189: /* Wait6100Ms*/
2496  case 190: /* Wait6200Ms*/
2497  case 191: /* Wait6300Ms*/
2498  case 241: /* EndOfSequence*/
2499  case 242: /* StartLoop*/
2500  case 243: /* OnStop*/
2501  return true;
2502  default:
2503  return false;
2504  }
2505 }
2509 typedef struct {
2517  unsigned RepeatCnt;
2521  unsigned Param;
2530 typedef enum {
2549 static inline bool brp_FireEventAtPowerup_is_valid(int val) {
2550  switch (val) {
2551  case 0: /* Never*/
2552  case 1: /* IfClear*/
2553  case 2: /* IfSet*/
2554  case 3: /* Always*/
2555  return true;
2556  default:
2557  return false;
2558  }
2559 }
2563 typedef enum {
2761 } brp_CardType;
2762 static inline bool brp_CardType_is_valid(int val) {
2763  switch (val) {
2764  case 0: /* Default*/
2765  case 16: /* MifareClassic*/
2766  case 17: /* Iso14443aGeneric*/
2767  case 18: /* Iso14443aInterIndustryLegacy*/
2768  case 19: /* MifareUltraLight*/
2769  case 20: /* MifareDesfire*/
2770  case 21: /* InfineonSle55*/
2771  case 22: /* Iso14443aIntIndustry*/
2772  case 23: /* MifarePlusL2*/
2773  case 24: /* LEGICAdvantIso14443a*/
2774  case 25: /* MifarePlusL3*/
2775  case 32: /* LEGICPrimeLegacy*/
2776  case 33: /* LEGICAdvantLegacy*/
2777  case 48: /* Iso15693*/
2778  case 50: /* LEGICAdvantIso15693*/
2779  case 64: /* Iso14443bUnknown*/
2780  case 65: /* Iso14443bIntIndustry*/
2781  case 66: /* IClassIso14B*/
2782  case 80: /* IClassIso14B2*/
2783  case 96: /* IClass*/
2784  case 112: /* Felica*/
2785  case 128: /* EM4205*/
2786  case 129: /* EM4100*/
2787  case 131: /* EM4450*/
2788  case 132: /* Pyramid*/
2789  case 133: /* HidProx32*/
2790  case 134: /* Keri*/
2791  case 135: /* Quadrakey*/
2792  case 136: /* HidIndala*/
2793  case 137: /* HidAwid*/
2794  case 138: /* HidProx*/
2795  case 139: /* HidIoprox*/
2796  case 140: /* Hitag1S*/
2797  case 141: /* Hitag2M*/
2798  case 142: /* Hitag2B*/
2799  case 143: /* TTF*/
2800  case 144: /* STSRIX*/
2801  case 160: /* SecuraKey*/
2802  case 161: /* GProx*/
2803  case 162: /* HidIndalaSecure*/
2804  case 163: /* Cotag*/
2805  case 164: /* Idteck*/
2806  case 176: /* BluetoothMce*/
2807  case 192: /* LEGICPrime*/
2808  case 224: /* HidSio*/
2809  case 228: /* Fido*/
2810  case 229: /* Piv*/
2811  case 230: /* DesfireForLegic*/
2812  case 231: /* LEGICNeon*/
2813  return true;
2814  default:
2815  return false;
2816  }
2817 }
2821 typedef struct {
2837  bool Srix;
2845  bool Felica;
2851  bool IClass;
2865  bool Iso15693;
2874 typedef enum {
2889 static inline bool brp_DesfireFileDescription_FileCommunicationSecurity_is_valid(int val) {
2890  switch (val) {
2891  case 0: /* Plain*/
2892  case 1: /* Mac*/
2893  case 3: /* Encrypted*/
2894  return true;
2895  default:
2896  return false;
2897  }
2898 }
2904 typedef enum {
2919 static inline bool brp_DesfireFileDescription_FileType_is_valid(int val) {
2920  switch (val) {
2921  case 0: /* Standard*/
2922  case 1: /* Backup*/
2923  case 2: /* BackupManualCommit*/
2924  return true;
2925  default:
2926  return false;
2927  }
2928 }
2932 typedef struct {
2936  unsigned FileNo;
2952  unsigned ReadKeyNo;
2958  unsigned WriteKeyNo;
2962  unsigned Offset;
2966  unsigned Length;
2974  unsigned ReadKeyIdx;
2983  unsigned WriteKeyIdx;
2999  unsigned ChangeKeyIdx;
3005  unsigned FileSize;
3011  unsigned IsoFid;
3016 typedef enum {
3043 static inline bool brp_AuthReqUpload_is_valid(int val) {
3044  switch (val) {
3045  case 0: /* Default*/
3046  case 1: /* None_*/
3047  case 2: /* CustomerKey*/
3048  case 3: /* ConfigSecurityCode*/
3049  case 4: /* Version*/
3050  case 5: /* GreaterVersion*/
3051  return true;
3052  default:
3053  return false;
3054  }
3055 }
3059 typedef enum {
3085 static inline bool brp_AutoReadMode_is_valid(int val) {
3086  switch (val) {
3087  case 0: /* Disabled*/
3088  case 1: /* Enabled*/
3089  case 2: /* EnableOnce*/
3090  case 255: /* EnableIfDefinedRules*/
3091  return true;
3092  default:
3093  return false;
3094  }
3095 }
3099 typedef struct {
3131  bool RtcWrite;
3143  bool VhlWrite;
3147  bool VhlRead;
3187  bool SysReset;
3203  bool SetKey3;
3207  bool SetKey2;
3211  bool SetKey1;
3220 typedef struct {
3241 typedef struct {
3245  unsigned FirmwareID;
3274 typedef struct {
3282  bool IsPulse;
3292 typedef enum {
3307 static inline bool brp_VirtualLedDefinition_PhysicalLedSelection_is_valid(int val) {
3308  switch (val) {
3309  case 1: /* Right*/
3310  case 2: /* Left*/
3311  case 3: /* All*/
3312  return true;
3313  default:
3314  return false;
3315  }
3316 }
3320 typedef struct {
3328  unsigned RgbColor;
3336  unsigned RgbColor2;
3340  unsigned TransitionTime;
3345 typedef struct {
3353  bool Ble;
3376  bool Hid;
3381 typedef struct {
3419  unsigned Size;
3424 typedef enum {
3443 static inline bool brp_BlePeriph_IsConnected_AddressType_is_valid(int val) {
3444  switch (val) {
3445  case 0: /* Public*/
3446  case 1: /* RandomStatic*/
3447  case 2: /* RandomResolvable*/
3448  case 3: /* RandomNonResolvable*/
3449  return true;
3450  default:
3451  return false;
3452  }
3453 }
3457 typedef enum {
3472 static inline bool brp_Desfire_ExecCommand_CryptoMode_is_valid(int val) {
3473  switch (val) {
3474  case 0: /* Plain*/
3475  case 1: /* MAC*/
3476  case 3: /* Encrypted*/
3477  return true;
3478  default:
3479  return false;
3480  }
3481 }
3485 typedef enum {
3500 static inline bool brp_Desfire_Authenticate_SecureMessaging_is_valid(int val) {
3501  switch (val) {
3502  case 0: /* EV1*/
3503  case 1: /* Native*/
3504  case 2: /* EV2*/
3505  return true;
3506  default:
3507  return false;
3508  }
3509 }
3513 typedef enum {
3532 static inline bool brp_Desfire_Authenticate_KeyDivMode_is_valid(int val) {
3533  switch (val) {
3534  case 0: /* NoDiv*/
3535  case 1: /* SamAV1OneRound*/
3536  case 2: /* SamAV1TwoRounds*/
3537  case 3: /* SamAV2*/
3538  return true;
3539  default:
3540  return false;
3541  }
3542 }
3546 typedef enum {
3561 static inline bool brp_Desfire_AuthExtKey_SecureMessaging_is_valid(int val) {
3562  switch (val) {
3563  case 0: /* EV1*/
3564  case 1: /* Native*/
3565  case 2: /* EV2*/
3566  return true;
3567  default:
3568  return false;
3569  }
3570 }
3574 typedef enum {
3593 static inline bool brp_Desfire_AuthExtKey_CryptoMode_is_valid(int val) {
3594  switch (val) {
3595  case 1: /* DES*/
3596  case 2: /* TripleDES*/
3597  case 3: /* ThreeKeyTripleDES*/
3598  case 4: /* AES*/
3599  return true;
3600  default:
3601  return false;
3602  }
3603 }
3607 typedef enum {
3622 static inline bool brp_Desfire_ReadData_Mode_is_valid(int val) {
3623  switch (val) {
3624  case 0: /* Plain*/
3625  case 1: /* MAC*/
3626  case 3: /* Encrypted*/
3627  return true;
3628  default:
3629  return false;
3630  }
3631 }
3635 typedef enum {
3650 static inline bool brp_Desfire_WriteData_Mode_is_valid(int val) {
3651  switch (val) {
3652  case 0: /* Plain*/
3653  case 1: /* MAC*/
3654  case 3: /* Encrypted*/
3655  return true;
3656  default:
3657  return false;
3658  }
3659 }
3663 typedef enum {
3678 static inline bool brp_Desfire_ChangeExtKey_MasterKeyType_is_valid(int val) {
3679  switch (val) {
3680  case 0: /* DESorTripleDES*/
3681  case 1: /* ThreeKeyTripleDES*/
3682  case 2: /* AES*/
3683  return true;
3684  default:
3685  return false;
3686  }
3687 }
3691 typedef enum {
3706 static inline bool brp_Desfire_ChangeKey_NewKeyDivMode_is_valid(int val) {
3707  switch (val) {
3708  case 0: /* SamAv1OneRound*/
3709  case 1: /* SamAv1TwoRounds*/
3710  case 2: /* SamAv2*/
3711  return true;
3712  default:
3713  return false;
3714  }
3715 }
3719 typedef enum {
3734 static inline bool brp_Desfire_ChangeKey_CurKeyDivMode_is_valid(int val) {
3735  switch (val) {
3736  case 0: /* SamAv1OneRound*/
3737  case 1: /* SamAv1TwoRounds*/
3738  case 2: /* SamAv2*/
3739  return true;
3740  default:
3741  return false;
3742  }
3743 }
3747 typedef enum {
3758 static inline bool brp_Desfire_SetFraming_CommMode_is_valid(int val) {
3759  switch (val) {
3760  case 1: /* DESFireNative*/
3761  case 2: /* ISO7816Compatible*/
3762  return true;
3763  default:
3764  return false;
3765  }
3766 }
3770 typedef struct {
3774  unsigned AppId;
3778  unsigned IsoFileId;
3788 #ifdef BALTECH_SDK_INTERNAL
3789 
3792 typedef enum {
3796  brp_DHWCtrl_EthGetCommMode_Speed_Unknown = 0,
3800  brp_DHWCtrl_EthGetCommMode_Speed_Mbit10 = 1,
3804  brp_DHWCtrl_EthGetCommMode_Speed_Mbit100 = 2,
3808  brp_DHWCtrl_EthGetCommMode_Speed_Mbit1000 = 3,
3809  brp_DHWCtrl_EthGetCommMode_Speed_undefined = -1
3810 } brp_DHWCtrl_EthGetCommMode_Speed;
3811 static inline bool brp_DHWCtrl_EthGetCommMode_Speed_is_valid(int val) {
3812  switch (val) {
3813  case 0: /* Unknown*/
3814  case 1: /* Mbit10*/
3815  case 2: /* Mbit100*/
3816  case 3: /* Mbit1000*/
3817  return true;
3818  default:
3819  return false;
3820  }
3821 }
3825 typedef enum {
3829  brp_DHWCtrl_EthGetCommMode_Duplex_Unknown = 0,
3833  brp_DHWCtrl_EthGetCommMode_Duplex_Half = 1,
3837  brp_DHWCtrl_EthGetCommMode_Duplex_Full = 2,
3838  brp_DHWCtrl_EthGetCommMode_Duplex_undefined = -1
3839 } brp_DHWCtrl_EthGetCommMode_Duplex;
3840 static inline bool brp_DHWCtrl_EthGetCommMode_Duplex_is_valid(int val) {
3841  switch (val) {
3842  case 0: /* Unknown*/
3843  case 1: /* Half*/
3844  case 2: /* Full*/
3845  return true;
3846  default:
3847  return false;
3848  }
3849 }
3853 typedef enum {
3857  brp_DHWCtrl_GpioConfigure_Mode_OutputLow = 0,
3861  brp_DHWCtrl_GpioConfigure_Mode_OutputHigh = 1,
3865  brp_DHWCtrl_GpioConfigure_Mode_InputFloating = 2,
3869  brp_DHWCtrl_GpioConfigure_Mode_InputPullUp = 3,
3873  brp_DHWCtrl_GpioConfigure_Mode_InputPullDown = 4,
3877  brp_DHWCtrl_GpioConfigure_Mode_OpenDrain = 5,
3881  brp_DHWCtrl_GpioConfigure_Mode_Disabled = 255,
3882  brp_DHWCtrl_GpioConfigure_Mode_undefined = -1
3883 } brp_DHWCtrl_GpioConfigure_Mode;
3884 static inline bool brp_DHWCtrl_GpioConfigure_Mode_is_valid(int val) {
3885  switch (val) {
3886  case 0: /* OutputLow*/
3887  case 1: /* OutputHigh*/
3888  case 2: /* InputFloating*/
3889  case 3: /* InputPullUp*/
3890  case 4: /* InputPullDown*/
3891  case 5: /* OpenDrain*/
3892  case 255: /* Disabled*/
3893  return true;
3894  default:
3895  return false;
3896  }
3897 }
3901 typedef enum {
3905  brp_DHWCtrl_UsbHostWaitPortStatus_Speed_NoDevice = 0,
3909  brp_DHWCtrl_UsbHostWaitPortStatus_Speed_Low = 1,
3913  brp_DHWCtrl_UsbHostWaitPortStatus_Speed_Full = 2,
3917  brp_DHWCtrl_UsbHostWaitPortStatus_Speed_High = 3,
3918  brp_DHWCtrl_UsbHostWaitPortStatus_Speed_undefined = -1
3919 } brp_DHWCtrl_UsbHostWaitPortStatus_Speed;
3920 static inline bool brp_DHWCtrl_UsbHostWaitPortStatus_Speed_is_valid(int val) {
3921  switch (val) {
3922  case 0: /* NoDevice*/
3923  case 1: /* Low*/
3924  case 2: /* Full*/
3925  case 3: /* High*/
3926  return true;
3927  default:
3928  return false;
3929  }
3930 }
3934 typedef enum {
3938  brp_DHWCtrl_ListPeripherals_Category_Eth = 0,
3942  brp_DHWCtrl_ListPeripherals_Category_UsbHost = 32,
3946  brp_DHWCtrl_ListPeripherals_Category_Flash = 48,
3947  brp_DHWCtrl_ListPeripherals_Category_undefined = -1
3948 } brp_DHWCtrl_ListPeripherals_Category;
3949 static inline bool brp_DHWCtrl_ListPeripherals_Category_is_valid(int val) {
3950  switch (val) {
3951  case 0: /* Eth*/
3952  case 32: /* UsbHost*/
3953  case 48: /* Flash*/
3954  return true;
3955  default:
3956  return false;
3957  }
3958 }
3962 typedef struct {
3966  brp_DHWCtrl_ListPeripherals_Category Category;
3970  unsigned Index;
3976  brp_DHWCtrlPinset Pinset;
3980  brp_DHWCtrlGpioPin* Pins;
3984  size_t Pins_len;
3985 } brp_DHWCtrl_ListPeripherals_Entries_Entry;
3989 typedef enum {
3993  brp_EM_DecodeCfg_RxMod_Unknown = 0,
3997  brp_EM_DecodeCfg_RxMod_Manchester = 16,
4001  brp_EM_DecodeCfg_RxMod_Biphase = 32,
4005  brp_EM_DecodeCfg_RxMod_NRZ = 48,
4006  brp_EM_DecodeCfg_RxMod_undefined = -1
4007 } brp_EM_DecodeCfg_RxMod;
4008 static inline bool brp_EM_DecodeCfg_RxMod_is_valid(int val) {
4009  switch (val) {
4010  case 0: /* Unknown*/
4011  case 16: /* Manchester*/
4012  case 32: /* Biphase*/
4013  case 48: /* NRZ*/
4014  return true;
4015  default:
4016  return false;
4017  }
4018 }
4022 typedef enum {
4026  brp_Eth_GetTcpConnectionStatus_Status_NotConnected = 0,
4030  brp_Eth_GetTcpConnectionStatus_Status_ConnectionTrialRunning = 1,
4034  brp_Eth_GetTcpConnectionStatus_Status_Connected = 2,
4035  brp_Eth_GetTcpConnectionStatus_Status_undefined = -1
4036 } brp_Eth_GetTcpConnectionStatus_Status;
4037 static inline bool brp_Eth_GetTcpConnectionStatus_Status_is_valid(int val) {
4038  switch (val) {
4039  case 0: /* NotConnected*/
4040  case 1: /* ConnectionTrialRunning*/
4041  case 2: /* Connected*/
4042  return true;
4043  default:
4044  return false;
4045  }
4046 }
4050 typedef enum {
4054  brp_Eth_OpenTcpConnection_ConnectionReason_Powerup = 1,
4058  brp_Eth_OpenTcpConnection_ConnectionReason_LinkChange = 2,
4062  brp_Eth_OpenTcpConnection_ConnectionReason_SessionkeyTimeout = 4,
4066  brp_Eth_OpenTcpConnection_ConnectionReason_Message = 8,
4070  brp_Eth_OpenTcpConnection_ConnectionReason_UdpIntrospection = 16,
4074  brp_Eth_OpenTcpConnection_ConnectionReason_Reset = 32,
4078  brp_Eth_OpenTcpConnection_ConnectionReason_FailedConnectionTrials = 32768,
4079  brp_Eth_OpenTcpConnection_ConnectionReason_undefined = -1
4080 } brp_Eth_OpenTcpConnection_ConnectionReason;
4081 static inline bool brp_Eth_OpenTcpConnection_ConnectionReason_is_valid(int val) {
4082  switch (val) {
4083  case 1: /* Powerup*/
4084  case 2: /* LinkChange*/
4085  case 4: /* SessionkeyTimeout*/
4086  case 8: /* Message*/
4087  case 16: /* UdpIntrospection*/
4088  case 32: /* Reset*/
4089  case 32768: /* FailedConnectionTrials*/
4090  return true;
4091  default:
4092  return false;
4093  }
4094 }
4095 #endif // BALTECH_SDK_INTERNAL
4096 
4099 typedef enum {
4110 static inline bool brp_Felica_GenericCmd_FastBaud_is_valid(int val) {
4111  switch (val) {
4112  case 0: /* Kbps212*/
4113  case 1: /* Kbps424*/
4114  return true;
4115  default:
4116  return false;
4117  }
4118 }
4122 typedef enum {
4133 static inline bool brp_Felica_Request_FastBaud_is_valid(int val) {
4134  switch (val) {
4135  case 0: /* Kbps212*/
4136  case 1: /* Kbps424*/
4137  return true;
4138  default:
4139  return false;
4140  }
4141 }
4145 typedef struct {
4153  size_t NFCID_len;
4155 #ifdef BALTECH_SDK_INTERNAL
4156 
4159 typedef enum {
4163  brp_Hitag_Request_TagType_HitagS = 0,
4167  brp_Hitag_Request_TagType_Hitag1 = 1,
4171  brp_Hitag_Request_TagType_Hitag2Manchester = 2,
4175  brp_Hitag_Request_TagType_Hitag2Biphase = 3,
4176  brp_Hitag_Request_TagType_undefined = -1
4177 } brp_Hitag_Request_TagType;
4178 static inline bool brp_Hitag_Request_TagType_is_valid(int val) {
4179  switch (val) {
4180  case 0: /* HitagS*/
4181  case 1: /* Hitag1*/
4182  case 2: /* Hitag2Manchester*/
4183  case 3: /* Hitag2Biphase*/
4184  return true;
4185  default:
4186  return false;
4187  }
4188 }
4192 typedef enum {
4196  brp_Hitag_Request_Mode_StdHtg12S = 0,
4200  brp_Hitag_Request_Mode_AdvHtg1S = 1,
4204  brp_Hitag_Request_Mode_FAdvHS = 2,
4205  brp_Hitag_Request_Mode_undefined = -1
4206 } brp_Hitag_Request_Mode;
4207 static inline bool brp_Hitag_Request_Mode_is_valid(int val) {
4208  switch (val) {
4209  case 0: /* StdHtg12S*/
4210  case 1: /* AdvHtg1S*/
4211  case 2: /* FAdvHS*/
4212  return true;
4213  default:
4214  return false;
4215  }
4216 }
4220 typedef enum {
4224  brp_Hitag_Select_SelMode_Select = 0,
4228  brp_Hitag_Select_SelMode_Quiet = 1,
4232  brp_Hitag_Select_SelMode_AuthPwd = 2,
4236  brp_Hitag_Select_SelMode_H2AuthOnlyPwd = 3,
4237  brp_Hitag_Select_SelMode_undefined = -1
4238 } brp_Hitag_Select_SelMode;
4239 static inline bool brp_Hitag_Select_SelMode_is_valid(int val) {
4240  switch (val) {
4241  case 0: /* Select*/
4242  case 1: /* Quiet*/
4243  case 2: /* AuthPwd*/
4244  case 3: /* H2AuthOnlyPwd*/
4245  return true;
4246  default:
4247  return false;
4248  }
4249 }
4253 typedef enum {
4257  brp_Iso14a_RequestLegacy_UIDSize_SingleSize = 0,
4261  brp_Iso14a_RequestLegacy_UIDSize_DoubleSize = 1,
4265  brp_Iso14a_RequestLegacy_UIDSize_TripleSize = 2,
4266  brp_Iso14a_RequestLegacy_UIDSize_undefined = -1
4267 } brp_Iso14a_RequestLegacy_UIDSize;
4268 static inline bool brp_Iso14a_RequestLegacy_UIDSize_is_valid(int val) {
4269  switch (val) {
4270  case 0: /* SingleSize*/
4271  case 1: /* DoubleSize*/
4272  case 2: /* TripleSize*/
4273  return true;
4274  default:
4275  return false;
4276  }
4277 }
4278 #endif // BALTECH_SDK_INTERNAL
4279 
4284 typedef enum {
4323 static inline bool brp_Iso14a_RequestATS_FSDI_is_valid(int val) {
4324  switch (val) {
4325  case 0: /* Bytes16*/
4326  case 1: /* Bytes24*/
4327  case 2: /* Bytes32*/
4328  case 3: /* Bytes40*/
4329  case 4: /* Bytes48*/
4330  case 5: /* Bytes64*/
4331  case 6: /* Bytes96*/
4332  case 7: /* Bytes128*/
4333  case 8: /* Bytes256*/
4334  return true;
4335  default:
4336  return false;
4337  }
4338 }
4342 typedef enum {
4365 static inline bool brp_Iso14b_Request_TimeSlots_is_valid(int val) {
4366  switch (val) {
4367  case 0: /* TimeSlots1*/
4368  case 1: /* TimeSlots2*/
4369  case 2: /* TimeSlots4*/
4370  case 3: /* TimeSlots8*/
4371  case 4: /* TimeSlots16*/
4372  return true;
4373  default:
4374  return false;
4375  }
4376 }
4380 typedef enum {
4419 static inline bool brp_Iso14b_Request_FSCI_is_valid(int val) {
4420  switch (val) {
4421  case 0: /* Bytes16*/
4422  case 1: /* Bytes24*/
4423  case 2: /* Bytes32*/
4424  case 3: /* Bytes40*/
4425  case 4: /* Bytes48*/
4426  case 5: /* Bytes64*/
4427  case 6: /* Bytes96*/
4428  case 7: /* Bytes128*/
4429  case 8: /* Bytes256*/
4430  return true;
4431  default:
4432  return false;
4433  }
4434 }
4438 typedef enum {
4449 static inline bool brp_Iso14b_Request_ProtType_is_valid(int val) {
4450  switch (val) {
4451  case 0: /* NoISO14443L4Support*/
4452  case 1: /* ISO14443L4Support*/
4453  return true;
4454  default:
4455  return false;
4456  }
4457 }
4465 typedef enum {
4528 static inline bool brp_Iso14b_Request_FWI_is_valid(int val) {
4529  switch (val) {
4530  case 0: /* Us302*/
4531  case 1: /* Us604*/
4532  case 2: /* Us1208*/
4533  case 3: /* Us2416*/
4534  case 4: /* Us4832*/
4535  case 5: /* Us9664*/
4536  case 6: /* Ms19*/
4537  case 7: /* Ms39*/
4538  case 8: /* Ms77*/
4539  case 9: /* Ms155*/
4540  case 10: /* Ms309*/
4541  case 11: /* Ms618*/
4542  case 12: /* Ms1237*/
4543  case 13: /* Ms2474*/
4544  case 14: /* Ms4948*/
4545  return true;
4546  default:
4547  return false;
4548  }
4549 }
4557 typedef enum {
4620 static inline bool brp_Iso14b_Request_SFGI_is_valid(int val) {
4621  switch (val) {
4622  case 0: /* Us302*/
4623  case 1: /* Us604*/
4624  case 2: /* Us1208*/
4625  case 3: /* Us2416*/
4626  case 4: /* Us4832*/
4627  case 5: /* Us9664*/
4628  case 6: /* Ms19*/
4629  case 7: /* Ms39*/
4630  case 8: /* Ms77*/
4631  case 9: /* Ms155*/
4632  case 10: /* Ms309*/
4633  case 11: /* Ms618*/
4634  case 12: /* Ms1237*/
4635  case 13: /* Ms2474*/
4636  case 14: /* Ms4948*/
4637  return true;
4638  default:
4639  return false;
4640  }
4641 }
4645 typedef struct {
4659  bool Synced;
4663  bool Send848;
4667  bool Send424;
4671  bool Send212;
4675  bool Recv848;
4679  bool Recv424;
4683  bool Recv212;
4706  unsigned ADC;
4710  bool NAD;
4714  bool CID;
4727 typedef enum {
4742 static inline bool brp_Iso14b_Attrib_TR0_is_valid(int val) {
4743  switch (val) {
4744  case 0: /* Numerator64*/
4745  case 1: /* Numerator48*/
4746  case 2: /* Numerator16*/
4747  return true;
4748  default:
4749  return false;
4750  }
4751 }
4755 typedef enum {
4770 static inline bool brp_Iso14b_Attrib_TR1_is_valid(int val) {
4771  switch (val) {
4772  case 0: /* Numerator80*/
4773  case 1: /* Numerator64*/
4774  case 2: /* Numerator16*/
4775  return true;
4776  default:
4777  return false;
4778  }
4779 }
4783 typedef enum {
4794 static inline bool brp_Iso14b_Attrib_EOF__is_valid(int val) {
4795  switch (val) {
4796  case 0: /* EOFrequired*/
4797  case 1: /* EOFoptional*/
4798  return true;
4799  default:
4800  return false;
4801  }
4802 }
4806 typedef enum {
4817 static inline bool brp_Iso14b_Attrib_SOF_is_valid(int val) {
4818  switch (val) {
4819  case 0: /* SOFrequired*/
4820  case 1: /* SOFoptional*/
4821  return true;
4822  default:
4823  return false;
4824  }
4825 }
4831 typedef enum {
4870 static inline bool brp_Iso14b_Attrib_FSDI_is_valid(int val) {
4871  switch (val) {
4872  case 0: /* Bytes16*/
4873  case 1: /* Bytes24*/
4874  case 2: /* Bytes32*/
4875  case 3: /* Bytes40*/
4876  case 4: /* Bytes48*/
4877  case 5: /* Bytes64*/
4878  case 6: /* Bytes96*/
4879  case 7: /* Bytes128*/
4880  case 8: /* Bytes256*/
4881  return true;
4882  default:
4883  return false;
4884  }
4885 }
4889 typedef enum {
4928 static inline bool brp_Iso14L4_SetupAPDU_FSCI_is_valid(int val) {
4929  switch (val) {
4930  case 0: /* Bytes16*/
4931  case 1: /* Bytes24*/
4932  case 2: /* Bytes32*/
4933  case 3: /* Bytes40*/
4934  case 4: /* Bytes48*/
4935  case 5: /* Bytes64*/
4936  case 6: /* Bytes96*/
4937  case 7: /* Bytes128*/
4938  case 8: /* Bytes256*/
4939  return true;
4940  default:
4941  return false;
4942  }
4943 }
4951 typedef enum {
5014 static inline bool brp_Iso14L4_SetupAPDU_FWI_is_valid(int val) {
5015  switch (val) {
5016  case 0: /* Us302*/
5017  case 1: /* Us604*/
5018  case 2: /* Us1208*/
5019  case 3: /* Us2416*/
5020  case 4: /* Us4832*/
5021  case 5: /* Us9664*/
5022  case 6: /* Ms19*/
5023  case 7: /* Ms39*/
5024  case 8: /* Ms77*/
5025  case 9: /* Ms155*/
5026  case 10: /* Ms309*/
5027  case 11: /* Ms618*/
5028  case 12: /* Ms1237*/
5029  case 13: /* Ms2474*/
5030  case 14: /* Ms4948*/
5031  return true;
5032  default:
5033  return false;
5034  }
5035 }
5039 typedef struct {
5047  unsigned DSFID;
5052 typedef enum {
5067 static inline bool brp_Iso15_SetMode_Mode_is_valid(int val) {
5068  switch (val) {
5069  case 0: /* Unaddressed*/
5070  case 1: /* Addressed*/
5071  case 2: /* Selected*/
5072  return true;
5073  default:
5074  return false;
5075  }
5076 }
5077 #ifdef BALTECH_SDK_INTERNAL
5078 
5081 typedef struct {
5087  brp_buf BlockData;
5091  unsigned BlockSecData;
5092 } brp_Iso15_ReadBlock_Data_Entry;
5093 #endif // BALTECH_SDK_INTERNAL
5094 
5097 typedef struct {
5110 typedef struct {
5123 typedef enum {
5145 static inline bool brp_Iso78_OpenSam_LID_is_valid(int val) {
5146  switch (val) {
5147  case 0: /* AV2*/
5148  case 1: /* HID*/
5149  case 16: /* Gen1*/
5150  case 17: /* Gen2*/
5151  return true;
5152  default:
5153  return false;
5154  }
5155 }
5156 #ifdef BALTECH_SDK_INTERNAL
5157 
5160 typedef enum {
5164  brp_Main_Bf2Upload_ResultCode_Success = 0,
5168  brp_Main_Bf2Upload_ResultCode_InvalidChecksum = 1,
5172  brp_Main_Bf2Upload_ResultCode_ProgrammingTimeout = 2,
5176  brp_Main_Bf2Upload_ResultCode_VerifyTimeout = 3,
5180  brp_Main_Bf2Upload_ResultCode_UnsupportedCodeType = 4,
5184  brp_Main_Bf2Upload_ResultCode_ProtocolError = 5,
5188  brp_Main_Bf2Upload_ResultCode_SecuredByConfigSecurityCode = 6,
5189  brp_Main_Bf2Upload_ResultCode_undefined = -1
5190 } brp_Main_Bf2Upload_ResultCode;
5191 static inline bool brp_Main_Bf2Upload_ResultCode_is_valid(int val) {
5192  switch (val) {
5193  case 0: /* Success*/
5194  case 1: /* InvalidChecksum*/
5195  case 2: /* ProgrammingTimeout*/
5196  case 3: /* VerifyTimeout*/
5197  case 4: /* UnsupportedCodeType*/
5198  case 5: /* ProtocolError*/
5199  case 6: /* SecuredByConfigSecurityCode*/
5200  return true;
5201  default:
5202  return false;
5203  }
5204 }
5208 typedef enum {
5212  brp_Mce_Enable_Mode_Disable = 0,
5216  brp_Mce_Enable_Mode_Enable = 1,
5217  brp_Mce_Enable_Mode_undefined = -1
5218 } brp_Mce_Enable_Mode;
5219 static inline bool brp_Mce_Enable_Mode_is_valid(int val) {
5220  switch (val) {
5221  case 0: /* Disable*/
5222  case 1: /* Enable*/
5223  return true;
5224  default:
5225  return false;
5226  }
5227 }
5228 #endif // BALTECH_SDK_INTERNAL
5229 
5232 typedef enum {
5243 static inline bool brp_Mif_AuthE2_AuthMode_is_valid(int val) {
5244  switch (val) {
5245  case 96: /* KeyA*/
5246  case 97: /* KeyB*/
5247  return true;
5248  default:
5249  return false;
5250  }
5251 }
5255 typedef enum {
5266 static inline bool brp_Mif_AuthUser_AuthMode_is_valid(int val) {
5267  switch (val) {
5268  case 96: /* KeyA*/
5269  case 97: /* KeyB*/
5270  return true;
5271  default:
5272  return false;
5273  }
5274 }
5278 typedef enum {
5293 static inline bool brp_Mif_ChangeValue_Mode_is_valid(int val) {
5294  switch (val) {
5295  case 0: /* Decrement*/
5296  case 1: /* Increment*/
5297  case 2: /* Restore*/
5298  return true;
5299  default:
5300  return false;
5301  }
5302 }
5306 typedef enum {
5321 static inline bool brp_Mif_ChangeValueBackup_Mode_is_valid(int val) {
5322  switch (val) {
5323  case 0: /* Decrement*/
5324  case 1: /* Increment*/
5325  case 2: /* Restore*/
5326  return true;
5327  default:
5328  return false;
5329  }
5330 }
5334 typedef enum {
5349 static inline bool brp_Mif_AuthE2Extended_AuthLevel_is_valid(int val) {
5350  switch (val) {
5351  case 0: /* AesSl1*/
5352  case 2: /* AesSl3*/
5353  case 3: /* Mifare*/
5354  return true;
5355  default:
5356  return false;
5357  }
5358 }
5362 typedef enum {
5377 static inline bool brp_Mif_AuthUserExtended_AuthLevel_is_valid(int val) {
5378  switch (val) {
5379  case 0: /* AesSl1*/
5380  case 2: /* AesSl3*/
5381  case 3: /* Mifare*/
5382  return true;
5383  default:
5384  return false;
5385  }
5386 }
5390 typedef enum {
5417 static inline bool brp_Mif_ValueSL3_Cmd_is_valid(int val) {
5418  switch (val) {
5419  case 0: /* Increment*/
5420  case 1: /* Decrement*/
5421  case 2: /* Transfer*/
5422  case 3: /* IncrementTransfer*/
5423  case 4: /* DecrementTransfer*/
5424  case 5: /* Restore*/
5425  return true;
5426  default:
5427  return false;
5428  }
5429 }
5433 typedef enum {
5448 static inline bool brp_Mif_VirtualCardSelect_FciType_is_valid(int val) {
5449  switch (val) {
5450  case 0: /* RawData*/
5451  case 1: /* UidAndCardType*/
5452  case 2: /* UidCardTypeAndMemSize*/
5453  return true;
5454  default:
5455  return false;
5456  }
5457 }
5461 typedef struct {
5465  unsigned BlockAddress;
5472  unsigned SectorKeyIdx;
5477 typedef enum {
5488 static inline bool brp_Mif_SetFraming_CommMode_is_valid(int val) {
5489  switch (val) {
5490  case 1: /* MifareNative*/
5491  case 2: /* MifareISO*/
5492  return true;
5493  default:
5494  return false;
5495  }
5496 }
5500 typedef enum {
5511 static inline bool brp_MobileId_Enable_Mode_is_valid(int val) {
5512  switch (val) {
5513  case 0: /* Disable*/
5514  case 1: /* Enable*/
5515  return true;
5516  default:
5517  return false;
5518  }
5519 }
5523 typedef struct {
5564  bool WiFi;
5570  bool Tamper;
5582  bool Keyboard;
5594  bool Display;
5606  bool Ethernet;
5618  bool Rf125kHz;
5624  bool Rf13MHz;
5650  bool RTC;
5673 #ifdef BALTECH_SDK_INTERNAL
5674 
5677 typedef struct {
5681  unsigned ID;
5685  unsigned Value;
5686 } brp_Sys_SetRegister_RegisterAssignments_Entry;
5687 #endif // BALTECH_SDK_INTERNAL
5688 
5691 typedef struct {
5695  unsigned ID;
5699  unsigned Value;
5704 typedef enum {
5723 static inline bool brp_Sys_CfgLoadFinish_FinalizeAction_is_valid(int val) {
5724  switch (val) {
5725  case 0: /* CancelCfgLoad*/
5726  case 1: /* FinalizeCfgLoadWithoutReboot*/
5727  case 2: /* FinalizeCfgLoadWithReboot*/
5728  return true;
5729  default:
5730  return false;
5731  }
5732 }
5733 #ifdef BALTECH_SDK_INTERNAL
5734 
5737 typedef enum {
5741  brp_TTF_ReadByteStream_RxMod_Manchester = 16,
5745  brp_TTF_ReadByteStream_RxMod_Biphase = 32,
5749  brp_TTF_ReadByteStream_RxMod_Ind = 48,
5753  brp_TTF_ReadByteStream_RxMod_HIDP = 80,
5757  brp_TTF_ReadByteStream_RxMod_PSK = 96,
5761  brp_TTF_ReadByteStream_RxMod_SMPL = 112,
5762  brp_TTF_ReadByteStream_RxMod_undefined = -1
5763 } brp_TTF_ReadByteStream_RxMod;
5764 static inline bool brp_TTF_ReadByteStream_RxMod_is_valid(int val) {
5765  switch (val) {
5766  case 16: /* Manchester*/
5767  case 32: /* Biphase*/
5768  case 48: /* Ind*/
5769  case 80: /* HIDP*/
5770  case 96: /* PSK*/
5771  case 112: /* SMPL*/
5772  return true;
5773  default:
5774  return false;
5775  }
5776 }
5777 #endif // BALTECH_SDK_INTERNAL
5778 
5781 typedef enum {
5800 static inline bool brp_Ultralight_AuthE2_DivMode_is_valid(int val) {
5801  switch (val) {
5802  case 0: /* NoDiv*/
5803  case 1: /* SamAv1OneRound*/
5804  case 2: /* SamAv1TwoRounds*/
5805  case 3: /* SamAv2*/
5806  return true;
5807  default:
5808  return false;
5809  }
5810 }
5814 typedef enum {
5825 static inline bool brp_Ultralight_AuthUser_CryptoMode_is_valid(int val) {
5826  switch (val) {
5827  case 0: /* TripleDES*/
5828  case 1: /* AES*/
5829  return true;
5830  default:
5831  return false;
5832  }
5833 }
5834 #ifdef BALTECH_SDK_INTERNAL
5835 
5838 typedef enum {
5842  brp_UsbHost_SetupPipes_Type_Control = 0,
5846  brp_UsbHost_SetupPipes_Type_Interrupt = 1,
5850  brp_UsbHost_SetupPipes_Type_Bulk = 2,
5854  brp_UsbHost_SetupPipes_Type_Isochronous = 3,
5855  brp_UsbHost_SetupPipes_Type_undefined = -1
5856 } brp_UsbHost_SetupPipes_Type;
5857 static inline bool brp_UsbHost_SetupPipes_Type_is_valid(int val) {
5858  switch (val) {
5859  case 0: /* Control*/
5860  case 1: /* Interrupt*/
5861  case 2: /* Bulk*/
5862  case 3: /* Isochronous*/
5863  return true;
5864  default:
5865  return false;
5866  }
5867 }
5871 typedef struct {
5875  unsigned No;
5879  brp_UsbHost_SetupPipes_Type Type;
5883  unsigned FrameSize;
5884 } brp_UsbHost_SetupPipes_Pipes_Entry;
5885 #endif // BALTECH_SDK_INTERNAL
5886 
5889 typedef enum {
5900 static inline bool brp_UI_Toggle_Polarity_is_valid(int val) {
5901  switch (val) {
5902  case 0: /* Normal*/
5903  case 1: /* Inverted*/
5904  return true;
5905  default:
5906  return false;
5907  }
5908 }
5912 typedef enum {
5923 static inline bool brp_UI_Sense_PortState_is_valid(int val) {
5924  switch (val) {
5925  case 0: /* Disabled*/
5926  case 1: /* Enabled*/
5927  return true;
5928  default:
5929  return false;
5930  }
5931 }
5935 typedef enum {
5946 static inline bool brp_VHL_Setup_HasMifareKey_is_valid(int val) {
5947  switch (val) {
5948  case 0: /* Disabled*/
5949  case 6: /* Enabled*/
5950  return true;
5951  default:
5952  return false;
5953  }
5954 }
5958 typedef enum {
5969 static inline bool brp_VHL_Setup_MifareHasAsKeyA_is_valid(int val) {
5970  switch (val) {
5971  case 0: /* Disabled*/
5972  case 1: /* Enabled*/
5973  return true;
5974  default:
5975  return false;
5976  }
5977 }
5981 typedef enum {
5992 static inline bool brp_VHL_Setup_MifareHasMadId_is_valid(int val) {
5993  switch (val) {
5994  case 0: /* Disabled*/
5995  case 2: /* Enabled*/
5996  return true;
5997  default:
5998  return false;
5999  }
6000 }
6004 typedef enum {
6015 static inline bool brp_VHL_Setup_DesfireHasAppId_is_valid(int val) {
6016  switch (val) {
6017  case 0: /* Disabled*/
6018  case 4: /* Enabled*/
6019  return true;
6020  default:
6021  return false;
6022  }
6023 }
6027 typedef enum {
6038 static inline bool brp_VHL_Setup_HasDesfireFileDesc_is_valid(int val) {
6039  switch (val) {
6040  case 0: /* Disabled*/
6041  case 16: /* Enabled*/
6042  return true;
6043  default:
6044  return false;
6045  }
6046 }
6050 typedef enum {
6061 static inline bool brp_VHL_Setup_LegicHasEnStamp_is_valid(int val) {
6062  switch (val) {
6063  case 0: /* Disabled*/
6064  case 1: /* Enabled*/
6065  return true;
6066  default:
6067  return false;
6068  }
6069 }
6073 typedef enum {
6084 static inline bool brp_VHL_Setup_LegicHasAdrMode_is_valid(int val) {
6085  switch (val) {
6086  case 0: /* Disabled*/
6087  case 1: /* Enabled*/
6088  return true;
6089  default:
6090  return false;
6091  }
6092 }
6098 typedef enum {
6131 static inline bool brp_VHL_Setup_LegicAdrMode_is_valid(int val) {
6132  switch (val) {
6133  case 0: /* ProtocolHeader*/
6134  case 1: /* Advant*/
6135  return true;
6136  default:
6137  return false;
6138  }
6139 }
6143 typedef enum {
6154 static inline bool brp_VHL_Setup_Iso15HasFirstBlock_is_valid(int val) {
6155  switch (val) {
6156  case 0: /* Disabled*/
6157  case 1: /* Enabled*/
6158  return true;
6159  default:
6160  return false;
6161  }
6162 }
6166 typedef enum {
6177 static inline bool brp_VHL_Setup_Iso15HasBlockCount_is_valid(int val) {
6178  switch (val) {
6179  case 0: /* Disabled*/
6180  case 1: /* Enabled*/
6181  return true;
6182  default:
6183  return false;
6184  }
6185 }
6189 typedef enum {
6200 static inline bool brp_VHL_Setup_Iso15HasOptionFlag_is_valid(int val) {
6201  switch (val) {
6202  case 0: /* Disabled*/
6203  case 1: /* Enabled*/
6204  return true;
6205  default:
6206  return false;
6207  }
6208 }
6212 typedef enum {
6227 static inline bool brp_VHL_Setup_Iso15OptionFlag_is_valid(int val) {
6228  switch (val) {
6229  case 0: /* OptFlagZero*/
6230  case 1: /* OptFlagOne*/
6231  case 2: /* OptFlagAuto*/
6232  return true;
6233  default:
6234  return false;
6235  }
6236 }
6240 typedef enum {
6251 static inline bool brp_VHL_Setup_Iso15HasBlockSize_is_valid(int val) {
6252  switch (val) {
6253  case 0: /* Disabled*/
6254  case 1: /* Enabled*/
6255  return true;
6256  default:
6257  return false;
6258  }
6259 }
6263 typedef enum {
6280 static inline bool brp_VHL_Setup_FileSpecifier_is_valid(int val) {
6281  switch (val) {
6282  case 0: /* SelectByName*/
6283  case 1: /* SelectByPath*/
6284  case 2: /* SelectByAPDU*/
6285  return true;
6286  default:
6287  return false;
6288  }
6289 }
6293 typedef struct {
6305  size_t Name_len;
6313  size_t Path_len;
6326 typedef enum {
6337 static inline bool brp_VHL_Setup_Iso14HasFileLen_is_valid(int val) {
6338  switch (val) {
6339  case 0: /* Disabled*/
6340  case 4: /* Enabled*/
6341  return true;
6342  default:
6343  return false;
6344  }
6345 }
6349 typedef enum {
6360 static inline bool brp_VHL_Setup_Iso14HasApduTimeout_is_valid(int val) {
6361  switch (val) {
6362  case 0: /* Disabled*/
6363  case 2: /* Enabled*/
6364  return true;
6365  default:
6366  return false;
6367  }
6368 }
6369 #ifdef BALTECH_SDK_INTERNAL
6370 
6373 typedef enum {
6377  brp_DHWCtrlLegacy_PortConfig_Mode_OutputLow = 0,
6381  brp_DHWCtrlLegacy_PortConfig_Mode_OutputHigh = 1,
6385  brp_DHWCtrlLegacy_PortConfig_Mode_InputTristate = 2,
6389  brp_DHWCtrlLegacy_PortConfig_Mode_InputPullup = 3,
6390  brp_DHWCtrlLegacy_PortConfig_Mode_undefined = -1
6391 } brp_DHWCtrlLegacy_PortConfig_Mode;
6392 static inline bool brp_DHWCtrlLegacy_PortConfig_Mode_is_valid(int val) {
6393  switch (val) {
6394  case 0: /* OutputLow*/
6395  case 1: /* OutputHigh*/
6396  case 2: /* InputTristate*/
6397  case 3: /* InputPullup*/
6398  return true;
6399  default:
6400  return false;
6401  }
6402 }
6406 typedef enum {
6410  brp_DHWCtrlLegacy_DispColor_Color_White = 0,
6414  brp_DHWCtrlLegacy_DispColor_Color_Black = 255,
6415  brp_DHWCtrlLegacy_DispColor_Color_undefined = -1
6416 } brp_DHWCtrlLegacy_DispColor_Color;
6417 static inline bool brp_DHWCtrlLegacy_DispColor_Color_is_valid(int val) {
6418  switch (val) {
6419  case 0: /* White*/
6420  case 255: /* Black*/
6421  return true;
6422  default:
6423  return false;
6424  }
6425 }
6429 typedef enum {
6433  brp_DHWCtrlLegacy_GetReaderChipType_ChipType_RC500 = 1,
6437  brp_DHWCtrlLegacy_GetReaderChipType_ChipType_RC632 = 4,
6441  brp_DHWCtrlLegacy_GetReaderChipType_ChipType_RC663 = 5,
6445  brp_DHWCtrlLegacy_GetReaderChipType_ChipType_PN512 = 33,
6446  brp_DHWCtrlLegacy_GetReaderChipType_ChipType_undefined = -1
6447 } brp_DHWCtrlLegacy_GetReaderChipType_ChipType;
6448 static inline bool brp_DHWCtrlLegacy_GetReaderChipType_ChipType_is_valid(int val) {
6449  switch (val) {
6450  case 1: /* RC500*/
6451  case 4: /* RC632*/
6452  case 5: /* RC663*/
6453  case 33: /* PN512*/
6454  return true;
6455  default:
6456  return false;
6457  }
6458 }
6462 typedef enum {
6466  brp_DHWCtrlLegacy_GetSamType_ChipType_TDA8007C2 = 1,
6470  brp_DHWCtrlLegacy_GetSamType_ChipType_TDA8007C3 = 2,
6471  brp_DHWCtrlLegacy_GetSamType_ChipType_undefined = -1
6472 } brp_DHWCtrlLegacy_GetSamType_ChipType;
6473 static inline bool brp_DHWCtrlLegacy_GetSamType_ChipType_is_valid(int val) {
6474  switch (val) {
6475  case 1: /* TDA8007C2*/
6476  case 2: /* TDA8007C3*/
6477  return true;
6478  default:
6479  return false;
6480  }
6481 }
6485 typedef enum {
6489  brp_DHWCtrlLegacy_HfAcquire_ModuleId_No = 0,
6493  brp_DHWCtrlLegacy_HfAcquire_ModuleId_RC = 1,
6497  brp_DHWCtrlLegacy_HfAcquire_ModuleId_Legic = 3,
6501  brp_DHWCtrlLegacy_HfAcquire_ModuleId_PN = 17,
6505  brp_DHWCtrlLegacy_HfAcquire_ModuleId_LegicAdvant = 19,
6509  brp_DHWCtrlLegacy_HfAcquire_ModuleId_RC125 = 24,
6513  brp_DHWCtrlLegacy_HfAcquire_ModuleId_PN2 = 26,
6517  brp_DHWCtrlLegacy_HfAcquire_ModuleId_RC663 = 34,
6521  brp_DHWCtrlLegacy_HfAcquire_ModuleId_HTRC110 = 36,
6522  brp_DHWCtrlLegacy_HfAcquire_ModuleId_undefined = -1
6523 } brp_DHWCtrlLegacy_HfAcquire_ModuleId;
6524 static inline bool brp_DHWCtrlLegacy_HfAcquire_ModuleId_is_valid(int val) {
6525  switch (val) {
6526  case 0: /* No*/
6527  case 1: /* RC*/
6528  case 3: /* Legic*/
6529  case 17: /* PN*/
6530  case 19: /* LegicAdvant*/
6531  case 24: /* RC125*/
6532  case 26: /* PN2*/
6533  case 34: /* RC663*/
6534  case 36: /* HTRC110*/
6535  return true;
6536  default:
6537  return false;
6538  }
6539 }
6543 typedef enum {
6547  brp_DHWCtrlLegacy_AesWrapKey_WrappedKeyNr_WrapNone = 0,
6551  brp_DHWCtrlLegacy_AesWrapKey_WrappedKeyNr_WrapDHUK = 1,
6552  brp_DHWCtrlLegacy_AesWrapKey_WrappedKeyNr_undefined = -1
6553 } brp_DHWCtrlLegacy_AesWrapKey_WrappedKeyNr;
6554 static inline bool brp_DHWCtrlLegacy_AesWrapKey_WrappedKeyNr_is_valid(int val) {
6555  switch (val) {
6556  case 0: /* WrapNone*/
6557  case 1: /* WrapDHUK*/
6558  return true;
6559  default:
6560  return false;
6561  }
6562 }
6566 typedef enum {
6570  brp_DHWCtrlLegacy_AesEncrypt_WrappedKeyNr_WrapNone = 0,
6574  brp_DHWCtrlLegacy_AesEncrypt_WrappedKeyNr_WrapDHUK = 1,
6575  brp_DHWCtrlLegacy_AesEncrypt_WrappedKeyNr_undefined = -1
6576 } brp_DHWCtrlLegacy_AesEncrypt_WrappedKeyNr;
6577 static inline bool brp_DHWCtrlLegacy_AesEncrypt_WrappedKeyNr_is_valid(int val) {
6578  switch (val) {
6579  case 0: /* WrapNone*/
6580  case 1: /* WrapDHUK*/
6581  return true;
6582  default:
6583  return false;
6584  }
6585 }
6589 typedef enum {
6593  brp_DHWCtrlLegacy_AesDecrypt_WrappedKeyNr_WrapNone = 0,
6597  brp_DHWCtrlLegacy_AesDecrypt_WrappedKeyNr_WrapDHUK = 1,
6598  brp_DHWCtrlLegacy_AesDecrypt_WrappedKeyNr_undefined = -1
6599 } brp_DHWCtrlLegacy_AesDecrypt_WrappedKeyNr;
6600 static inline bool brp_DHWCtrlLegacy_AesDecrypt_WrappedKeyNr_is_valid(int val) {
6601  switch (val) {
6602  case 0: /* WrapNone*/
6603  case 1: /* WrapDHUK*/
6604  return true;
6605  default:
6606  return false;
6607  }
6608 }
6609 #endif // BALTECH_SDK_INTERNAL
6610 #endif
6611 
The reader supports ISO 15693 cards as documented here.
Definition: typedefs.h:1327
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1896
bool VhlWrite
Has to be cleared to deny writing cards via VHL.
Definition: typedefs.h:3143
Refers to a general purpose I/O.
Definition: typedefs.h:1856
unsigned ReadKeyNo
ReadKeyNo , i.e.
Definition: typedefs.h:2952
Keylength: 16 byte.
Definition: typedefs.h:764
ISO 14443-4 Type A; this card type is capable of transferring application protocol data units (APDU) ...
Definition: typedefs.h:2595
bool Hitag1S
HITAG 1 or S.
Definition: typedefs.h:34
bool SupportsNotify
Definition: typedefs.h:3397
brp_Desfire_WriteData_Mode
Communication settings linked to the file.
Definition: typedefs.h:3635
brp_Iso78_OpenSam_LID
Logical SAM-ID (LID)
Definition: typedefs.h:5123
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1944
brp_VHL_Setup_MifareHasMadId
Definition: typedefs.h:5981
The reader supports Keri Systems cards as documented here.
Definition: typedefs.h:1431
Use this value to select an NXP MIFARE SAM AV2 or AV3.
Definition: typedefs.h:5127
References keys which are defined in respective VHL files: AES keys in MifarePlusAesKeyList Mifare ke...
Definition: typedefs.h:227
brp_CardType
Definition: typedefs.h:2563
SAM AV1 mode (1 encryption round for Tripple DES keys).
Definition: typedefs.h:5789
The reader supports Mobile Card Emulation (MCE).
Definition: typedefs.h:1581
bool SupportsWrite
Definition: typedefs.h:3401
brp_IoPort SwitchIoPort
I/O pins of the reader that can be controlled by the user.
Definition: typedefs.h:2525
The reader supports the emulation of ISO14443-4 compatible cards.
Definition: typedefs.h:1537
EM 4100/EM 4102.
Definition: typedefs.h:2655
License bit mask.
Definition: typedefs.h:3345
AES SL1 authentication.
Definition: typedefs.h:5338
bool CorruptFirmware
The reader firmware is corrupted.
Definition: typedefs.h:5666
size_t ApduCommand_len
Length of ApduCommand (in bytes).
Definition: typedefs.h:6321
bool BcdToBin
Converts a BCD Number (must only contain nibbles 0-9, not A-F) to a binary number.
Definition: typedefs.h:302
For every of these filter bits, a specific data conversion mechanism is specified.
Definition: typedefs.h:292
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1920
Accept only BEC/BEC2/BF3 files or ConfigCards that are encrypted with a matching customer key...
Definition: typedefs.h:3028
brp_MessageType
Event that triggered the message.
Definition: typedefs.h:511
More accurate info: The reader supports reading the PCN of HID iCLASS SR cards as documented here...
Definition: typedefs.h:1525
unsigned RgbColor2
This field is only available in case of a pulse signal.
Definition: typedefs.h:3336
bool IncompleteFirmware
Due to an aborted upload, the firmware on the reader is incomplete and not fully functional.
Definition: typedefs.h:5671
File is specified by DF name.
Definition: typedefs.h:119
iCLASS via ISO 15693
Definition: typedefs.h:2643
The reader supports MIFARE Plus EV0 cards in Security Level 3 using AES authentication as documented ...
Definition: typedefs.h:1371
brp_VHL_Setup_FileSpecifier
The method to select the file.
Definition: typedefs.h:6263
bool AdvantAddressMode
Use Advant address mode.
Definition: typedefs.h:161
DESFire native mode (default communication mode).
Definition: typedefs.h:3751
brp_KeyAccessRights_DiversificationMode DiversificationMode
Definition: typedefs.h:724
brp_Iso14b_Attrib_EOF_
End Of Frame (EOF) flag for sending data to reader.
Definition: typedefs.h:4783
The reader supports ISO 14443 Type A cards as documented here.
Definition: typedefs.h:1307
bool TTF
Low level card type / programmable decoder.
Definition: typedefs.h:22
This is a Shortcut for DisablePort GreenLed (requires only one byte intead of 2). ...
Definition: typedefs.h:2047
brp_UI_Sense_PortState
Definition: typedefs.h:5912
brp_Iso14b_Request_FWI
Frame Waiting time Integer (FWI).
Definition: typedefs.h:4465
Keylength: 8 byte.
Definition: typedefs.h:752
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1928
brp_Mif_ChangeValueBackup_Mode
Access mode.
Definition: typedefs.h:5306
bool Khz125Part1
Scans for the following 125kHz cards: EM4205, EM4305, EM4100, EM4102, EM4450, Farpointe Pyramid...
Definition: typedefs.h:2841
unsigned GreatestBlockedFwVersionMajor
Binary that specifies the major number of the greatest non-blocked fw version.
Definition: typedefs.h:3261
bool Iso15693
Scans for ISO-15693-compatible cards, e.g.
Definition: typedefs.h:2865
Refers to a general purpose I/O.
Definition: typedefs.h:1880
unsigned GreatestBlockedFwVersionBuild
Binary that specifies the build number of the greatest non-blocked fw version.
Definition: typedefs.h:3269
brp_VHL_Setup_Iso15HasBlockSize
Definition: typedefs.h:6240
unsigned SmallestBlockedFwVersionMajor
Binary that specifies the major number of the smallest blocked fw version.
Definition: typedefs.h:3249
bool Hitag2M
HITAG 2 Manchester.
Definition: typedefs.h:30
brp_Mif_AuthUser_AuthMode
Authentication Mode.
Definition: typedefs.h:5255
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1924
brp_Desfire_Authenticate_KeyDivMode
Specifies diversification algorithm.
Definition: typedefs.h:3513
The reader has an RGB LED that is fully customizable.
Definition: typedefs.h:1561
The reader supports MIFARE DESFire EV3 cards as documented here.
Definition: typedefs.h:1573
bool SwapNibbles
Swap the higher nibble (bits 5-7) of each byte with the lower nibble (bits 0-3).
Definition: typedefs.h:324
The reader supports QuadraKey cards as documented here.
Definition: typedefs.h:1439
References keys within the CryptoKey memory.
Definition: typedefs.h:210
Access rights and key info.
Definition: typedefs.h:658
See description above.
Definition: typedefs.h:2567
The reader supports EM 4205 cards as documented here.
Definition: typedefs.h:1395
unsigned IsoFileId
ISO file ID.
Definition: typedefs.h:3778
The reader will boot in Autoread mode and scan for cards, no matter if its configuration contains an ...
Definition: typedefs.h:3074
LBus protocol.
Definition: typedefs.h:458
brp_DivisorInteger
Divisor Send/Receive Integer (DSI/DRI)
Definition: typedefs.h:1171
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1904
unsigned Version
Key version.
Definition: typedefs.h:720
bool KeyB
The key assigned to this sector/block shall be applied as key B.
Definition: typedefs.h:200
brp_buf RecvBlock
Contains the actual data read from a block.
Definition: typedefs.h:5114
brp_ProtocolID
A list of all protocols.
Definition: typedefs.h:392
unsigned AppId
Application ID - range from 0x00000000 to 0x00FFFFFF.
Definition: typedefs.h:3774
Complete the BEC transfer, but don&#39;t reboot.
Definition: typedefs.h:5714
Refers to a general purpose I/O.
Definition: typedefs.h:1864
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1892
ISO-15693-compliant label.
Definition: typedefs.h:2619
The reader supports ST SRIX cards as documented here.
Definition: typedefs.h:1379
The reader supports firmware/configuration upload via BEC2 files.
Definition: typedefs.h:1569
brp_VirtualLedDefinition_Mode Mode
This byte is required to enable additional fields for the characterization of the desired LED behavio...
Definition: typedefs.h:3324
Abstract card type for reading MIFARE DESFire cards using a special VHL implementation for LEGIC read...
Definition: typedefs.h:2755
size_t WriteBlock_len
Length of WriteBlock (in bytes).
Definition: typedefs.h:5105
bool IoPortWrite
Has to be cleared to deny write access to io ports.
Definition: typedefs.h:3167
Resolvable private random address.
Definition: typedefs.h:3436
iCLASS via proprietary ISO 14443 Type B protocol derivate (Level 2 compatible)
Definition: typedefs.h:2639
The reader supports EM 4100 cards as documented here.
Definition: typedefs.h:1399
The reader supports OSDP specification version 2.17.
Definition: typedefs.h:1553
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1916
brp_AutoReadMode
Definition: typedefs.h:3059
unsigned SmallestBlockedFwVersionMinor
Binary that specifies the minor number of the smallest blocked fw version.
Definition: typedefs.h:3253
SAM AV1 mode (2 encryption rounds for Tripple DES keys).
Definition: typedefs.h:5793
SAM AV1 mode only for DES keys - two encryption rounds.
Definition: typedefs.h:3699
The reader supports EM 4450 cards as documented here.
Definition: typedefs.h:1403
bool CRC16bit
Use 16-bit CRC.
Definition: typedefs.h:187
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1912
brp_VHL_Setup_LegicAdrMode
Specifies the addressing mode.
Definition: typedefs.h:6098
bool IsPulse
If true , this virtual LED definition describes a pulse signal that continuously fades between 2 RGB ...
Definition: typedefs.h:3282
SAM AV1 compatible mode (AES, 3K3DES, 3DES: 2 encryption rounds).
Definition: typedefs.h:3525
brp_MobileId_Enable_Mode
Definition: typedefs.h:5500
The reader supports Farpointe Pyramid cards as documented here.
Definition: typedefs.h:1407
bool Idteck
Idteck.
Definition: typedefs.h:87
bool Synced
If this flag is set, data must be sent and received at equal bit rates.
Definition: typedefs.h:4659
brp_buf WriteBlock
Content that shall be written to blocks starting at BlockId
Definition: typedefs.h:5101
Due to an aborted upload, the firmware on the reader is incomplete and not fully functional.
Definition: typedefs.h:1505
brp_Mif_AuthE2_AuthMode
Authentication Mode.
Definition: typedefs.h:5232
Parity is used.
Definition: typedefs.h:1706
bool HidIoprox
ioProx
Definition: typedefs.h:38
brp_buf PUPI
Pseudo-Unique PICC Identifier (PUPI).
Definition: typedefs.h:4649
BRP protocol over RS-232/UART.
Definition: typedefs.h:400
brp_MifarePlusKeyMemoryType
This value references a key memory type within the reader.
Definition: typedefs.h:205
The hardware limits the HF baud rate to 424 kbps.
Definition: typedefs.h:1499
This is a Shortcut for RepeatLoop 1 which is actually a dummy operation, as the repeat block is was a...
Definition: typedefs.h:2087
The reader has a red LED.
Definition: typedefs.h:1287
The hardware limits the HF baud rate to 106 kbps.
Definition: typedefs.h:1487
bool Hitag2B
HITAG 2 Biphase.
Definition: typedefs.h:26
bool FirmwareVersionBlockedLegacy
The loaded firmware version is blacklisted.
Definition: typedefs.h:5588
The reader can read the UID of a PicoPass card.
Definition: typedefs.h:1473
brp_VHL_Setup_HasMifareKey
Definition: typedefs.h:5935
Jumps back to the corresponding StartLoop a specified number of repetitions.
Definition: typedefs.h:2001
Fire the corresponding "OnSetXxxx" event if the corresponding input port&#39;s state is set...
Definition: typedefs.h:2542
brp_RunSequenceCmd_CmdCode CmdCode
Definition: typedefs.h:2513
SAM AV1 mode only for DES keys - two encryption rounds).
Definition: typedefs.h:3727
The reader supports Mifare Ultralight cards as documented The reader supports Mifare Ultralight cards...
Definition: typedefs.h:1533
Handle Bytes in Least significant bit first order.
Definition: typedefs.h:248
brp_Desfire_SetFraming_CommMode
Defines 14443-4 communication mode to DESFire card.
Definition: typedefs.h:3747
The reader can read the UID of an ISO 14443 Type A card.
Definition: typedefs.h:1313
Enable/disable/toggle the blue LED (if available).
Definition: typedefs.h:1844
bool SupportsWriteNoResponse
Definition: typedefs.h:3405
Authenticate with Key B.
Definition: typedefs.h:5240
brp_buf AppData
Application data field.
Definition: typedefs.h:4655
MIFARE Plus L3.
Definition: typedefs.h:2607
bool HWoptions
A hardware options error occurred, device out of order.
Definition: typedefs.h:5644
bool Pack
Merges two Bytes at a time to a single one by removing the leading nibble (which has to be 0) of each...
Definition: typedefs.h:328
The port is disabled/inactive/low.
Definition: typedefs.h:5920
Do never fire the corresponding event (no matter what the corresponding input port&#39;s state is) ...
Definition: typedefs.h:2534
brp_UI_Toggle_Polarity
Definition: typedefs.h:5889
SAM AV2 mode (AES according NXP: AN 10922).
Definition: typedefs.h:3529
bool VariableSize
Definition: typedefs.h:3413
brp_buf UID
Unique ID of label.
Definition: typedefs.h:5043
bool HidProx32
HID Prox32.
Definition: typedefs.h:62
brp_Iso15_SetMode_Mode
Communication mode for label addressing.
Definition: typedefs.h:5052
bool SysReset
Has to be cleared to deny allow reboot/powerdown of system.
Definition: typedefs.h:3187
bool ConfigurationInconsistent
The reader configuration is corrupted.
Definition: typedefs.h:5548
brp_Iso14b_Attrib_SOF
Start Of Frame (SOF) flag for sending data to reader.
Definition: typedefs.h:4806
Increment the value.
Definition: typedefs.h:5286
brp_Iso14L4_SetupAPDU_FSCI
Frame Size proximity Card Integer (FSCI).
Definition: typedefs.h:4889
Definition: typedefs.h:3770
Refers to a general purpose I/O.
Definition: typedefs.h:1868
bool Bluetooth
The Bluetooth chip of the reader is defective, device out of order.
Definition: typedefs.h:5558
brp_VHL_Setup_Iso14HasApduTimeout
Definition: typedefs.h:6349
unsigned Value
Value of counter (Baltech internal use)
Definition: typedefs.h:5699
brp_FileType
Filetypes supported by VHL.
Definition: typedefs.h:115
brp_Iso14b_Request_TimeSlots
Number of time slots which should be used for requesting PICCs.
Definition: typedefs.h:4342
brp_Sys_CfgLoadFinish_FinalizeAction
Defines the reader&#39;s behaviour on error/success.
Definition: typedefs.h:5704
unsigned WriteKeyIdx
Index of the write key on the reader If omitted and WriteKeyNo is equal to ReadKeyNo ...
Definition: typedefs.h:2983
bool Rf13MHzLegacy
The 13.56 MHz RFID interface of the reader is defective, device out of order.
Definition: typedefs.h:5638
The customer key and the Config Security Code have to match for this BEC/BEC2/BF3 file or ConfigCard ...
Definition: typedefs.h:3036
SAM AV1 mode (3DES: 1 encryption round).
Definition: typedefs.h:3521
Bluetooth MCE; Mobile Card Emulation over Bluetooth.
Definition: typedefs.h:2735
This byte defines how a Legic segment shall be accessed.
Definition: typedefs.h:157
Fire the corresponding "OnClearXxxx" event if the corresponding input port&#39;s state is cleared...
Definition: typedefs.h:2538
bool Recv424
When this flag is set, the PICC can receive data with a bit rate of up to 424 kbit/s.
Definition: typedefs.h:4679
brp_Mif_ChangeValue_Mode
Access mode.
Definition: typedefs.h:5278
bool VhlFormat
Has to be cleared to deny formattings cards via VHL.
Definition: typedefs.h:3139
This word defines the CRC address according to the addressing mode selected in SegmentIdentificationA...
Definition: typedefs.h:183
Select the file by DF name.
Definition: typedefs.h:6267
Decrements a value block by the given value and stores the result in the Transfer Buffer...
Definition: typedefs.h:5398
Key diversification according to NXP AN10922.
Definition: typedefs.h:695
brp_Ultralight_AuthE2_DivMode
Specifies diversification algorithm.
Definition: typedefs.h:5781
brp_buf IsoDfName
ISO DF filename (optional, 0..16 bytes)
Definition: typedefs.h:3782
No Parity is used.
Definition: typedefs.h:1702
The reader supports Jewel cards as documented here.
Definition: typedefs.h:1383
bool BatteryManagement
The battery management system of the reader is defective, device out of order.
Definition: typedefs.h:5576
Combined Decrement and Transfer.
Definition: typedefs.h:5410
bool FactorySettings
An error occurred during a factory reset, leaving the reader without any settings instead of restorin...
Definition: typedefs.h:5541
Useful if a lot of operations need to be performed with the same label since the UID is not transferr...
Definition: typedefs.h:5064
unsigned BlockAddress
Block address of the sector that is switched to the targeted security level.
Definition: typedefs.h:5465
Enable/disable/toggle the beeper (if available).
Definition: typedefs.h:1828
The reader has a green LED.
Definition: typedefs.h:1283
unsigned DivIdx
Index for data converter rule: Possible values:
Definition: typedefs.h:730
bool NewerReaderChipFirmware
The reader chip has not accepted the reader chip firmware included in the latest firmware update...
Definition: typedefs.h:5531
Accept any kind of BEC/BEC2/BF3 files or ConfigCards, even unencrypted ones.
Definition: typedefs.h:3024
size_t NFCID_len
Length of NFCID (in bytes).
Definition: typedefs.h:4153
brp_VHL_Setup_Iso15HasFirstBlock
Definition: typedefs.h:6143
brp_Iso14b_Request_FSCI FSCI
Frame Size proximity Card Integer (FSCI).
Definition: typedefs.h:4687
bool ConfigRead
Has to be cleared to deny read access to configuration keys/values.
Definition: typedefs.h:3183
unsigned ADC
Application Data Coding supported by the PICC.
Definition: typedefs.h:4706
brp_Mif_ValueSL3_Cmd
Selects a value operation.
Definition: typedefs.h:5390
brp_Desfire_AuthExtKey_CryptoMode
Sets the encryption algorithm.
Definition: typedefs.h:3574
The reader supports 125 kHz cards.
Definition: typedefs.h:1303
If execution of the sequence was aborted, jump to this label and run the following commands until End...
Definition: typedefs.h:2023
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1932
BRP protocol over RS485 connection.
Definition: typedefs.h:404
bool GuiAccess
Has to be cleared to deny access to keypad/lcd.
Definition: typedefs.h:3163
bool ExtendedAccess
Has to be cleared to deny allow access to the extended reader partition.
Definition: typedefs.h:3119
Fire the corresponding event always (no matter what the corresponding input port&#39;s state is) ...
Definition: typedefs.h:2546
brp_buf Parameter
The length of this block depends on the length of the command.
Definition: typedefs.h:385
bool HidProx
HID Proximity.
Definition: typedefs.h:42
Definition: typedefs.h:5691
Align to the right.
Definition: typedefs.h:271
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1936
brp_KeyAccessRights_KeySettings KeySettings
Access rights and key info.
Definition: typedefs.h:716
The initial and final port state is disabled/inactive/low.
Definition: typedefs.h:5893
This is a autoread protocol that sends the ID read by autoread mode without any protocol overhead...
Definition: typedefs.h:420
brp_BlePeriph_IsConnected_AddressType
Remote device address type.
Definition: typedefs.h:3424
brp_VHL_Setup_LegicHasEnStamp
Definition: typedefs.h:6050
bool WiFi
The WiFi chip of the reader is defective, device out of order.
Definition: typedefs.h:5564
bool Ble
BLE license.
Definition: typedefs.h:3353
Restore/load the value.
Definition: typedefs.h:5290
Mobile ID is enabled.
Definition: typedefs.h:5504
The hardware limits the HF baud rate to 212 kbps.
Definition: typedefs.h:1493
Decrement the value.
Definition: typedefs.h:5282
The customer key and the Config Security Code have to match for this BEC/BEC2/BF3 file or ConfigCard ...
Definition: typedefs.h:3040
Restore/load the value.
Definition: typedefs.h:5318
bool Rf13MHz
The 13.56 MHz RFID interface for ISO 14443/ISO 15693 card systems is defective, device out of order...
Definition: typedefs.h:5624
brp_Desfire_ChangeExtKey_MasterKeyType
These bits must only be set if the card&#39;s Master Key is changed.
Definition: typedefs.h:3663
A SAM AV3 card is inserted.
Definition: typedefs.h:1549
brp_Desfire_ChangeKey_NewKeyDivMode
Specifies diversification algorithm.
Definition: typedefs.h:3691
unsigned Param
This field represents a time (either in milliseconds or seconds).
Definition: typedefs.h:2521
bool VhlRead
Has to be cleared to deny reading cards via VHL.
Definition: typedefs.h:3147
MIFARE Classic (1k and 4k variants)
Definition: typedefs.h:2571
iCLASS via standard-compliant ISO 14443 Type B protocol (Level 3 compatible)
Definition: typedefs.h:2635
bool Ethernet
The Ethernet interface of the reader is defective, device out of order.
Definition: typedefs.h:5606
unsigned FileSize
**Only needed to run VHL.Format .
Definition: typedefs.h:3005
brp_Felica_GenericCmd_FastBaud
Baudrate PCD-PICC.
Definition: typedefs.h:4099
bool BinToBcd
Converts a binary Number to a BCD encoded number.
Definition: typedefs.h:320
size_t RecvBlock_len
Length of RecvBlock (in bytes).
Definition: typedefs.h:5118
A bitmask containing the physical LEDs you want to switch.
Definition: typedefs.h:1675
bool Keyboard
The keyboard of the reader is defective, device out of order.
Definition: typedefs.h:5582
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1940
Low-level card type/programmable decoder.
Definition: typedefs.h:2707
brp_AutoRunCommand_RunMode
Definition: typedefs.h:341
brp_RunSequenceCmd_CmdCode
Definition: typedefs.h:1989
bool RequireContinuousIv
Initialvector of CBC encryption is not reset between commands.
Definition: typedefs.h:3224
bool FlashFileSystemWrite
Has to be cleared to deny write access to flash file system.
Definition: typedefs.h:3123
This bitmask can be combined with a reference to a key index in the readers keylist and specifies mor...
Definition: typedefs.h:192
HITAG 2 Biphase.
Definition: typedefs.h:2703
bool IClassIso14B
Can be used instead of iCLASS to increase scanning speed.
Definition: typedefs.h:2857
unsigned GreatestBlockedFwVersionMinor
Binary that specifies the minor number of the greatest non-blocked fw version.
Definition: typedefs.h:3265
LEGIC neon file.
Definition: typedefs.h:2759
bool HfLowlevelAccess
Has to be cleared to deny allow to access HF via low level commands.
Definition: typedefs.h:3159
The reader supports SecuraKey cards as documented here.
Definition: typedefs.h:1443
bool IsDivInfo
The value for diversification data can be found in Project/DiversificationData.
Definition: typedefs.h:666
The reader returned a log message.
Definition: typedefs.h:543
unsigned Page
Project crypto memory page (range 0..0x0F)
Definition: typedefs.h:739
The reader supports Hitag 2 Manchester cards as documented here.
Definition: typedefs.h:1455
size_t IsoDfName_len
Length of IsoDfName (in bytes).
Definition: typedefs.h:3786
bool BinToAscii
Convert Binarydata to ASCII by converting the ASCII characters 0x00-0x09 to 0x30-0x39 and 0x0A-0x0F t...
Definition: typedefs.h:306
bool AutoreadAccess
Has to be cleared to deny control autoread task.
Definition: typedefs.h:3107
Use this value to select a SAM different from those named above.
Definition: typedefs.h:5135
The firmware can be updated via a serial interface (RS-232/UART or virtual COM port).
Definition: typedefs.h:1509
Infineon my-d proximity (SLE55); this is a legacy value that is no longer returned since firmware ver...
Definition: typedefs.h:2591
The reader supports PKI-encrypted communication with the host.
Definition: typedefs.h:1517
unsigned Size
Specifies the size of the characteristic in bytes.
Definition: typedefs.h:3419
This word defines the start address according to the addressing mode selected in SegmentIdentificatio...
Definition: typedefs.h:172
bool Recv848
When this flag is set, the PICC can receive data with a bit rate of up to 848 kbit/s.
Definition: typedefs.h:4675
The reader supports 13.56 MHz cards.
Definition: typedefs.h:1299
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1908
The port is enabled/active/high.
Definition: typedefs.h:5916
File is specified by 2 byte FID.
Definition: typedefs.h:123
unsigned Length
Length of byte sequence within the DESFire file to map into the VHL file.
Definition: typedefs.h:2966
MIFARE native mode (default communication mode).
Definition: typedefs.h:5481
brp_buf ApduCommand
APDU command by which to select the file.
Definition: typedefs.h:6317
bool Unpack
Splits the high and the low nibble of each byte into two separate bytes, where the high nibble is set...
Definition: typedefs.h:310
brp_Iso14b_Attrib_TR0
PICC&#39;s minimum delay before responding after the end of a command sent by PCD.
Definition: typedefs.h:4727
unsigned ChangeKeyIdx
**Only needed to run VHL.Format .
Definition: typedefs.h:2999
Non-resolvable private random address.
Definition: typedefs.h:3440
An HID SAM card is inserted.
Definition: typedefs.h:1359
brp_Mif_VirtualCardSelect_FciType
Type of File Control Information returned.
Definition: typedefs.h:5433
bool Recv212
When this flag is set, the PICC can receive data with a bit rate of up to 212 kbit/s.
Definition: typedefs.h:4683
bool SetAccessConditionMask2
Has to be cleared to deny set ac 2.
Definition: typedefs.h:3191
bool SecuraKey
SecuraKey.
Definition: typedefs.h:103
Retrieve the state of the custom input 1.
Definition: typedefs.h:1840
unsigned CommandCode
Definition: typedefs.h:381
unsigned RgbColor
This is the color of the VLED port in the RGB color space (0x00RRGGBB).
Definition: typedefs.h:3328
unsigned ID
ID of statistics counter (Baltech internal use)
Definition: typedefs.h:5695
LEGIC advant ISO 15693.
Definition: typedefs.h:2623
bool HidIndalaSecure
Indala ASP+.
Definition: typedefs.h:95
Keylength: 16 byte.
Definition: typedefs.h:756
unsigned SectorKeyIdx
Crypto Memory Index (SAM or CryptoMemory) of the sector key.
Definition: typedefs.h:5472
Copies the value block content to the TransferBuffer.
Definition: typedefs.h:5414
Use this value to select an HID SE Processor (also known as iClass SAM).
Definition: typedefs.h:5131
Transfers the content of the Transfer Buffer to the specified address.
Definition: typedefs.h:5402
bool VhlExchangeapdu
Has to be cleared to deny running VHL APDU Exchange.
Definition: typedefs.h:3135
Authenticate with Key B.
Definition: typedefs.h:5263
HITAG 1 or S.
Definition: typedefs.h:2695
A card or a phone with an active Mobile ID app was presented to the reader.
Definition: typedefs.h:515
HID Indala ASP+.
Definition: typedefs.h:2723
FIPS201 Personal Identity Verification (PIV)
Definition: typedefs.h:2751
The tamper alarm was activated.
Definition: typedefs.h:519
brp_VHL_Setup_LegicHasAdrMode
Definition: typedefs.h:6073
bool AsciiToBin
Convert ASCII to Binarydata by converting the ASCII characters 0x30-0x39 to 0x00-0x09 and 0x41-0x49 (...
Definition: typedefs.h:332
The reader can be used as Bluetooth Peripheral.
Definition: typedefs.h:1589
bool FactoryReset
Has to be cleared to deny resetting system to factory settings.
Definition: typedefs.h:3215
bool Bf2Upload
Has to be cleared to deny allow to upload firmware.
Definition: typedefs.h:3115
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1888
bool EM4450
EM4450.
Definition: typedefs.h:70
brp_Desfire_ReadData_Mode
Communication settings linked to the file.
Definition: typedefs.h:3607
bool IClass
Scans for iCLASS and iCLASS SR cards.
Definition: typedefs.h:2851
USB devices will register as keyboard if this value is active.
Definition: typedefs.h:428
brp_CryptoAlgorithm
This byte defines the crypto algorithm that shall be used when working with the key that is following...
Definition: typedefs.h:748
This is a second Autoread protocol that sends the ID read by Autoread mode without any protocol overh...
Definition: typedefs.h:466
The reader supports ISO 14443 Type B cards as documented here.
Definition: typedefs.h:1317
Selects all available protocols.
Definition: typedefs.h:396
Definition: typedefs.h:5039
unsigned DeviceCode
Definition: typedefs.h:377
A SAM AV2 card is inserted.
Definition: typedefs.h:1355
The reader supports Hitag 1 and Hitag S cards as documented here.
Definition: typedefs.h:1451
Generic ISO 14443-3 Type A without ISO 7816-4 support.
Definition: typedefs.h:2575
The reader supports AES-encrypted communication with the host.
Definition: typedefs.h:1513
brp_Parity
Specifies the Parity-bit mode which is used for RS-232/UART protocols.
Definition: typedefs.h:1698
brp_VHL_Setup_FileSpecifier FileSpecifier
The method to select the file.
Definition: typedefs.h:6297
To only read the application data of the segment, use this mode.
Definition: typedefs.h:6128
Specifies a minimum of security requirements, when working in this security level.
Definition: typedefs.h:3220
References keys which are stored in reader chip memory: 32 keys (index 0..31) are available...
Definition: typedefs.h:221
bool UnexpectedRebootsLegacy
At least 1 unexpected reboot has occurred.
Definition: typedefs.h:5537
bool EM4205
EM4205/EM4305.
Definition: typedefs.h:78
HID Indala ASP.
Definition: typedefs.h:2679
The reader supports ISO 14443-4 cards as documented here.
Definition: typedefs.h:1387
size_t Path_len
Length of Path (in bytes).
Definition: typedefs.h:6313
The reader supports Indala FlexSecur cards as documented here.
Definition: typedefs.h:1435
Parity is used.
Definition: typedefs.h:1710
Select the file using an APDU command.
Definition: typedefs.h:6277
The reader supports FeliCa cards as documented here.
Definition: typedefs.h:1337
The reader can read the UID of an ISO 15693 card.
Definition: typedefs.h:1333
The reader has a SAM slot.
Definition: typedefs.h:1351
brp_Ultralight_AuthUser_CryptoMode
Sets the encryption algorithm.
Definition: typedefs.h:5814
Complete the BEC transfer and do an implicit reboot.
Definition: typedefs.h:5720
brp_Iso14b_Attrib_TR1
Minimum delay between subcarrier modulation start and beginning of data transmission.
Definition: typedefs.h:4755
brp_VHL_Setup_HasDesfireFileDesc
Definition: typedefs.h:6027
Commit will be performed when writing to address 0xFFFF.
Definition: typedefs.h:2916
LEGIC advant ISO 14443 Type A.
Definition: typedefs.h:2603
brp_Mif_SetFraming_CommMode
Defines 14443-4 communication mode for MIFARE Plus EV1 cards.
Definition: typedefs.h:5477
Handle Bytes in Most significant bit first order.
Definition: typedefs.h:252
Same as Enabled ; however, the reader will stop Autoread mode as soon as it has detected (and read) a...
Definition: typedefs.h:3078
bool RTC
The real-time clock is defective, device out of order.
Definition: typedefs.h:5650
bool HostToHostAccess
Has to be cleared to deny access to commands that allow host-to-host communication.
Definition: typedefs.h:3103
The reader will boot in Autoread mode only if its configuration contains at least 1 Autoread RFID int...
Definition: typedefs.h:3082
brp_buf NFCID
ID of label.
Definition: typedefs.h:4149
bool SingleLed
Single LED of the reader.
Definition: typedefs.h:1693
bool CryptoAccess
Has to be cleared to deny allow access to the encryption unit.
Definition: typedefs.h:3111
unsigned IsoFid
**Only needed to run VHL.Format .
Definition: typedefs.h:3011
bool Quadrakey
QuadraKey.
Definition: typedefs.h:54
HID Proximity.
Definition: typedefs.h:2687
brp_Iso14b_Attrib_FSDI
Frame Size proximity coupling Device Integer (FSDI) value.
Definition: typedefs.h:4831
To read the segment stamp , use this mode.
Definition: typedefs.h:6104
bool RtcWrite
Has to be cleared to deny write access to RTC.
Definition: typedefs.h:3131
brp_Iso14b_Request_SFGI
Start-up Frame Guard time Integer (SFGI).
Definition: typedefs.h:4557
brp_VHL_Setup_Iso15HasBlockCount
Definition: typedefs.h:6166
Enable/disable/toggle the green LED (if available).
Definition: typedefs.h:1820
The reader supports Mobile ID as documented here.
Definition: typedefs.h:1577
Combined Increment and Transfer.
Definition: typedefs.h:5406
bool ConfCardPresented
You&#39;ve run a VHL.Select command with AcceptConfCard set to true after presenting a ConfigCard to the ...
Definition: typedefs.h:5600
brp_FeatureID
Definition: typedefs.h:1279
brp_IoPort
I/O pins of the reader that can be controlled by the user.
Definition: typedefs.h:1816
The reader has a blue LED.
Definition: typedefs.h:1463
brp_Felica_Request_FastBaud
Baudrate PCD-PICC.
Definition: typedefs.h:4122
Open Supervised Standard Protocol.
Definition: typedefs.h:470
brp_Iso14b_Request_SFGI SFGI
Start-up Frame Guard time Integer (SFGI).
Definition: typedefs.h:4722
The reader supports MIFARE DESFire EV2 cards as documented here.
Definition: typedefs.h:1541
brp_KeyAccessRights_DiversificationMode
Definition: typedefs.h:687
SAM AV1 mode for all key types / one encryption round for DES keys.
Definition: typedefs.h:3723
Enable the port ID stored in the Field Param.
Definition: typedefs.h:1993
configures the pins which are usually used by the Wiegand / RawSerial /...
Definition: typedefs.h:438
HITAG 2 Manchester.
Definition: typedefs.h:2699
bool Hid
Standard Prox license:
Definition: typedefs.h:3376
bool Reverse
Swap the first byte with the last one, the second one with the next to last one and so on...
Definition: typedefs.h:336
brp_MaxBaudrateIso14443
Definition: typedefs.h:563
Increments a value block by the given value and stores the result in the Transfer Buffer...
Definition: typedefs.h:5394
Do not run Autoread at all.
Definition: typedefs.h:3063
Enable/disable/toggle the relay (if available).
Definition: typedefs.h:1832
bool HidOnlyForSE
SE Prox license:
Definition: typedefs.h:3368
unsigned brp_DesfireKeyIdx
Definition: typedefs.h:111
Commit will be performed automatically.
Definition: typedefs.h:2912
bool Display
The display of the reader is defective, device out of order.
Definition: typedefs.h:5594
brp_buf Name
The name of the DF to be selected (1..16 bytes)
Definition: typedefs.h:6301
Definition: typedefs.h:5461
Align to the left.
Definition: typedefs.h:275
Refers to a general purpose I/O.
Definition: typedefs.h:1872
For Ultralight-C authentication, a Tripple DES key has to be specified.
Definition: typedefs.h:5818
Wait exactly the amount of seconds specified in Param before going on.
Definition: typedefs.h:2009
brp_VHL_Setup_Iso15OptionFlag
Option flag value for read/write operations.
Definition: typedefs.h:6212
bool EM4100
EM4100/EM4102.
Definition: typedefs.h:74
Cancel the BEC transfer and undo all configuration changes since Sys.CfgLoadPrepare.
Definition: typedefs.h:5708
The following label commands are sent without an UID (broadcast).
Definition: typedefs.h:5056
This is a ShortCut for RepeatLoop 2.
Definition: typedefs.h:2091
ISO 14443-4 Type A compliant with ISO7816-4; this is a legacy value that is no longer returned since ...
Definition: typedefs.h:2579
brp_Desfire_AuthExtKey_SecureMessaging
Sets the secure messaging mode.
Definition: typedefs.h:3546
bool ConfigReset
Has to be cleared to deny reset configuration keys/while configuration.
Definition: typedefs.h:3175
The reader supports G-Prox cards as documented here.
Definition: typedefs.h:1447
Retrieve the state of the custom input 0.
Definition: typedefs.h:1836
The reader can read the UID of a FeliCa card.
Definition: typedefs.h:1343
LEGIC advant (ISO 14443 Type A/ISO 15693); this is a legacy value - it has been replaced by LEGICAdva...
Definition: typedefs.h:2615
bool ContainsTransitionTime
If true , this virtual LED definition contains an individual transition time, which is applied to thi...
Definition: typedefs.h:3278
Enable/disable/toggle the red LED (if available).
Definition: typedefs.h:1824
bool EnableCRC
CRC check is enabled for this fragment.
Definition: typedefs.h:176
Fido 2.1.
Definition: typedefs.h:2747
General info: The reader supports reading the PCN of HID iCLASS cards as documented here...
Definition: typedefs.h:1521
bool Send848
When this flag is set, the PICC can send data with a bit rate of up to 848 kbit/s.
Definition: typedefs.h:4663
SAM AV1 mode for all key types / one encryption round for DES keys.
Definition: typedefs.h:3695
The user has pressed a certain function key, e.g.
Definition: typedefs.h:537
unsigned DSFID
DSFID of label, only available, if DSFID bit in Mode has been set.
Definition: typedefs.h:5047
For Ultralight-EV1 password diversification (NXP AN12694), an AES key has to be specified.
Definition: typedefs.h:5822
Use this value only if the reader has 2 SAM slots, and both SAMs are different from those named above...
Definition: typedefs.h:5142
bool Send212
When this flag is set, the PICC can send data with a bit rate of up to 212 kbit/s.
Definition: typedefs.h:4671
Definition: typedefs.h:5097
Chip Card Interface Device (CCID).
Definition: typedefs.h:462
Abstract card type for reading SIO Elements.
Definition: typedefs.h:2743
Wait exactly the amount of ms specified in the field Param before going on.
Definition: typedefs.h:2005
brp_VHL_Setup_Iso15HasOptionFlag
Definition: typedefs.h:6189
LEGIC prime; this is a legacy value - it has been replaced by LEGICPrime.
Definition: typedefs.h:2611
This is a Shortcut for WaitMs 100.
Definition: typedefs.h:2147
bool ExtSamAccess
Has to be cleared to deny access to SAM over 7816-3 commands ( Iso78 command group) ...
Definition: typedefs.h:3155
bool IsDivInfoVhl
The value for diversification data can be found in VhlCfg/File/DesfireDiversificationData.
Definition: typedefs.h:670
brp_buf Path
A list of one or more 16-bit file IDs.
Definition: typedefs.h:6309
The customer key and the Config Security Code have to match for this BEC/BEC2/BF3 file or ConfigCard ...
Definition: typedefs.h:3032
Activates only the LEDs on the left side.
Definition: typedefs.h:3300
ISO 7816 compatible framing (only MIFARE Plus EV1)
Definition: typedefs.h:5485
bool SupportsRead
Definition: typedefs.h:3409
uid_len(1), card type(1) and memory size(1).
Definition: typedefs.h:5445
brp_FireEventAtPowerup
In Autoread mode this values are specifing the states that shall be assumed for input ports before re...
Definition: typedefs.h:2530
Disable the port ID of the Field Param.
Definition: typedefs.h:1997
Retrieve the state of the tamper alarm.
Definition: typedefs.h:1848
The reader supports inter-industry ISO 14443-4 cards as documented here.
Definition: typedefs.h:1391
ISO 14443-3 Type B without ISO 7816-4 support.
Definition: typedefs.h:2627
brp_Mif_AuthE2Extended_AuthLevel
Desired authentication level.
Definition: typedefs.h:5334
bool Configuration
The reader configuration is corrupted.
Definition: typedefs.h:5661
bool Secure
The key assigned to this sector shall not be taken from the VHL file.
Definition: typedefs.h:196
The reader can switch a relay.
Definition: typedefs.h:1295
Definition: typedefs.h:3381
brp_Mif_AuthUserExtended_AuthLevel
Desired authentication level.
Definition: typedefs.h:5362
unsigned Idx
Project crypto memory index within page (range 0x80..0xBF)
Definition: typedefs.h:743
Default settings (Actual behavior is usage-dependent).
Definition: typedefs.h:3020
bool ConfigWrite
Has to be cleared to deny write access to configuration keys/values.
Definition: typedefs.h:3179
bool SetKey3
Has to be cleared to deny set security key 3.
Definition: typedefs.h:3203
Farpointe Pyramid.
Definition: typedefs.h:2663
EM 4205/EM 4305.
Definition: typedefs.h:2651
brp_Alignment
This is the desired data alignment.
Definition: typedefs.h:267
A previously presented card has been removed.
Definition: typedefs.h:533
bool SetAccessConditionMask0
Has to be cleared to deny set ac 0.
Definition: typedefs.h:3199
bool SetAccessConditionMask1
Has to be cleared to deny set ac 1.
Definition: typedefs.h:3195
brp_VHL_Setup_Iso14HasFileLen
Definition: typedefs.h:6326
unsigned FileNo
The DESFire file number to access.
Definition: typedefs.h:2936
bool Send424
When this flag is set, the PICC can send data with a bit rate of up to 424 kbit/s.
Definition: typedefs.h:4667
Authenticate with Key A.
Definition: typedefs.h:5236
Authenticate with Key A.
Definition: typedefs.h:5259
unsigned TransitionTime
This field defines the transition time which is applied whenever this virtual LED is enabled...
Definition: typedefs.h:3340
The reader supports Hitag 2 Biphase cards as documented here.
Definition: typedefs.h:1459
Select the file by path, i.e.
Definition: typedefs.h:6273
bool RequireEncrypted
Commands are transferred encrypted.
Definition: typedefs.h:3228
brp_Iso14b_Request_ProtType ProtType
When this bit is set, the PICC supports ISO14443-4.
Definition: typedefs.h:4691
Definition: typedefs.h:5110
BRP protocol over HID (Human Interface Device) Protocol.
Definition: typedefs.h:408
bool Rf125kHz
The 125 kHz RFID interface of the reader is defective, device out of order.
Definition: typedefs.h:5618
bool ContainsPhysicalLedSelection
If true , this virtual LED definition contains the field PhysicalLedSelection.
Definition: typedefs.h:3287
brp_AuthReqUpload
Specifies the authentication level the BEC/BEC2/BF3 file or ConfigCard has to fulfill to be accepted...
Definition: typedefs.h:3016
brp_TemplateBitorder
This is the bit order for the CutNibbles command.
Definition: typedefs.h:244
The reader has a beeper.
Definition: typedefs.h:1291
brp_VHL_Setup_DesfireHasAppId
Definition: typedefs.h:6004
bool Khz125Part2
Scans for the following 125kHz cards: SecuraKey, G-Prox, Indala ASP+, Cotag, Idteck.
Definition: typedefs.h:2833
Refers to a general purpose I/O.
Definition: typedefs.h:1860
MIFARE Ultralight.
Definition: typedefs.h:2583
unsigned ReadKeyIdx
Index of the read key on the reader.
Definition: typedefs.h:2974
A single include header file, that includes all header files necessary for the BRP library...
bool Iso14443A
Scans for ISO 14443 Type A compatible cards, e.g.
Definition: typedefs.h:2869
bool CID
If this flag is set, the PPIC supports CID.
Definition: typedefs.h:4714
BLE HCI Protocol.
Definition: typedefs.h:474
brp_Iso14b_Request_FSCI
Frame Size proximity Card Integer (FSCI).
Definition: typedefs.h:4380
bool Rf13MHzLegic
The 13.56 Mhz RFID interface for LEGIC cards is defective, device out of order.
Definition: typedefs.h:5630
bool RightLed
LED(s) on the right side of the reader.
Definition: typedefs.h:1687
brp_Iso14b_Request_ProtType
When this bit is set, the PICC supports ISO14443-4.
Definition: typedefs.h:4438
bool RequireMac
A Cryptographic Signature is attached to every command.
Definition: typedefs.h:3232
This is a ShortCut for EnablePort GreenLed , if GreenLed is enabled otherwise DisablePort GreenLed...
Definition: typedefs.h:2067
Refers to a general purpose I/O.
Definition: typedefs.h:1876
bool SupportsIndicate
Definition: typedefs.h:3393
The initial and final port state is enabled/active/high.
Definition: typedefs.h:5897
brp_Desfire_ChangeKey_CurKeyDivMode
Specifies diversification algorithm.
Definition: typedefs.h:3719
The reader supports MIFARE Plus EV1 cards in Security Level 3 using AES authentication as documented ...
Definition: typedefs.h:1545
This is a ShortCut for EnablePort GreenLed (requires only one byte intead of 2).
Definition: typedefs.h:2027
brp_VirtualLedDefinition_PhysicalLedSelection PhysicalLedSelection
This field defines which physical LEDs are to be activated when the corresponding VLED port is enable...
Definition: typedefs.h:3332
SAM AV2 mode (AES according to NXP: AN 10922).
Definition: typedefs.h:5797
The reader supports Cotag cards as documented here.
Definition: typedefs.h:1467
The reader supports HID ioProx tags as documented here.
Definition: typedefs.h:1423
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
brp_DesfireFileDescription_FileCommunicationSecurity FileCommunicationSecurity
Communication settings that define if data is to be MAC&#39;ed or encrypted before it&#39;s transmitted to th...
Definition: typedefs.h:2940
AES SL3 authentication.
Definition: typedefs.h:5342
bool ExtendedLED
The RGB LED features of the reader are defective.
Definition: typedefs.h:5612
This byte is required to enable additional fields for the characterization of the desired LED behavio...
Definition: typedefs.h:3274
The reader supports Bluetooth Low Energy (BLE).
Definition: typedefs.h:1557
bool RequireSessionKey
3-pass authentication and sessionkey generation
Definition: typedefs.h:3236
brp_Baudrate
The Baudrate specifies the performance of an RS-232/UART based interface in bits per second...
Definition: typedefs.h:1728
The reader supports MIFARE DESFire EV1 cards as documented here.
Definition: typedefs.h:1375
File is specified by APDU Select command that has to be executed to activate a file.
Definition: typedefs.h:127
This is a autoread protocol that sends the ID read by autoread mode via Wiegand protocol.
Definition: typedefs.h:424
The reader can read the UID of an ISO 14443 Type B card.
Definition: typedefs.h:1323
brp_Iso14a_RequestATS_FSDI
Frame Size proximity coupling Device Integer (FSDI) value.
Definition: typedefs.h:4284
brp_Desfire_ExecCommand_CryptoMode
Type of encryption.
Definition: typedefs.h:3457
More accurate info: The reader supports reading the PCN of HID iCLASS SE and Seos cards as documented...
Definition: typedefs.h:1529
bool Dataflash
The data flash chip is defective, device out of order.
Definition: typedefs.h:5656
bool Pyramid
Farpointe Pyramid.
Definition: typedefs.h:66
The reader supports Indala cards as documented here.
Definition: typedefs.h:1427
The reader supports MIFARE Classic cards and MIFARE Plus cards in Security Level 1 using MIFARE CRYPT...
Definition: typedefs.h:1367
The reader supports HID AWID tags as documented here.
Definition: typedefs.h:1415
bool NAD
If this flag is set, the PPIC supports NAD.
Definition: typedefs.h:4710
bool GProx
G-Prox.
Definition: typedefs.h:99
The reader supports IDTECK cards as documented here.
Definition: typedefs.h:1477
brp_Iso14b_Request_FWI FWI
Frame Waiting time Integer (FWI).
Definition: typedefs.h:4699
size_t Name_len
Length of Name (in bytes).
Definition: typedefs.h:6305
Refers to a general purpose I/O.
Definition: typedefs.h:1852
Definition: typedefs.h:6293
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1900
bool IoPortRead
Has to be cleared to deny read access to io ports.
Definition: typedefs.h:3171
bool HidIndala
Indala ASP.
Definition: typedefs.h:50
unsigned RepeatCnt
The number of repetitions of the code block between the matching tLoop this atLoop mand...
Definition: typedefs.h:2517
Definition: typedefs.h:4645
brp_AutoRunCommand_RunMode RunMode
Definition: typedefs.h:373
Definition: typedefs.h:4145
bool SetKey2
Has to be cleared to deny set security key 2.
Definition: typedefs.h:3207
bool FirmwareVersionBlocked
The loaded firmware version is blacklisted.
Definition: typedefs.h:5552
bool LeftLed
LED(s) on the left side of the reader.
Definition: typedefs.h:1681
References keys within a SAM, only available on SAM based readers: key index from 0x00 to 0x7F...
Definition: typedefs.h:215
MIFARE Plus L2 (2k and 4k variants)
Definition: typedefs.h:2599
The reader supports LEGIC cards as documented here.
Definition: typedefs.h:1347
bool VhlSelect
Has to be cleared to deny detection of cards via VHL.
Definition: typedefs.h:3151
brp_buf CharacteristicUUID
Specifies the UUID (16 or 128 bits) of the BLE characteristic.
Definition: typedefs.h:3385
bool FlashFileSystemRead
Has to be cleared to deny read access to flash file system.
Definition: typedefs.h:3127
unsigned FirmwareID
BCD number that specifies a firmware ID.
Definition: typedefs.h:3245
Every Feature in this list can be disabled by not setting the corresponding bit.
Definition: typedefs.h:3099
brp_VHL_Setup_MifareHasAsKeyA
Definition: typedefs.h:5958
bool SetKey1
Has to be cleared to deny set security key 1.
Definition: typedefs.h:3211
The reader supports PicoPass cards as documented here.
Definition: typedefs.h:1363
bool BleLicRequired
BLE license required.
Definition: typedefs.h:3359
brp_Desfire_Authenticate_SecureMessaging
Sets the secure messaging mode.
Definition: typedefs.h:3485
Mobile ID is disabled.
Definition: typedefs.h:5508
A PIN was entered via the reader&#39;s keyboard.
Definition: typedefs.h:527
The tamper alarm was deactivated.
Definition: typedefs.h:523
brp_DesfireFileDescription_FileCommunicationSecurity
Communication settings that define if data is to be MAC&#39;ed or encrypted before it&#39;s transmitted to th...
Definition: typedefs.h:2874
The following label commands are sent including the UID given in UID.
Definition: typedefs.h:5060
unsigned WriteKeyNo
WriteKeyNo , i.e.
Definition: typedefs.h:2958
unsigned SmallestBlockedFwVersionBuild
Binary that specifies the build number of the smallest blocked fw version.
Definition: typedefs.h:3257
Activates only the LEDs on the right side.
Definition: typedefs.h:3296
The reader supports HID Prox32 tags as documented here.
Definition: typedefs.h:1411
The debug interface may be used to look into the readers internals via a Terminal.
Definition: typedefs.h:416
brp_DesfireFileDescription_FileType FileType
Type of file to read.
Definition: typedefs.h:2946
Custom Virtual LED (VLED) port.
Definition: typedefs.h:1884
The reader supports HID Prox tags as documented here.
Definition: typedefs.h:1419
Indicates that the reader is connected to an IF Converter that connects to a server via Ethernet as H...
Definition: typedefs.h:478
The reader has an RGB LED that is customizable to a limited extend.
Definition: typedefs.h:1565
ISO 14443-4 Type B with ISO 7816-4 support.
Definition: typedefs.h:2631
unsigned Offset
Number of the first byte in the DESFire file to map into the VHL file.
Definition: typedefs.h:2962
brp_VirtualLedDefinition_PhysicalLedSelection
This field defines which physical LEDs are to be activated when the corresponding VLED port is enable...
Definition: typedefs.h:3292
bool Tamper
The tamper alarm is defective.
Definition: typedefs.h:5570
MIFARE DESFire (2k, 4k, and 8k variants)
Definition: typedefs.h:2587
size_t CharacteristicUUID_len
Length of CharacteristicUUID (in bytes).
Definition: typedefs.h:3389
The reader has a tamper alarm.
Definition: typedefs.h:1481
brp_DesfireFileDescription_FileType
Type of file to read.
Definition: typedefs.h:2904
BRP protocol over TCP/IP.
Definition: typedefs.h:412
unsigned AccessRightsLowByte
**Only needed to run VHL.Format .
Definition: typedefs.h:2989
bool StampSearch
Use Stamp search to identify the desired segment.
Definition: typedefs.h:165
The reader supports the Bluetooth Host Controller Interface (HCI).
Definition: typedefs.h:1585
brp_Iso14L4_SetupAPDU_FWI
Frame Waiting time Integer (FWI).
Definition: typedefs.h:4951