From 1068a6858da0049d291a11c06c1869f3661e7e32 Mon Sep 17 00:00:00 2001 From: Yuyang Huang Date: Tue, 20 Dec 2022 13:33:18 -0800 Subject: [PATCH] improve logging --- bumble/profiles/asha_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumble/profiles/asha_service.py b/bumble/profiles/asha_service.py index 1cb8380..03b9ba3 100644 --- a/bumble/profiles/asha_service.py +++ b/bumble/profiles/asha_service.py @@ -121,8 +121,8 @@ class AshaService(TemplateService): # Register an L2CAP CoC server def on_coc(channel): def on_data(data): - logging.debug('<<< Voice data received:', data.hex()) - # TODO think about where should voice data go + logging.debug(f'<<< Voice data received:{data.hex()}') + # TODO think about where data should be dumped # audio_out.write(data) channel.sink = on_data