You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async def add_gatt(self, gatt_tree: Dict):
"""
Uses the provided dictionary add all the services and characteristics
Parameters
----------
gatt_tree : Dict
A dictionary of services and characteristics where the keys are the
uuids and the attributes are the properties
"""
for service_uuid, service_info in gatt_tree.items():
await self.add_new_service(service_uuid)
for char_uuid, char_info in service_info.items():
await self.add_new_characteristic(
service_uuid, char_uuid, char_info.get("Properties"),
char_info.get("value"), char_info.get("Permissions")
)
The text was updated successfully, but these errors were encountered:
The problem
Initial values in gatt_tree not used
Reproduction
Run gattserver.py
Expected behavior
Provide a clear and concise description of what you expected to happen.
Screenshots
Not applicable
Desktop (please complete the following information):
Additional context
gattserver.py:
server.py: value is in lowercase
The text was updated successfully, but these errors were encountered: