diff --git a/include/modbus/modbus.h b/include/modbus/modbus.h index 3108b2a..d5c8d99 100644 --- a/include/modbus/modbus.h +++ b/include/modbus/modbus.h @@ -1,22 +1,20 @@ /* - Copyright (C) 2001-2007 Stéphane Raimbault - + Copyright (C) 2001-2008 Stéphane Raimbault + This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This library 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 Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - - These library of functions are designed to enable a program send and - receive data from a device that communicates using the Modbus protocol. + License along with this library; if not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #ifndef _MODBUS_H_ diff --git a/src/modbus.c b/src/modbus.c index aa6efaf..19eccfa 100644 --- a/src/modbus.c +++ b/src/modbus.c @@ -1,24 +1,30 @@ /* - Copyright (C) 2001-2007 Stéphane Raimbault - + Copyright (C) 2001-2008 Stéphane Raimbault + This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This library 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 Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + License along with this library; if not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +/* + The library is designed to send and receive data from a device that + communicate via the Modbus protocol. - The functions included here have been derived from the Modicon - Modbus Protocol Reference Guide which can be obtained from - Schneider at www.schneiderautomation.com. - + The function names used are inspired by the Modicon Modbus Protocol + Reference Guide which can be obtained from Schneider at + www.schneiderautomation.com. + Documentation: http://www.easysw.com/~mike/serial/serial.html */ diff --git a/src/test-modbus-master.c b/src/test-modbus-master.c index e62454a..864dcd5 100644 --- a/src/test-modbus-master.c +++ b/src/test-modbus-master.c @@ -1,23 +1,21 @@ /* - Copyright (C) 2001-2007 Stéphane Raimbault - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - - These library of functions are designed to enable a program send and - receive data from a device that communicates using the Modbus protocol. -*/ + * Copyright (C) 2001-2008 Stéphane Raimbault + * + * Licensed under the GNU General Public License Version 2 + * + * 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, see . + */ #include #include diff --git a/src/test-modbus-slave.c b/src/test-modbus-slave.c index 3b2a098..4cdc053 100644 --- a/src/test-modbus-slave.c +++ b/src/test-modbus-slave.c @@ -1,23 +1,21 @@ /* - Copyright (C) 2001-2007 Stéphane Raimbault - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - - These library of functions are designed to enable a program send and - receive data from a device that communicates using the Modbus protocol. -*/ + * Copyright (C) 2001-2008 Stéphane Raimbault + * + * Licensed under the GNU General Public License Version 2 + * + * 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, see . + */ #include #include