Skip to content

Commit d920c73

Browse files
committed
examples/bluetooth/ble_temperature_central.py: Remove service tuple.
This is unused in the client, only needed in the server. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 5b384d4 commit d920c73

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

examples/bluetooth/ble_temperature_central.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,7 @@
3939
_ENV_SENSE_UUID = bluetooth.UUID(0x181A)
4040
# org.bluetooth.characteristic.temperature
4141
_TEMP_UUID = bluetooth.UUID(0x2A6E)
42-
_TEMP_CHAR = (
43-
_TEMP_UUID,
44-
bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,
45-
)
46-
_ENV_SENSE_SERVICE = (
47-
_ENV_SENSE_UUID,
48-
(_TEMP_CHAR,),
49-
)
42+
5043

5144
# org.bluetooth.characteristic.gap.appearance.xml
5245
_ADV_APPEARANCE_GENERIC_THERMOMETER = const(768)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy