diff options
Diffstat (limited to 'firmware/src/pcd')
-rw-r--r-- | firmware/src/pcd/main_analog.c | 22 | ||||
-rw-r--r-- | firmware/src/pcd/main_dumbreader.c | 19 | ||||
-rw-r--r-- | firmware/src/pcd/main_pwm.c | 17 | ||||
-rw-r--r-- | firmware/src/pcd/main_reqa.c | 16 | ||||
-rw-r--r-- | firmware/src/pcd/rc632.c | 19 | ||||
-rw-r--r-- | firmware/src/pcd/rc632_highlevel.c | 13 | ||||
-rw-r--r-- | firmware/src/pcd/rfid_layer2_iso14443a.c | 13 |
7 files changed, 102 insertions, 17 deletions
diff --git a/firmware/src/pcd/main_analog.c b/firmware/src/pcd/main_analog.c index 8ffa1d4..799a98b 100644 --- a/firmware/src/pcd/main_analog.c +++ b/firmware/src/pcd/main_analog.c @@ -1,9 +1,27 @@ /* main_reqa - OpenPCD firmware for generating an endless loop of * ISO 14443-A REQA packets. + * (C) 2006 by Harald Welte <hwelte@hmw-consulting.de> * - * If a response is received from the PICC, LED1 (Red) will be switched + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + + +/* If a response is received from the PICC, LED2 (green) will be switched * on. If no valid response has been received within the timeout of the - * receiver, LED1 (Red) will be switched off. + * receiver, LED1 (Red) will be toggled. * */ diff --git a/firmware/src/pcd/main_dumbreader.c b/firmware/src/pcd/main_dumbreader.c index 1535e27..d5db8a5 100644 --- a/firmware/src/pcd/main_dumbreader.c +++ b/firmware/src/pcd/main_dumbreader.c @@ -1,3 +1,22 @@ +/* AT91SAM7 "dumb reader" firmware for OpenPCD + * (C) 2006 by Harald Welte <hwelte@hmw-consulting.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + #include <errno.h> #include <include/lib_AT91SAM7.h> #include <include/openpcd.h> diff --git a/firmware/src/pcd/main_pwm.c b/firmware/src/pcd/main_pwm.c index 2f92d28..58010ee 100644 --- a/firmware/src/pcd/main_pwm.c +++ b/firmware/src/pcd/main_pwm.c @@ -2,6 +2,23 @@ * carrier * * To use this, you need to connect PIOA P0 with MFIN of the reader. + * + * (C) 2006 by Harald Welte <hwelte@hmw-consulting.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * */ #include <errno.h> diff --git a/firmware/src/pcd/main_reqa.c b/firmware/src/pcd/main_reqa.c index e28fdff..9f46569 100644 --- a/firmware/src/pcd/main_reqa.c +++ b/firmware/src/pcd/main_reqa.c @@ -6,6 +6,22 @@ * on. If no valid response has been received within the timeout of the * receiver, LED1 (Red) will be switched off. * + * (C) 2006 by Harald Welte <hwelte@hmw-consulting.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * */ #include <errno.h> diff --git a/firmware/src/pcd/rc632.c b/firmware/src/pcd/rc632.c index 5d45955..3a91e8f 100644 --- a/firmware/src/pcd/rc632.c +++ b/firmware/src/pcd/rc632.c @@ -6,7 +6,24 @@ * librfid in order to be able to leverage higher-level code from librfid * to this OpenPCD firmware. * - * */ + * AT91SAM7 PWM routines for OpenPCD / OpenPICC + * (C) 2006 by Harald Welte <hwelte@hmw-consulting.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ #include <string.h> #include <errno.h> diff --git a/firmware/src/pcd/rc632_highlevel.c b/firmware/src/pcd/rc632_highlevel.c index b1186ab..34a28c7 100644 --- a/firmware/src/pcd/rc632_highlevel.c +++ b/firmware/src/pcd/rc632_highlevel.c @@ -1,13 +1,10 @@ /* Generic Philips CL RC632 Routines + * (C) 2006 by Harald Welte <hwelte@hmw-consulting.de> * - * (C) Harald Welte <laforge@gnumonks.org> - * - */ - -/* * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,8 +14,10 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * */ + #include <sys/types.h> #include <string.h> #include <errno.h> diff --git a/firmware/src/pcd/rfid_layer2_iso14443a.c b/firmware/src/pcd/rfid_layer2_iso14443a.c index 80d9d5f..923f50b 100644 --- a/firmware/src/pcd/rfid_layer2_iso14443a.c +++ b/firmware/src/pcd/rfid_layer2_iso14443a.c @@ -1,13 +1,10 @@ /* ISO 14443-3 A anticollision implementation + * (C) 2005-2006 by Harald Welte <laforge@gnumonks.org> * - * (C) 2005 by Harald Welte <laforge@gnumonks.org> - * - */ - -/* * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,8 +14,10 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * */ + #include <stdlib.h> #include <unistd.h> #include <string.h> |