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 2020/03/23 22:15:54 UTC

[GitHub] [mynewt-nimble] apache-mynewt-bot commented on issue #781: Make connection update process timeout variable

apache-mynewt-bot commented on issue #781: Make connection update process timeout variable
URL: https://github.com/apache/mynewt-nimble/pull/781#issuecomment-602885623
 
 
   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### nimble/host/src/ble_gap.c
   <details>
   
   ```diff
   @@ -88,7 +88,7 @@
    #define BLE_GAP_CANCEL_RETRY_TIMEOUT_MS         100 /* ms */
    
    #define BLE_GAP_UPDATE_TIMEOUT_MS(itvl, latency) \
   -            (6 * ((itvl) * BLE_HCI_CONN_ITVL / 1000) * ((latency) + 1))
   +    (6 * ((itvl) * BLE_HCI_CONN_ITVL / 1000) * ((latency) + 1))
    
    #if MYNEWT_VAL(BLE_ROLE_CENTRAL)
    static const struct ble_gap_conn_params ble_gap_conn_params_dflt = {
   @@ -1185,7 +1185,7 @@
                entry = ble_gap_update_entry_find(conn_handle, NULL);
                if (entry != NULL && !(conn->bhc_flags & BLE_HS_CONN_F_MASTER)) {
                    ble_gap_update_to_l2cap(&entry->params, &l2cap_params);
   -                
   +
                    timeout = BLE_GAP_UPDATE_TIMEOUT_MS(conn->bhc_itvl,
                                                        conn->bhc_latency);
    
   ```
   
   </details>

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