From 201f5df91ef921dbf1d78b2fc4c194e1776d1b12 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Wed, 12 Apr 2023 00:21:12 +1000 Subject: [PATCH] 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 --- examples/bluetooth/ble_temperature_central.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/examples/bluetooth/ble_temperature_central.py b/examples/bluetooth/ble_temperature_central.py index 80e3c3fb30..afa914672c 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)