Hi,
I would like my CC2540-based device to alternate between advertising HCI_CONNECTABLE_UNDIRECTED_ADV packets and HCI_NONCONNECTABLE_UNDIRECTED_ADV packets.
I want the device to broadcast information continuously (even when connected). However, when the device is unconnected, I want to continue to broadcast that information while also advertising for connections.
Is there a way for me to detect when an advertising event occurs so that I can execute code that changes the advertising parameters?
Thanks,
Seth