Closed helpfulchicken closed 3 years ago
I found that one of the recent commits on the master branch (mbed-os-6.2.0) 31426f1 fixes this issue.
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTOSM-2054
Description of defect
The BLE_GAP example, in the branch mbed-os-5-15, runs for a little while, switching between scanning and advertising modes as expected, then it crashes with an assertion failed relating to advertising types.
Target(s) affected by this defect ?
Tested this on a unit programmed as the NRF52_DK target.
Toolchain(s) (name and version) displaying this defect ?
GCC_ARM (GNU Tools Arm Embedded, version 6.3.1)
What version of Mbed-os are you using (tag or sha) ?
mbed-os-5.15.4
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli version 1.8.3
How is this defect reproduced ?
Program BLE_GAP from mbed-os 5.15 branch. Run the application while monitoring output in a terminal. Don't connect to the unit over BLE, just let it run. It will crash due to assertion failure when starting advertising, after stepping through the operation modes a few times.
Debug output: