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/05/17 14:15:51 UTC

[GitHub] [mynewt-nimble] sada45 opened a new issue, #1264: NimBLE did not follow the sleep clock accuracy

sada45 opened a new issue, #1264:
URL: https://github.com/apache/mynewt-nimble/issues/1264

   Hi!
       I am reading the Bluetooth spec v5.3. In the Vol 6, Part B, 4.5.7 "Sleep clock accuracy", the spec has claimed that the slave should update the its timing of the anchor point. However, it seems that the NimBLE only updates the timing at the first connection event. The corresponding code should be the `ble_ll_conn_rx_isr_start()` in `ble_ll_conn.c`.
   <img src=https://user-images.githubusercontent.com/49777976/168831610-7855fffc-da8e-478d-b6ca-84f2e9599143.png width=60% />
   `ble_ll_conn_rx_isr_start()` Line 3243:
   ```C
   /* Set anchor point (and last) if 1st rxd frame in connection event */
   if (connsm->csmflags.cfbit.periph_set_last_anchor) {
       connsm->csmflags.cfbit.periph_set_last_anchor = 0;
       connsm->last_anchor_point = rxhdr->beg_cputime;
       connsm->anchor_point = connsm->last_anchor_point;
       connsm->anchor_point_usecs = rxhdr->rem_usecs;
   }
   ```


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-nimble] sada45 closed issue #1264: NimBLE did not follow the sleep clock accuracy

Posted by GitBox <gi...@apache.org>.
sada45 closed issue #1264: NimBLE did not follow the sleep clock accuracy
URL: https://github.com/apache/mynewt-nimble/issues/1264


-- 
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 issue #1264: NimBLE did not follow the sleep clock accuracy

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek commented on issue #1264:
URL: https://github.com/apache/mynewt-nimble/issues/1264#issuecomment-1129089049

   This is exactly what this code does, i.e. updates anchor point on 1st PDU of each connection event. The `periph_set_last_anchor` flag is set for each connection event in `ble_ll_conn_event_start_cb`.


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