-
Notifications
You must be signed in to change notification settings - Fork 299
Description
As other already stated, the discovery with --ble-scan works and is able to find the device but any other operation seems to fail.
No matter if --info or --export-config, nothing other that discovery seems to work.
I did run with the --debuglib option and this might give clues:
$ meshtastic -b "80:B5:4E[redacted]" --info --debuglib
DEBUG file:__main__.py common line:1352 Not logging serial output
DEBUG file:ble_interface.py __init__ line:49 Threads starting
DEBUG file:ble_interface.py __init__ line:55 Threads running
DEBUG file:ble_interface.py __init__ line:59 BLE connecting to: 80:B5:4E:[redacted]
DEBUG file:ble_interface.py __init__ line:268 **No address provided - only discover method will work.**
INFO file:ble_interface.py scan line:129 Scanning for BLE devices (takes 10 seconds)...
It seems, the address is somehow not passed over, the same happens when using the device name.
The bluetooth stack shows a short connection followed by disconnect to the device and the cli would hang indefinitely.
Meshtastic is running v2.7.1.55 if this matters, it seems with this version, no connection can be made at all, not via client (http,serial,ble) and not via cli.
The android app does connect via ble though, my bluez can connect and will stay in this connection too.
Any advice? can provide additional info if needed, thanks for the project
update
It seems it fails to connect with the serial option too, the same happens in the client interface to me. It sends a header but you can't see more in the log when testing -s
$ meshtastic -s /dev/ttyACM0 --info --debuglib
DEBUG file:__main__.py common line:1352 Not logging serial output
DEBUG file:serial_interface.py __init__ line:55 Connecting to /dev/ttyACM0
DEBUG file:stream_interface.py __reader line:160 in __reader()
DEBUG file:stream_interface.py _sendToRadioImpl line:123 Sending: want_config_id: 344791245
DEBUG file:stream_interface.py _sendToRadioImpl line:128 sending header:b'\x94\xc3\x00\x06' b:b'\x18\xcd\xb1\xb4\xa4\x01'