Other Parts Discussed in Thread: SYSCONFIG
Tool/software: Code Composer Studio 9.3, SimpleLink CC13x2 26x2 SDK v3.40
Using SysConfig Editor, I changed the "RF STACKS -> BLE -> Broadcaster Configuration -> Advertisement Set 2 -> Advertisement Parameters 2 -> Event Properties" from "Connectable advertising" to "Scannable advertising".
Diffing the simple_peripheral.syscfg file, show two additional lines inserted at 139.
// Event Properties - Advertising Event Param Properties ble.advSet2.advParam2.eventProps = ["GAP_ADV_PROP_SCANNABLE"];
The program compiles without error. However the program does not advance past line 1033 of simple_peripheral.c
// Load advertising data for set #2 that is statically allocated by the app
status = GapAdv_loadByHandle(advHandleLongRange, GAP_ADV_DATA_TYPE_ADV,
sizeof(advData2), advData2);
SIMPLEPERIPHERAL_ASSERT(status == SUCCESS);
The output of the unmodified Simple Peripheral example:
*Simple Peripheral +Set AutoConnect > ==================== Initialized Adv Set 1 Enabled ID Addr: 0x806FB01E3F48 RP Addr: 0x616F79533164
The output of the extended scannable advertisement:
*Simple Peripheral ==================== Initialized