AmbiqSuiteSDK
AmbiqSuiteSDK copied to clipboard
Missing C++ Guards in hci_drv_apollo3.h
The header file hci_drv_apollo3.h (located in third_party/exactle/ble-host/sources/hci/ambiq/apollo3/) is missing C++ extern "C" guards. This makes it more difficult to use this interface from C++ sources.
A patch is available in branch 2.4.2-patch-cpp-guards-hci-drv-apollo3-h The patch is included in the current master branch as well.
This issue still exists in AmbiqSuite release 2.5.1. The file in question is now called: third_party/cordio/ble-host/sources/hci/ambiq/apollo3/hci_drv_apollo3.h