• Jaganath Kanakkassery's avatar
    Bluetooth: Use Set ext adv/scan rsp data if controller supports · a0fb3726
    Jaganath Kanakkassery authored
    This patch implements Set Ext Adv data and Set Ext Scan rsp data
    if controller support extended advertising.
    
    Currently the operation is set as Complete data and fragment
    preference is set as no fragment
    
    < HCI Command: LE Set Extended Advertising Data (0x08|0x0037) plen 35
            Handle: 0x00
            Operation: Complete extended advertising data (0x03)
            Fragment preference: Minimize fragmentation (0x01)
            Data length: 0x15
            16-bit Service UUIDs (complete): 2 entries
              Heart Rate (0x180d)
              Battery Service (0x180f)
            Name (complete): Test LE
            Company: Google (224)
              Data: 0102
    > HCI Event: Command Complete (0x0e) plen 4
          LE Set Extended Advertising Data (0x08|0x0037) ncmd 1
            Status: Success (0x00)
    Signed-off-by: default avatarJaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    a0fb3726
hci_request.h 4.92 KB