Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nimble/host: Initial Broadcast Source implementation #1619

Merged
merged 8 commits into from
Dec 4, 2023

Commits on Nov 29, 2023

  1. nimble/host: Broadcast Source and Auracast API design

    This is a design of API that could be used to create BASE configuration manage
    its broadcast (setup extended advertising, periodic advertising and
    BASE advertisements, stop, resume, terminate and modify them)
    KKopyscinski committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    511b532 View commit details
    Browse the repository at this point in the history
  2. nimble/host: initial Broadcast source implementation

    This patch implements Broadcast feature in host. It includes
    implementation of ISO in host, with application API, HCI commands and
    ISO event handling. Host is now capable of managing BIGs with subgroups
    and BISes, updating Broadcast announcements and pushing data to ISO, to
    send in BIS events.
    
    Maximum extended advertising size was set to 251 to fit Periodic
    advertising data connected with Broadcast Audio
    Announcement Service advertisements by default.
    
    This patch does not implement Broadcast sink, only source.
    KKopyscinski committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    e56bd97 View commit details
    Browse the repository at this point in the history
  3. apps/btshell: implement Broadcast source API

    This patch adds commands to btshell to allow creating BIGs, BIG
    subgroups and BISe and create and manage Broadcast advertisements.
    KKopyscinski committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    5e6bfc4 View commit details
    Browse the repository at this point in the history
  4. host/gap: add function that returns free advertising instance

    ble_gap_adv_get_free_instance browses through list of advertising
    instances and returns first that is not yet configured. Previously,
    user had to track which instance is used by themselves, and could only
    check if advertising is active, via ble_gap_ext_adv_active
    KKopyscinski committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    9397c55 View commit details
    Browse the repository at this point in the history
  5. implementation of Auracast package

    This is simplified wrapper for Broadcast, that allows to create
    Broadcast advertisements with sane defaults for advertising parameters.
    Application still needs to build BASE configuration to use it.
    KKopyscinski committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    ee8b3c0 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. apps/leaudio_broadcaster: add sample application for broadcast feature

    Added application that has stored LC3 coded audio in form of sine sweep
    from 100Hz to 20kHz. Application creates Broadcast announcement, builds
    BIG with 1 or 2 BISes and starts to broadcast sample data.
    KKopyscinski committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    a660294 View commit details
    Browse the repository at this point in the history
  2. apps: add Auracast sample

    This sample uses Auracast package to broadcast audio
    KKopyscinski committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    5fa43c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ccd52f9 View commit details
    Browse the repository at this point in the history