sjanc opened a new pull request #1146:
URL: https://github.com/apache/mynewt-nimble/pull/1146


   Set the start_time of the first anchor point of new connection to
   entry->end_time+1.
   
   For the 32768 Hz crystal in nrf chip, 1 tick is 30.517us.
   The connection state machine use anchor point to store the cpu
   ticks and anchor_point_usec to store the remainder. Therefore,
   to compensate the inaccuracy of the crystal, the ticks of
   anchor_point will be add with 1 once the value of
   anchor_point_usec exceed 31. If two connections have same
   connection interval, the time difference between the two start
   of schedule item will decreased 1, which lead to an overlap.
   To prevent this from happenning, we set the start_time of sch
   to 1 cpu tick after the end_time of entry.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to