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 2018/04/25 06:54:12 UTC

[GitHub] sjanc closed pull request #63: nimble/transport: Adjust BLE_HCI_EVT_BUF_SIZE default for ext scan

sjanc closed pull request #63: nimble/transport: Adjust BLE_HCI_EVT_BUF_SIZE default for ext scan
URL: https://github.com/apache/mynewt-nimble/pull/63
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/nimble/transport/emspi/syscfg.yml b/nimble/transport/emspi/syscfg.yml
index 193944aa..570cfe5f 100644
--- a/nimble/transport/emspi/syscfg.yml
+++ b/nimble/transport/emspi/syscfg.yml
@@ -93,4 +93,4 @@ syscfg.defs:
         value: 256
 
 syscfg.vals.BLE_EXT_ADV:
-    BLE_HCI_EVT_BUF_SIZE: 274
+    BLE_HCI_EVT_BUF_SIZE: 257
diff --git a/nimble/transport/ram/syscfg.yml b/nimble/transport/ram/syscfg.yml
index 0323ace6..bd1c43d3 100644
--- a/nimble/transport/ram/syscfg.yml
+++ b/nimble/transport/ram/syscfg.yml
@@ -40,3 +40,6 @@ syscfg.defs:
             This is the maximum size of the data portion of HCI ACL data
             packets. It does not include the HCI data header (of 4 bytes).
         value: 255
+
+syscfg.vals.BLE_EXT_ADV:
+    BLE_HCI_EVT_BUF_SIZE: 257
diff --git a/nimble/transport/socket/syscfg.yml b/nimble/transport/socket/syscfg.yml
index f3b8bb61..8f101b0e 100644
--- a/nimble/transport/socket/syscfg.yml
+++ b/nimble/transport/socket/syscfg.yml
@@ -21,7 +21,6 @@
 syscfg.defs:
     BLE_HCI_EVT_BUF_SIZE:
         description: 'The size of the allocated event buffers'
-        # The largest event the nimble controller will send is 70 bytes.
         value: 70
     BLE_HCI_EVT_HI_BUF_COUNT:
         description: 'The number of high priority event buffers'
@@ -72,3 +71,6 @@ syscfg.defs:
     BLE_SOCK_STACK_SIZE:
         description: 'Size of the HCI socket stack (units=words).'
         value: 80
+
+syscfg.vals.BLE_EXT_ADV:
+    BLE_HCI_EVT_BUF_SIZE: 257
diff --git a/nimble/transport/uart/syscfg.yml b/nimble/transport/uart/syscfg.yml
index 81b47f37..18343a2f 100644
--- a/nimble/transport/uart/syscfg.yml
+++ b/nimble/transport/uart/syscfg.yml
@@ -21,7 +21,6 @@
 syscfg.defs:
     BLE_HCI_EVT_BUF_SIZE:
         description: 'The size of the allocated event buffers'
-        # The largest event the nimble controller will send is 70 bytes.
         value: 70
     BLE_HCI_EVT_HI_BUF_COUNT:
         description: 'The number of high priority event buffers'
@@ -66,3 +65,6 @@ syscfg.defs:
     BLE_HCI_UART_FLOW_CTRL:
         description: 'Flow control used for HCI uart interface'
         value:       HAL_UART_FLOW_CTL_RTS_CTS
+
+syscfg.vals.BLE_EXT_ADV:
+    BLE_HCI_EVT_BUF_SIZE: 257


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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