aboutsummaryrefslogtreecommitdiff
path: root/serial/tools
diff options
context:
space:
mode:
Diffstat (limited to 'serial/tools')
-rw-r--r--serial/tools/hexlify_codec.py8
-rw-r--r--serial/tools/list_ports.py7
-rw-r--r--serial/tools/list_ports_common.py3
-rw-r--r--serial/tools/list_ports_linux.py5
-rw-r--r--serial/tools/list_ports_osx.py3
-rw-r--r--serial/tools/list_ports_posix.py8
-rw-r--r--serial/tools/list_ports_windows.py1
-rw-r--r--serial/tools/miniterm.py1
8 files changed, 18 insertions, 18 deletions
diff --git a/serial/tools/hexlify_codec.py b/serial/tools/hexlify_codec.py
index 5b35e8e..fac85db 100644
--- a/serial/tools/hexlify_codec.py
+++ b/serial/tools/hexlify_codec.py
@@ -1,3 +1,11 @@
+#! python
+#
+# This is a codec to create and decode hexdumps with spaces between characters. used by miniterm.
+#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
+# (C) 2011 Chris Liechti <cliechti@gmx.net>
+#
+# SPDX-License-Identifier: BSD-3-Clause
"""\
Python 'hex' Codec - 2-digit hex with spaces content transfer encoding.
"""
diff --git a/serial/tools/list_ports.py b/serial/tools/list_ports.py
index 4e3b4cc..10b7568 100644
--- a/serial/tools/list_ports.py
+++ b/serial/tools/list_ports.py
@@ -1,9 +1,8 @@
#!/usr/bin/env python
-
-# portable serial port access with python
-# this is a wrapper module for different platform implementations of the
-# port enumeration feature
#
+# Serial port enumeration. Console tool and backend selection.
+#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
# (C) 2011-2015 Chris Liechti <cliechti@gmx.net>
#
# SPDX-License-Identifier: BSD-3-Clause
diff --git a/serial/tools/list_ports_common.py b/serial/tools/list_ports_common.py
index d775c26..e5b0394 100644
--- a/serial/tools/list_ports_common.py
+++ b/serial/tools/list_ports_common.py
@@ -1,10 +1,9 @@
#!/usr/bin/env python
#
-# portable serial port access with python
-#
# This is a helper module for the various platform dependent list_port
# implementations.
#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
# (C) 2015 Chris Liechti <cliechti@gmx.net>
#
# SPDX-License-Identifier: BSD-3-Clause
diff --git a/serial/tools/list_ports_linux.py b/serial/tools/list_ports_linux.py
index daa02c4..f957efe 100644
--- a/serial/tools/list_ports_linux.py
+++ b/serial/tools/list_ports_linux.py
@@ -1,12 +1,9 @@
#!/usr/bin/env python
#
-# portable serial port access with python
-#
# This is a module that gathers a list of serial ports including details on
# GNU/Linux systems.
-# The comports function is expected to return an iterable that yields tuples of
-# 3 strings: port name, human readable description and a hardware ID.
#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
# (C) 2011-2015 Chris Liechti <cliechti@gmx.net>
#
# SPDX-License-Identifier: BSD-3-Clause
diff --git a/serial/tools/list_ports_osx.py b/serial/tools/list_ports_osx.py
index 4e0b3b6..4f3b9c5 100644
--- a/serial/tools/list_ports_osx.py
+++ b/serial/tools/list_ports_osx.py
@@ -1,13 +1,12 @@
#!/usr/bin/env python
#
-# portable serial port access with python
-#
# This is a module that gathers a list of serial ports including details on OSX
#
# code originally from https://github.com/makerbot/pyserial/tree/master/serial/tools
# with contributions from cibomahto, dgs3, FarMcKon, tedbrandston
# and modifications by cliechti, hoihu, hardkrash
#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
# (C) 2013-2015
#
# SPDX-License-Identifier: BSD-3-Clause
diff --git a/serial/tools/list_ports_posix.py b/serial/tools/list_ports_posix.py
index e55ff42..3f6e169 100644
--- a/serial/tools/list_ports_posix.py
+++ b/serial/tools/list_ports_posix.py
@@ -1,13 +1,9 @@
#!/usr/bin/env python
-
-# portable serial port access with python
-
+#
# This is a module that gathers a list of serial ports on POSIXy systems.
# For some specific implementations, see also list_ports_linux, list_ports_osx
#
-# this is a wrapper module for different platform implementations of the
-# port enumeration feature
-#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
# (C) 2011-2015 Chris Liechti <cliechti@gmx.net>
#
# SPDX-License-Identifier: BSD-3-Clause
diff --git a/serial/tools/list_ports_windows.py b/serial/tools/list_ports_windows.py
index ecf2287..0119786 100644
--- a/serial/tools/list_ports_windows.py
+++ b/serial/tools/list_ports_windows.py
@@ -3,6 +3,7 @@
# Enumerate serial ports on Windows including a human readable description
# and hardware information.
#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
#
# SPDX-License-Identifier: BSD-3-Clause
diff --git a/serial/tools/miniterm.py b/serial/tools/miniterm.py
index 05d3c8a..ee4b14e 100644
--- a/serial/tools/miniterm.py
+++ b/serial/tools/miniterm.py
@@ -2,6 +2,7 @@
#
# Very simple serial terminal
#
+# This file is part of pySerial. https://github.com/pyserial/pyserial
# (C)2002-2015 Chris Liechti <cliechti@gmx.net>
#
# SPDX-License-Identifier: BSD-3-Clause