python icon indicating copy to clipboard operation
python copied to clipboard

--ble no address provided

Open ffuhrnew opened this issue 2 weeks ago • 0 comments

With firmware 2.17.5 with RAK4631, XIAO NRF KIT and HELTEC V3, V4:

meshtastic --ble '650FE00F-0AC1-844B-5F4C-54F0AC37AAAA' --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: 650FE00F-0AC1-844B-5F4C-54F0AC37AAAA 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)...

No --info, no --nodes etc. possible. Seems as if the string after --ble is not targeted in the code.

ble_interface.py at line 267 -->

    if not address:
        logger.debug("No address provided - only discover method will work.")
        return

    self.bleak_client = BleakClient(address, **kwargs)

ffuhrnew avatar Dec 07 '25 18:12 ffuhrnew