diff options
author | Martin Panter <vadmium> | 2015-09-11 23:19:10 (GMT) |
---|---|---|
committer | Martin Panter <vadmium> | 2015-09-11 23:19:10 (GMT) |
commit | ba1125246c7cadb16db24b3ffc5b72007adcf15a (patch) | |
tree | 02a5c458d2206e7f7e90e59bc64128c43a70498c /Doc/library/socket.rst | |
parent | 729aa1462a13c778b3181cf1c784afc1609f89d7 (diff) | |
parent | ea7266d7c6cde6b973e63d8dc06975660dbc11dd (diff) | |
download | cpython-ba1125246c7cadb16db24b3ffc5b72007adcf15a.zip cpython-ba1125246c7cadb16db24b3ffc5b72007adcf15a.tar.gz cpython-ba1125246c7cadb16db24b3ffc5b72007adcf15a.tar.bz2 |
Issue #25043: Merge Bluetooth doc from 3.4 into 3.5
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r-- | Doc/library/socket.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 131100a..e583ebd 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -349,6 +349,22 @@ Constants 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 ^^^^^^^^^ |