Skip to content

--ble no address provided #877

@ffuhrnew

Description

@ffuhrnew

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions