You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/06/15 11:53:22 UTC
[GitHub] [mynewt-nimble] jrotkiewicz commented on a diff in pull request #1273: nimble/ll: Fixes for connection strict scheduling
jrotkiewicz commented on code in PR #1273:
URL: https://github.com/apache/mynewt-nimble/pull/1273#discussion_r897885422
##########
nimble/controller/src/ble_ll_ctrl.c:
##########
@@ -416,6 +419,18 @@ ble_ll_ctrl_conn_upd_make(struct ble_ll_conn_sm *connsm, uint8_t *pyld,
instant = connsm->event_cntr + connsm->periph_latency + 6 + 1;
#endif
+ /* Check if this is a move anchor request and configure proper connection
Review Comment:
#if MYNEWT_VAL(BLE_LL_CONN_STRICT_SCHED)
/* Check if this is a move anchor request and configure proper connection
* parameters */
if (connsm->conn_update_anchor_offset_req) {
offset_cp.interval_min = connsm->conn_itvl;
offset_cp.interval_max = connsm->conn_itvl;
offset_cp.latency = connsm->periph_latency;
offset_cp.timeout = connsm->supervision_tmo;
offset_cp.offset0 = connsm->conn_update_anchor_offset_req;
connsm->conn_update_anchor_offset_req = 0;
cp = &offset_cp;
}
#endif
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org