Change the BLE advertising rate | Cypress Semiconductor
Change the BLE advertising rate
My project is based on the "AltBeacon" example, and it use broadcasting mode for the BLE component.
However, I the data broadcasting rate is about 100ms. I want to slow it down to, like 1s.
I tried a few things:
1. I tried to add a Cydelay() in the main while loop, but it does not help.
2. In the "BLE interface.c" file, I modified the CyBle_GappStartAdvertisement(CYBLE_ADVERTISING_FAST) to CyBle_GappStartAdvertisement(CYBLE_ADVERTISING_SLOW), and I can not change the data rate either.
Is there anyone know that if is there a method to slow down the advertising rate for broadcasting mode?
Or, do we have to use the general profile that we can go to the deepsleep mode to save the energy?