Hello, TI Team.
I am using GPIO interrupt callbacks to control the start and stop of advertising, starting advertising when the GPIO level is low and stopping advertising when the GPIO level is high.
For the first few times, I was able to control the beginning and end of the advertising. After repeated several times, the advertising could not be stopped, and there was a advertising signal with irregular advertising intervals. When the GPIO level is raised again, the time interval of the advertising signal is also irregular.
Here is the interface I implemented:
Here is the GPIO configuration and interrupt callback:
Best Regards,
Joey.