Skip to content

Commit 201f5df

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 <[email protected]>
1 parent 419017e commit 201f5df

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

examples/bluetooth/ble_temperature_central.py

+1-8
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)