Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea7266d

Browse files
author
Martin Panter
committed
Issue #25043: Document BDADDR_ and HCI_ Bluetooth socket constants
Patch from Tim Tisdall.
1 parent 79e5088 commit ea7266d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Doc/library/socket.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,22 @@ Constants
334334
This constant contains a boolean value which indicates if IPv6 is supported on
335335
this platform.
336336

337+
.. data:: BDADDR_ANY
338+
BDADDR_LOCAL
339+
340+
These are string constants containing Bluetooth addresses with special
341+
meanings. For example, :const:`BDADDR_ANY` can be used to indicate
342+
any address when specifying the binding socket with
343+
:const:`BTPROTO_RFCOMM`.
344+
345+
.. data:: HCI_FILTER
346+
HCI_TIME_STAMP
347+
HCI_DATA_DIR
348+
349+
For use with :const:`BTPROTO_HCI`. :const:`HCI_FILTER` is not
350+
available for NetBSD or DragonFlyBSD. :const:`HCI_TIME_STAMP` and
351+
:const:`HCI_DATA_DIR` are not available for FreeBSD, NetBSD, or
352+
DragonFlyBSD.
337353

338354
Functions
339355
^^^^^^^^^

0 commit comments

Comments
 (0)