mirror of
https://github.com/google/bumble.git
synced 2026-05-09 04:08:02 +00:00
improve logging
This commit is contained in:
@@ -121,8 +121,8 @@ class AshaService(TemplateService):
|
|||||||
# Register an L2CAP CoC server
|
# Register an L2CAP CoC server
|
||||||
def on_coc(channel):
|
def on_coc(channel):
|
||||||
def on_data(data):
|
def on_data(data):
|
||||||
logging.debug('<<< Voice data received:', data.hex())
|
logging.debug(f'<<< Voice data received:{data.hex()}')
|
||||||
# TODO think about where should voice data go
|
# TODO think about where data should be dumped
|
||||||
# audio_out.write(data)
|
# audio_out.write(data)
|
||||||
|
|
||||||
channel.sink = on_data
|
channel.sink = on_data
|
||||||
|
|||||||
Reference in New Issue
Block a user