I'm experiencing stoppages with a STM32 connected to an BLUENGR.
After set adverttising successfully, sometimes BLUENGR stops advertising. If I force a new aci_gap_set_discoverable, I get 0xff as response (when working normally, I get 0xc0 not_allowed).
When I detect this condition (by sending aci_gap_set_discoverable() and check if 0xff) everything works again with a BlueNRG_RST().
What does that 0xFF (Is not an error code for aci_gap_set_discoverable())?
This issue is pointing to a hardware problem?