MySmartUSB-MK3-Interface

MySmartUSB MK3 Interface
git clone git://xatko.vsos.ethz.ch/MySmartUSB-MK3-Interface.git
Log | Files | Refs

commit a74e98c64b2f5b4716df820b94b242b8e35cf202
parent 3cdfc00cde4b68971b98c5bf31ab8dfea7e92a8b
Author: Dominik Schmidt <das1993@hotmail.com>
Date:   Mon, 10 Dec 2012 00:00:39 +0100

Gitignore added

Diffstat:
.gitignore | 2++
cmd.c | 9+++++++++
cmd.h | 9+++++++++
com.c | 9+++++++++
com.h | 9+++++++++
ctrl.c | 9+++++++++
dev.c | 9+++++++++
dev.h | 9+++++++++
log.c | 9+++++++++
log.h | 9+++++++++
10 files changed, 83 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,2 @@ +ctrl +*.o diff --git a/cmd.c b/cmd.c @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #include <cmd.h> #include <log.h> #include <com.h> diff --git a/cmd.h b/cmd.h @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #pragma once enum COMMAND_TYPE{ diff --git a/com.c b/com.c @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #include <com.h> #include <log.h> #include <stdlib.h> diff --git a/com.h b/com.h @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #pragma once extern char *readString(int fd, unsigned int length); extern int sendRawString(int fd, const char *str); diff --git a/ctrl.c b/ctrl.c @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #include <stdio.h> #include <log.h> #include <cmd.h> diff --git a/dev.c b/dev.c @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #include <dev.h> #include <termios.h> #include <log.h> diff --git a/dev.h b/dev.h @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #pragma once #include <termios.h> extern int closeDevice(int dev); diff --git a/log.c b/log.c @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #include <log.h> #include <stdio.h> #include <errno.h> diff --git a/log.h b/log.h @@ -1,3 +1,12 @@ +/* + * MySmartUSB MK3 Interface + * + * @copyright: Copyright (c) 2012, Dominik Schmidt + * @author: Dominik Schmidt <das1993@hotmail.com> + * @version: 0.0.0 + * @license: CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/) + * +*/ #pragma once enum LOG_TYPE{ LOG_TYPE_RESULT,