Skip to main content

Advertising Interval

1 month ago

Advertising Interval

Posted bypchignon50 points 1 reply
0 upvotes

Hi,

I would like to know where is the define or variable to change the frequency of advertising (if I want to have it every sec).
I use "ble_app_peripheral" example on DA14531.
And also if I can change the power ?

问候

Pascal

accepted answer!

1 month ago

PM_Dialog

Hi pchignon,

Thanks for your questions online. I would recommend first checking theBLE Advertising Tutorial (HTML).

In section 3.2 you will find how you can modify the advertising interval. There is a typo and the max adverting interval should be 10.24 seconds.

>>>And also if I can change the power ?

Do you mean the Tx power? If yes, then you can use the rf_pa_pwr_set() – according to its comments :

"Selects the Tx output power level. The selected value will be applied to hardware when set_recommended_settings() is called."

Thanks, PM_Dialog