From fc371d0d0e3a60b06dec862e37612375860c41d5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 17 Jun 2018 14:21:45 +1000 Subject: Add CCID class driver and associated demos. --- Demos/Device/LowLevel/CCID/Lib/Iso7816.h | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Demos/Device/LowLevel/CCID/Lib/Iso7816.h (limited to 'Demos/Device/LowLevel/CCID/Lib/Iso7816.h') diff --git a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h new file mode 100644 index 000000000..d07485823 --- /dev/null +++ b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h @@ -0,0 +1,45 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2018. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2018 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2018 Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaims all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +#ifndef _ISO7816_H_ +#define _ISO7816_H_ + + /* Includes: */ + #include + #include + #include + #include + #include + + /* Function Prototypes: */ + void Iso7816_CreateSimpleAttr(uint8_t* attr, uint8_t* attrLength); + +#endif -- cgit v1.2.3 From be13902026cdfea208a3d3016657c259361a0aaf Mon Sep 17 00:00:00 2001 From: Filipe Rodrigues Date: Sun, 17 Jun 2018 15:50:25 -0700 Subject: Review fixes - Added documentation - Removed incomplete XfrBlock message - Renamed Attr to Atr --- Demos/Device/LowLevel/CCID/Lib/Iso7816.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Device/LowLevel/CCID/Lib/Iso7816.h') diff --git a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h index d07485823..aa5f4ba83 100644 --- a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h +++ b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h @@ -40,6 +40,6 @@ #include /* Function Prototypes: */ - void Iso7816_CreateSimpleAttr(uint8_t* attr, uint8_t* attrLength); + void Iso7816_CreateSimpleAtr(uint8_t* atr, uint8_t* atrLength); #endif -- cgit v1.2.3 From bc57f4ea5afd29f2e0f0175d14cf1540b4408de8 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 24 Jun 2018 16:41:58 +1000 Subject: Reformatting and add const qualifiers. --- Demos/Device/LowLevel/CCID/Lib/Iso7816.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Demos/Device/LowLevel/CCID/Lib/Iso7816.h') diff --git a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h index aa5f4ba83..f73309d90 100644 --- a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h +++ b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h @@ -38,8 +38,10 @@ #include #include #include + #include /* Function Prototypes: */ - void Iso7816_CreateSimpleAtr(uint8_t* atr, uint8_t* atrLength); + void Iso7816_CreateSimpleAtr(uint8_t* const atr, + uint8_t* const atrLength); #endif -- cgit v1.2.3 From 101ed6b74e0d6549e53a7c8216147af37ffc70df Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 8 Jan 2019 19:59:41 +1100 Subject: Documentation: Update copyrights to 2019. --- Demos/Device/LowLevel/CCID/Lib/Iso7816.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Demos/Device/LowLevel/CCID/Lib/Iso7816.h') diff --git a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h index f73309d90..c76c0ce5b 100644 --- a/Demos/Device/LowLevel/CCID/Lib/Iso7816.h +++ b/Demos/Device/LowLevel/CCID/Lib/Iso7816.h @@ -1,14 +1,14 @@ /* LUFA Library - Copyright (C) Dean Camera, 2018. + Copyright (C) Dean Camera, 2019. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2018 Dean Camera (dean [at] fourwalledcubicle [dot] com) - Copyright 2018 Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com) + Copyright 2019 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2019 Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted -- cgit v1.2.3