mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
Issue #25043: Document BDADDR_ and HCI_ Bluetooth socket constants
Patch from Tim Tisdall.
This commit is contained in:
parent
79e5088a60
commit
ea7266d7c6
1 changed files with 16 additions and 0 deletions
|
|
@ -334,6 +334,22 @@ Constants
|
||||||
This constant contains a boolean value which indicates if IPv6 is supported on
|
This constant contains a boolean value which indicates if IPv6 is supported on
|
||||||
this platform.
|
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
|
Functions
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue