[Python-checkins] cpython (merge 3.5 -> default): Issue #25043: Merge Bluetooth doc from 3.5

martin.panter python-checkins at python.org
Sat Sep 12 01:32:11 CEST 2015


https://hg.python.org/cpython/rev/5325233f117d
changeset:   97929:5325233f117d
parent:      97926:bb7363b8b50e
parent:      97928:3f475417eadd
user:        Martin Panter <vadmium>
date:        Fri Sep 11 23:19:30 2015 +0000
summary:
  Issue #25043: Merge Bluetooth doc from 3.5

files:
  Doc/library/socket.rst |  16 ++++++++++++++++
  1 files changed, 16 insertions(+), 0 deletions(-)


diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -349,6 +349,22 @@
    This constant contains a boolean value which indicates if IPv6 is supported on
    this platform.
 
+.. data:: BDADDR_ANY
+          BDADDR_LOCAL
+
+   These are string constants containing Bluetooth addresses with special
+   meanings. For example, :const:`BDADDR_ANY` can be used to indicate
+   any address when specifying the binding socket with
+   :const:`BTPROTO_RFCOMM`.
+
+.. data:: HCI_FILTER
+          HCI_TIME_STAMP
+          HCI_DATA_DIR
+
+   For use with :const:`BTPROTO_HCI`. :const:`HCI_FILTER` is not
+   available for NetBSD or DragonFlyBSD. :const:`HCI_TIME_STAMP` and
+   :const:`HCI_DATA_DIR` are not available for FreeBSD, NetBSD, or
+   DragonFlyBSD.
 
 Functions
 ^^^^^^^^^

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list