-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I have two RAK radio's that I have tried to use with meshcore-cli over bluetooth. I can see and select the device when running meshcore-cli -S, but after that I get the following error on both devices:
Error:
Traceback (most recent call last):
File "/nix/store/xmz7h0k8qa91p172k7ijbiwafykyf3jw-python3.13-meshcore-cli-1.3.7/lib/python3.13/site-packages/meshcore_cli/meshcore_cli.py", line 3711, in cli
asyncio.run(main(sys.argv[1:]))
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/nix/store/62fdlzq1x1ak2lsxp4ij7ip5k9nia3hc-python3-3.13.7/lib/python3.13/asyncio/runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/nix/store/62fdlzq1x1ak2lsxp4ij7ip5k9nia3hc-python3-3.13.7/lib/python3.13/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/nix/store/62fdlzq1x1ak2lsxp4ij7ip5k9nia3hc-python3-3.13.7/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/nix/store/xmz7h0k8qa91p172k7ijbiwafykyf3jw-python3.13-meshcore-cli-1.3.7/lib/python3.13/site-packages/meshcore_cli/meshcore_cli.py", line 3620, in main
mc = await MeshCore.create_ble(address=address, device=device, client=client, debug=debug, only_error=json_output, pin=pin)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/6dd0y28499wbmszaqvwnzx3lk37mjsx6-python3.13-meshcore-2.2.1/lib/python3.13/site-packages/meshcore/meshcore.py", line 161, in create_ble
await mc.connect()
File "/nix/store/6dd0y28499wbmszaqvwnzx3lk37mjsx6-python3.13-meshcore-2.2.1/lib/python3.13/site-packages/meshcore/meshcore.py", line 166, in connect
result = await self.connection_manager.connect()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/6dd0y28499wbmszaqvwnzx3lk37mjsx6-python3.13-meshcore-2.2.1/lib/python3.13/site-packages/meshcore/connection_manager.py", line 59, in connect
result = await self.connection.connect()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/6dd0y28499wbmszaqvwnzx3lk37mjsx6-python3.13-meshcore-2.2.1/lib/python3.13/site-packages/meshcore/ble_cx.py", line 116, in connect
await self.client.start_notify(UART_TX_CHAR_UUID, self.handle_rx)
File "/nix/store/ikki1wmrbdc2ab26zsgcanr8f8592h3p-python3.13-bleak-1.1.1/lib/python3.13/site-packages/bleak/__init__.py", line 799, in start_notify
await self._backend.start_notify(
characteristic, wrapped_callback, cb=cb, **kwargs
)
File "/nix/store/ikki1wmrbdc2ab26zsgcanr8f8592h3p-python3.13-bleak-1.1.1/lib/python3.13/site-packages/bleak/backends/bluezdbus/client.py", line 921, in start_notify
reply = await self._bus.call(
^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/nix/store/fips90k9hcgwrbfc4iifqg85ax8d9qq4-python3.13-dbus-fast-2.44.3/lib/python3.13/site-packages/dbus_fast/aio/message_bus.py", line 398, in call
await future
File "src/dbus_fast/aio/message_reader.py", line 23, in dbus_fast.aio.message_reader._message_reader
File "src/dbus_fast/_private/unmarshaller.py", line 868, in dbus_fast._private.unmarshaller.Unmarshaller._unmarshall
File "src/dbus_fast/_private/unmarshaller.py", line 732, in dbus_fast._private.unmarshaller.Unmarshaller._read_header
File "src/dbus_fast/_private/unmarshaller.py", line 453, in dbus_fast._private.unmarshaller.Unmarshaller._read_to_pos
File "src/dbus_fast/_private/unmarshaller.py", line 393, in dbus_fast._private.unmarshaller.Unmarshaller._read_sock_with_fds
EOFErrorI run meshcore-cli with nix run .#meshcore-cli.
Metadata
Metadata
Assignees
Labels
No labels