Problem trying to remove TX power level AD type from advertising (BLE)
When starting connectable undirected advertising mode by calling "aci_gap_set_discoverable(...)" it turns out that the advertiser sends AD with "Flags" type (0x01) and "TX power level" type (0x0A). As a restriction of the application, I need to remove the "TX power level" AD. From CSS v9 Table 1.1, this data type is optional. So, I've tried to delete this AD type calling "aci_gap_delete_ad_type(0x0A)" after "aci_gap_set_discoverable(...)".
The problem is that sometimes, although the function to start advertising ends with success code, the function to delete AD type returns the error = BLE_STATUS_NOT_ALLOWED (0x46), and that prevents the BLE controller to start the advertising mode.
Is there a way to start advertising only with AD type "Flags", without calling "aci_gap_delete_ad_type(0x0A)"?
Currently I'm using STM32WB v1.11.1 package, but I already tried with v1.9.0 too.
