Skip to content

BLE device not appearing in bluetoothctl scan on after flashing THB firmware #9

@BastelHeini

Description

@BastelHeini

Description:

Hi,

I’ve been trying to connect a BTH device flashed with the BOOT_BTH01_v18.hex (and also tried older versions) to my Linux laptop, but I’m having trouble getting it to show up in bluetoothctl scan on.

Setup:

  • Laptop: HP ProBook 650 G1
  • OS: Ubuntu 22.04 (fully updated)
  • Bluetooth adapter: integrated USB controller (hci0)
  • Firmware flashed: BOOT_BTH01_v18.hex and older versions from this repo
  • Flashing tool: rdwr_phy62x2.py on Python 3.12

What works:

  • hcitool lescan does show the device: _38:1F:8D:9B:D8:F0 BTH01-9BD8F0
  • hciconfig hci0 up and rfkill unblock bluetooth both work fine (device shows as UP RUNNING)

What doesn’t work:

  • bluetoothctl scan on never lists the device, even though it appears with lescan.
  • The log (journalctl -xeu bluetooth.service) sometimes shows:
    src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object upon power down

Steps I tried:

  • Restarting bluetoothd
  • Running bluetoothd -n -d in debug mode
  • Removing and re-adding the Bluetooth adapter
  • Trying different firmware versions

Any idea why bluetoothctl doesn’t see the device while lescan does? Could this be related to the firmware’s advertisement settings?

Because this is not working the device also can not upload the code via OTA.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions