You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/library/network.Bluetooth.rst
+1-13
Original file line number
Diff line number
Diff line change
@@ -289,18 +289,12 @@ Constants
289
289
290
290
Characteristic properties (bit values that can be combined)
291
291
292
-
.. data:: Bluetooth.CHAR_CONFIG_NOTIFY
293
-
Bluetooth.CHAR_CONFIG_INDICATE
294
-
295
-
Characteristic configurations representing the current value of the characteristic's configuration descriptor.
296
-
297
292
.. data:: Bluetooth.CHAR_READ_EVENT
298
293
Bluetooth.CHAR_WRITE_EVENT
299
294
Bluetooth.NEW_ADV_EVENT
300
295
Bluetooth.CLIENT_CONNECTED
301
296
Bluetooth.CLIENT_DISCONNECTED
302
297
Bluetooth.CHAR_NOTIFY_EVENT
303
-
Bluetooth.CHAR_SUBSCRIBE_EVENT
304
298
305
299
Charactertistic callback events
306
300
@@ -424,12 +418,6 @@ The following class allows you to manage characteristics from a **Client**.
424
418
425
419
characteristic.properties()
426
420
427
-
.. method:: characteristic.config()
428
-
429
-
Returns an integer indicating the client configuration of the characteristic. Configurations are represented by bit values that can be ORed together. The configuration is often updated when the CHAR_SUBSCRIBE_EVENT is generated. See the constants section for more details. ::
430
-
431
-
characteristic.config()
432
-
433
421
.. method:: characteristic.read()
434
422
435
423
Read the value of the characteristic. For now it always returns a bytes object representing the characteristic value. In the future a specific type (integer, string, bytes) will be returned depending on the characteristic in question. ::
@@ -503,7 +491,7 @@ The following class allows you to manage **Server** characteristics.
503
491
504
492
Creates a callback that will be executed when any of the triggers occurs. The arguments are:
505
493
506
-
- ``trigger`` can be either ``Bluetooth.CHAR_READ_EVENT`` or ``Bluetooth.CHAR_WRITE_EVENT`` or ``Bluetooth.CHAR_SUBSCRIBE_EVENT``.
494
+
- ``trigger`` can be either ``Bluetooth.CHAR_READ_EVENT`` or ``Bluetooth.CHAR_WRITE_EVENT``.
507
495
- ``handler`` is the function that will be executed when the callback is triggered.
508
496
- ``arg`` is the argument that gets passed to the callback. If nothing is given, the characteristic object that owns the callback will be used.
0 commit comments