This suggests it should be possible to change the beacon advertising content in response to events such as a GPIO input. I'm using nrf52 DK running the beacon example (SDK 12.2.0) which I've modified slightly so that GPIO inputs trigger a 20 second advertising burst. I want to be able to change the Minor Value so that a mobile app can distinguish which GPIO input triggered the advertisement.
I'd appreciate some guidance on how to approach this and if possible links to example code etc.