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>
pull/11239/head
Jim Mussared 2023-04-12 00:21:12 +10:00
rodzic 419017e1e4
commit 201f5df91e
1 zmienionych plików z 1 dodań i 8 usunięć

Wyświetl plik

@ -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)