Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PRBluetooth: Classic: SDP: Fix the client on failed discoveries
A discovery by record handle that gets an empty attribute list takes the handle for a pointer to a UUID when logging it, which can fault before the callback is called. The other log statements of the client mix up the same two fields, so…
Zephyr RTOS#124361 · by jhedberg - Merged PRlogging: backend: ble: Fix output after a disconnect
The Bluetooth logging backend kept the connection of its last connected callback, without a reference, and any disconnection cleared it. Output after that passed NULL to bt_gatt_get_mtu(), which dereferences it. With two subscribed…
Zephyr RTOS#123489 · by jhedberg - Merged PRBluetooth: Host: Fix RPA age after an RPA timeout change
bt_id_rpa_is_new() derives the age of the current RPA from the time left on the RPA timer and the configured RPA timeout. bt_le_set_rpa_timeout() leaves a pending timer as it is, so after shortening the timeout the current RPA counts as…
Zephyr RTOS#122963 · by jhedberg - Merged PRsamples: bluetooth: encrypted_advertising: Fix hang on connect failure
When a connection attempt failed, the central's connected callback restarted the scan and waited on the Bluetooth workqueue for signals that only callbacks on that same workqueue raise, so after one failed attempt the workqueue stayed…
Zephyr RTOS#122566 · by jhedberg - Merged PRtwister: script harness: run a scenario's scripts in parallel
Twister's script harness runs the scripts of a scenario one after the other. A scenario with many scripts therefore keeps one CPU busy while the rest of the machine idles. A local run of one test directory is bound by its longest script…
Zephyr RTOS#122557 · by jhedberg - Merged PRsamples: bluetooth: hci_uart: Add build-only vendor Controller scenario
The sample is built in CI only for boards with the Zephyr Link Layer, so nothing caught it failing at Kconfig with the Silabs EFR32 and Espressif ESP32 Controllers. Add a build-only scenario for these Controllers. Depends on #124886, whose…
Zephyr RTOS#125102 · by jhedberg - Merged PRci: ai_review: keep other labels from cancelling a review
The AI review workflow runs on every label that is added to a pull request, and all of its runs for one pull request share a concurrency group with cancel-in-progress: true. The job then skips a label other than ai-review. A label that is…
Zephyr RTOS#126172 · by jhedberg - Merged PRBluetooth: HCI: h4: Stop the RX thread without aborting it
h4_stop() aborted the RX thread, which loses what the thread holds at that point. A buffer freed while the thread waits for one for a deferred packet is handed to the thread directly, and a cooperative caller that frees it and then closes…
Zephyr RTOS#125369 · by jhedberg - Merged PRtests: Bluetooth: CAP: Make the handover test pass again
tests/bsim/bluetooth/audio/test_scripts/cap_handover.sh fails on nrf54l15bsim on main since bae0a619b432 ("tests: Bluetooth: BAP: Add test for notifying PAC records") changed the random seeds of its three devices, so the BabbleSim workflow…
Zephyr RTOS#126521 · by jhedberg - Merged PRBluetooth: Host: Trim the RAM of three Host structures
Three small changes that make Host structures smaller, split out of #118268 so that they do not wait for it. bt_dev.create_param holds the parameters of a connection that is being created, and is now built with CONFIG_BT_CENTRAL only.…
Zephyr RTOS#126137 · by jhedberg - Merged PRdrivers: bluetooth: hci: silabs: Fix LL and RX thread handling
Three fixes to how the EFR32 HCI driver runs its Link Layer and HCI RX threads. Stop threads when open() fails. slz_bt_open() starts the Link Layer and HCI RX threads before it initializes the Controller and RAIL power management, and…
Zephyr RTOS#125735 · by jhedberg - Merged PRBluetooth: Controller: Add a BabbleSim LLL with legacy advertising
In BabbleSim the software-split Controller only runs with the Nordic LLL on the nRF radio models, so Link Layer code gets bsim coverage only once it is implemented for nRF radios, and a BabbleSim board without nRF HW models has no…
Zephyr RTOS#121777 · by jhedberg - Merged PRBluetooth: HCI: psoc6_bless: Free the RX buffer of a too-long packet
When a packet from the Controller did not fit in the event or ACL buffer allocated for it, psoc6_bless_events_handler() logged a warning and returned without releasing the buffer. Each such packet took one buffer out of its RX pool for…
Zephyr RTOS#125566 · by jhedberg - Merged PRBluetooth: Host: Fix bt_disable() closing HCI during a send
bt_disable() closes the HCI transport without excluding the TX processor, which holds the host lock from taking a command off the queue until the driver's send() returns. A command queued after the controller reset, or any command when the…
Zephyr RTOS#123556 · by jhedberg - Merged PRtwister: use a GNU make job server given as a named pipe
GNU make 4.4 passes its job server as --jobserver-auth=fifo:PATH by default, and twister only took the R,W file descriptor form. Run from such a make, twister ignored the job server and kept only its implicit job slot, so its worker…
Zephyr RTOS#125326 · by jhedberg