This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1835MOD: BLE advertisement interval

Part Number: WL1835MOD


I would like to change the BLE advertisement interval i.e how frequently the BLE beacons are sent on air. In the LinuxSPPLE.c sample code provided, there are 2 parameters provided for this:

AdvertisingParameters.Advertising_Interval_Min = 100;
AdvertisingParameters.Advertising_Interval_Max = 200;

I know that this is the min and the max and the range is 20 msecs to about 10 secs and in the sample there, the min and the max is set to 100 msecs and 200 msecs respectively. Why do we have to specify the minimum and the maximum advertisement interval values instead of just specifying a single value for advertisement interval like how we do in WiFi (beacon interval). Can someone help me how should I specify the advertisement interval to be set to for example 5 secs (should 5000 be set to both min and max?)



  • Fariya,

    Why there is an min max is based on the BLE spec. The master of the connection of the the connection will choose what interval it would like, so it's our way of requesting a specific one. To get a 5 second interval, i would set min to 5000, and max to an interval you are comfortable with. (6000 perhaps)