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/02/04 13:44:24 UTC

[GitHub] [mynewt-nimble] andrzej-kaczmarek opened a new pull request #1164: nimble/ll: New connection strict scheduling

andrzej-kaczmarek opened a new pull request #1164:
URL: https://github.com/apache/mynewt-nimble/pull/1164


   This replaces existing implementation of connection strict scheduling with a new one that allows host to modify scheduling in runtime.
   
   In the simplest case a slot duration and number of slots per period have to be configured. This determines scheduling interval (slot duration) and connection interval for each connection (slot duration * slots per period). Each new central connection will now be scheduled at slot boundary and have the same connection interval, this guaranteed that two connections won't overlap.
   
   By default, for each new connection 1st unused slot is allocated. However, it's possible to allocate specific slot to each connection using hci_vs command in 2 ways:
   - set slot for new connection prior to sending connection create command,
   - set slot for existing connection at any time, this will move anchor point.


-- 
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



[GitHub] [mynewt-nimble] sjanc commented on a change in pull request #1164: nimble/ll: New connection strict scheduling

Posted by GitBox <gi...@apache.org>.
sjanc commented on a change in pull request #1164:
URL: https://github.com/apache/mynewt-nimble/pull/1164#discussion_r808976077



##########
File path: nimble/controller/src/ble_ll_sched.c
##########
@@ -457,20 +493,60 @@ ble_ll_sched_conn_central_new(struct ble_ll_conn_sm *connsm,
         }
     }
 
+    orig_start_time = earliest_start - g_ble_ll_sched_offset_ticks;
+
+#if MYNEWT_VAL(BLE_LL_CONN_STRICT_SCHED)
+    uint8_t rem_us;

Review comment:
       nitpick: declared at top




-- 
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



[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on pull request #1164: nimble/ll: New connection strict scheduling

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek commented on pull request #1164:
URL: https://github.com/apache/mynewt-nimble/pull/1164#issuecomment-1047277595


   updated commit messages


-- 
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



[GitHub] [mynewt-nimble] andrzej-kaczmarek merged pull request #1164: nimble/ll: New connection strict scheduling

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek merged pull request #1164:
URL: https://github.com/apache/mynewt-nimble/pull/1164


   


-- 
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