Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion adafruit_ble/services/standard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

from .. import Service
from ...uuid import StandardUUID
from ...characteristics import Characteristic
from ...characteristics.string import StringCharacteristic
from ...characteristics import StructCharacteristic
from ...characteristics.int import Uint8Characteristic
Expand Down Expand Up @@ -69,7 +70,7 @@ class BatteryService(Service):
"""Provides battery level information"""

uuid = StandardUUID(0x180F)
level = Uint8Characteristic(max_value=100, uuid=StandardUUID(0x2A19))
level = Uint8Characteristic(max_value=100, properties=Characteristic.READ | Characteristic.NOTIFY, uuid=StandardUUID(0x2A19))


class CurrentTimeService(Service):
Expand Down