Have you gone through this Dynamic Broadcaster (Day 009) code example in the below link?
Hope it helps ! If not please update the thread.
Thank you. I'll check it out. I'll have to convert it to PSoC6 but the principles should be there for the most part.
I did find information about changing the advertisement data such as code frags below that appear to work:
*((uint32_t *)&cy_ble_discoveryData[config_idx].advData[CY_BLE_ADV_PKT_0_INDEX_SERVICE_DATA_IMMEDIATE_ALERT+4]) = adv_count; // change the intended data. Cy_BLE_GAPP_UpdateAdvScanData(&cy_ble_discoveryModeInfo[config_idx]); // Signal the new advData to the BLE stack.
The PSoC4 API (CyBle_GapUpdateAdvData() ) is a little different than the PSoC6 BLE API (Cy_BLE_GAPP_UpdateAdvScanData() ) but basically the same.