You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2019/12/30 08:40:13 UTC

[mynewt-nimble] branch master updated: There is a wrong in the comments in ble_ll_sched.h

This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f373f3  There is a wrong in the comments in ble_ll_sched.h
3f373f3 is described below

commit 3f373f3eaa3de4d78efc3b01199fde21fa27ecfe
Author: Wen Wu <wn...@163.com>
AuthorDate: Sun Dec 29 07:18:37 2019 +0800

    There is a wrong in the comments in ble_ll_sched.h
    
    From the Bluetooth Core Spec 5.1, Vol6, PartB, Page2696
    The maximum adv package len is 257( 2 Bytes Header + 255 Bytes Payload)
---
 nimble/controller/include/controller/ble_ll_sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/controller/include/controller/ble_ll_sched.h b/nimble/controller/include/controller/ble_ll_sched.h
index 72d5c73..2e52090 100644
--- a/nimble/controller/include/controller/ble_ll_sched.h
+++ b/nimble/controller/include/controller/ble_ll_sched.h
@@ -48,7 +48,7 @@ extern "C" {
 #define BLE_LL_SCHED_MAX_ADV_PDU_USECS      (376)
 
 /* We don't know how big aux packet will be. It depends on adv packet len which
- * can be up to 256. For now we fix it to 128 bytes, but we can optimize it.
+ * can be up to 257. For now we fix it to 128 bytes, but we can optimize it.
  */
 #define BLE_LL_SCHED_AUX_PTR_DFLT_BYTES_NUM  (128)