Skip to content

Commit

Permalink
examples/bluetooth/ble_temperature_central.py: Remove service tuple.
Browse files Browse the repository at this point in the history
This is unused in the client, only needed in the server.

Signed-off-by: Jim Mussared <[email protected]>
  • Loading branch information
jimmo committed Apr 26, 2023
1 parent 419017e commit 201f5df
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions examples/bluetooth/ble_temperature_central.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,7 @@
_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)
Expand Down

0 comments on commit 201f5df

Please sign in to comment.