class FirmwareLoader

Defined at line 22 of file ../../src/connectivity/bluetooth/hci/vendor/intel/firmware_loader.h

Public Methods

void FirmwareLoader (fidl::SharedClient<fuchsia_hardware_bluetooth::HciTransport> & client, HciEventHandler & event_handler)

|cmd_channel| is expected to outlive this object.

Defined at line 25 of file ../../src/connectivity/bluetooth/hci/vendor/intel/firmware_loader.h

void ~FirmwareLoader ()

Defined at line 28 of file ../../src/connectivity/bluetooth/hci/vendor/intel/firmware_loader.h

LoadStatus LoadBseq (const void * firmware, const size_t & len)

Loads a "bseq" firmware into the controller using the given channels.

Returns a LoadStatus indicating the result.

- kComplete if the firmware was loaded successfully

- kPatched if the firmware was loaded and a patch was added, meaning the

controller should be reset.

- kError otherwise.

|firmware| should be a pointer into readable memory representing the file

of at least |len| bytes.

Defined at line 58 of file ../../src/connectivity/bluetooth/hci/vendor/intel/firmware_loader.cc

LoadStatus LoadSfi (const void * firmware, const size_t & len, SecureBootEngineType engine_type, uint32_t * boot_addr)

Loads "sfi" firmware into the controller using the channels.

|firmware| should be a pointer to firmware, which is at

least |len| bytes long.

| engine_type| shall indicate the secure boot engine type specified in the firmware binary.

if |boot_addr| is not null, the boot params boot address written to the device will be placed

within it.

Returns kComplete if the file was loaded, kError otherwise.

Defined at line 117 of file ../../src/connectivity/bluetooth/hci/vendor/intel/firmware_loader.cc

Enumerations

enum LoadStatus
Name Value
kComplete 0
kPatched 1
kError 2

Defined at line 30 of file ../../src/connectivity/bluetooth/hci/vendor/intel/firmware_loader.h