Hi Simon,

On 6 September 2017 at 05:33, Simon Ratner <[email protected]> wrote:
> Hi Szymon,
>
> I'd like to take you up on that offer of docs, or at least a pointer in the
> right direction of where to find the new multi-adv hci commands.

Those are standard HCI commands and events from Bluetooth Core Spec 5.0 :
 LE Set Advertising Set Random Address Command
 LE Set Extended Advertising Parameters Command
 LE Set Extended Advertising Data Command
 LE Set Extended Scan Response Data Command
 LE Set Extended Scan Response Data Command
 LE Advertising Set Terminated Event
 LE Scan Request Received Event

All those have 'advertising handle' which allows to configure multiple
instances (with both legacy or Ext Advertising PDUs).
Note that spec seems to a bit unclear on what are allowed values for
advertising handle (as it seems to be configured from
host side) - currently in Mynewt allowed values for those are 0 to
MAX_ADVERTISING_INSTANCES.

You can find helpers for constructing those from host in ble_hs_hci_priv.h

-- 
pozdrawiam
Szymon K. Janc

Reply via email to