Thanks Vincent for your great help,
It works fine with the function Gap::updateConnectionParams and Android update correctly the connection paramters (but for information, it doesn't work with the Gap::setPreferredConnectionParams).
Edit (23/12/2015), Additional information from this post:
https://developer.mbed.org/questions/54515/How-to-lower-power-consumption/
/\ "As you all pointed out, the problem were the connections parameters. Android does not have an API for controlling this until API 21 (Lollipop) but it's not necessary. If the peripheral tells the central to update the paramters it works fine.
Pushing the limits, the parameters I used are the ones in the code below. However, I strongly recommend reading this answer from Petter as the limits could not be a good idea due to clock drifts." /\
And the code for updating connection parameters above in the link.
Yacire.
Hi guys,
I want to know how i can change connection parameters for my BLE device (peripheral) ? do you have a code example please ?
Thanks in advance, Yacire.