Re: newtmgr image upload nrf51dk disconnects with reason=8

2017-04-21 Thread Simon Ratner
> itvl_min and itvl_max specify the range of connection interval values that > you're willing to accept. The controller chooses the value in that range > that it likes best. If you want an exact interval, then specify the same > number for both fields. Note that iOS will reject such a request,

Re: newtmgr image upload nrf51dk disconnects with reason=8

2017-04-21 Thread chris collins
Hi Jacob, itvl_min and itvl_max specify the range of connection interval values that you're willing to accept. The controller chooses the value in that range that it likes best. If you want an exact interval, then specify the same number for both fields. In this case, that number would be the

Re: newtmgr image upload nrf51dk disconnects with reason=8

2017-04-21 Thread chris collins
ble_gap_conn_find tells you the settings that are actually being used. If you just want to change one parameter in an established connection, you would copy all but one of the values from the returned desc into the update parameters. You would probably call ble_gap_conn_find immediately before

Re: newtmgr image upload nrf51dk disconnects with reason=8

2017-04-21 Thread Jacob Rosenthal
find returns ble_gap_conn_desc which is the post negotiated values.. Im not sure it helps me know what the original max/mins we negotiated were. These are based on the advertised values right? Itd be nice to have a helper function to just update the one I want, much like in advertising where they

Re: newtmgr image upload nrf51dk disconnects with reason=8

2017-04-21 Thread Christopher Collins
On Thu, Apr 20, 2017 at 09:43:12PM -0700, Jacob Rosenthal wrote: > supervision_timeout = 300 appears to have done it! Any good way to find the > existing params change just the 1 I actually want to change? You can use ble_gap_conn_find() to determine the current connection parameters. > Maybe