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 2019/06/16 08:41:27 UTC

[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on a change in pull request #488: nimble/mesh: Fix provisioning errors handling

andrzej-kaczmarek commented on a change in pull request #488: nimble/mesh: Fix provisioning errors handling
URL: https://github.com/apache/mynewt-nimble/pull/488#discussion_r294073975
 
 

 ##########
 File path: nimble/host/mesh/src/prov.c
 ##########
 @@ -166,6 +167,7 @@ struct prov_rx {
 #define RETRANSMIT_TIMEOUT   K_MSEC(500)
 #define BUF_TIMEOUT          K_MSEC(400)
 #define TRANSACTION_TIMEOUT  K_SECONDS(30)
+#define PROTOCOL_TIMER       os_cputime_usecs_to_ticks(60000000)
 
 Review comment:
   `ble_npl_time_ms_to_ticks32`
   and not really sure how this could even work since cputime time is 1/32768s while os tick (which callouts use) is 1/128s...

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services