Hello Low Power Wireless Folks,
Is there a way to change the advertisement rate in the GAP parameter setup? I would like to set a continuous advertisement with packets sent at 500 ms intervals. I am new to BLE and the TI BLE Stack for the CC2541, thus I would be grateful if anyone can point me at parameters to modify to obtain this advertisment rate.
Thank-you in advance.
Mike
You are looking for DEFAULT_ADVERTISING_INTERVAL which is used in the Init Peripheral function and has units of 0.625ms (800 gives 500ms)
Thank-you for the response. I do not see the parameter being set in the version of peripheral.c that I have. Can you tell me which GAP parameter should be set to this value?
This is done in the init function one layer up e.g. simpleBLEPeripheral.c or by your own custom application layer init function