2025-01-27 8:48 AM - edited 2025-01-27 8:48 AM
Please let know how to change Connection Interval. I need to decrease Connection Interval value so data sampling frequency can be increased. STM32WB35 is working in peripheral mode.
Thanks
Solved! Go to Solution.
2025-03-05 6:15 AM
Hello @Nico3
Just as a clarification of what started @kumaichi , you can control the Connection interval throw the CFG_FAST_CONN_ADV_INTERVAL_MIN and CFG_FAST_CONN_ADV_INTERVAL_MAX available on the app_conf.h file of your project or throw CubeMX directlly:
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-27 6:49 PM
I'm just starting my journey in the ST BLE world, but I think that's handled in the aci_gap_set_discoverable method. I find I spend most of my time searching entire projects (Ctrl+a+a) and it helps me to match things up from one of the samples to what's happening in my project.
/* Start Fast or Low Power Advertising */
ret = aci_gap_set_discoverable(ADV_TYPE,
CFG_FAST_CONN_ADV_INTERVAL_MIN,
CFG_FAST_CONN_ADV_INTERVAL_MAX,
CFG_BLE_ADDRESS_TYPE,
ADV_FILTER,
0,
0,
0,
0,
0,
0);
Maybe play around with the:
CFG_FAST_CONN_ADV_INTERVAL_MIN
CFG_FAST_CONN_ADV_INTERVAL_MAX
I hope I was able to help.
Kindest regards.
2025-01-28 1:06 AM - edited 2025-03-05 6:32 AM
@Nico3 wrote:I need to decrease Connection Interval value so data sampling frequency can be increased.
Beware that the actual Connection Interval value is decided by the Central at the time of connection.
Your device can request what Connection Interval it wants (within spec limits), but there's no guarantee the Central will grant that.
This is particularly true of phones/tablets if you try to request really short connection intervals...
2025-03-05 6:15 AM
Hello @Nico3
Just as a clarification of what started @kumaichi , you can control the Connection interval throw the CFG_FAST_CONN_ADV_INTERVAL_MIN and CFG_FAST_CONN_ADV_INTERVAL_MAX available on the app_conf.h file of your project or throw CubeMX directlly:
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.