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>
This commit is contained in:
parent
419017e1e4
commit
201f5df91e
|
@ -39,14 +39,7 @@ _ADV_NONCONN_IND = const(0x03)
|
||||||
_ENV_SENSE_UUID = bluetooth.UUID(0x181A)
|
_ENV_SENSE_UUID = bluetooth.UUID(0x181A)
|
||||||
# org.bluetooth.characteristic.temperature
|
# org.bluetooth.characteristic.temperature
|
||||||
_TEMP_UUID = bluetooth.UUID(0x2A6E)
|
_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
|
# org.bluetooth.characteristic.gap.appearance.xml
|
||||||
_ADV_APPEARANCE_GENERIC_THERMOMETER = const(768)
|
_ADV_APPEARANCE_GENERIC_THERMOMETER = const(768)
|
||||||
|
|
Loading…
Reference in New Issue