summaryrefslogtreecommitdiff
path: root/examples/bluetooth/ble_temperature_central.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-04-12 00:21:12 +1000
committerJim Mussared <jim.mussared@gmail.com>2023-04-26 11:37:20 +1000
commit201f5df91ef921dbf1d78b2fc4c194e1776d1b12 (patch)
treeb4d6a3c118b12433f14b583377c90a6488b11235 /examples/bluetooth/ble_temperature_central.py
parent419017e1e4260742412eb4ce4cc634b9150b2f7d (diff)
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>
Diffstat (limited to 'examples/bluetooth/ble_temperature_central.py')
-rw-r--r--examples/bluetooth/ble_temperature_central.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/bluetooth/ble_temperature_central.py b/examples/bluetooth/ble_temperature_central.py
index 80e3c3fb3..afa914672 100644
--- a/examples/bluetooth/ble_temperature_central.py
+++ b/examples/bluetooth/ble_temperature_central.py
@@ -39,14 +39,7 @@ _ADV_NONCONN_IND = const(0x03)
_ENV_SENSE_UUID = bluetooth.UUID(0x181A)
# org.bluetooth.characteristic.temperature
_TEMP_UUID = bluetooth.UUID(0x2A6E)
-_TEMP_CHAR = (
- _TEMP_UUID,
- bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,
-)
-_ENV_SENSE_SERVICE = (
- _ENV_SENSE_UUID,
- (_TEMP_CHAR,),
-)
+
# org.bluetooth.characteristic.gap.appearance.xml
_ADV_APPEARANCE_GENERIC_THERMOMETER = const(768)