apache-mynewt-bot commented on PR #1426:
URL: https://github.com/apache/mynewt-nimble/pull/1426#issuecomment-1381400815

   
   <!-- 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_att_clt.c
   <details>
   
   ```diff
   @@ -908,8 +906,8 @@
    }
    
    
/*****************************************************************************
   - * $multi handle value notification                                         
 *
   - 
*****************************************************************************/
   +* $multi handle value notification                                          
*
   
+*****************************************************************************/
    
    int
    ble_att_clt_tx_multi_notify(uint16_t conn_handle, struct ble_gatt_hv 
*tuples,
   @@ -919,7 +917,7 @@
        return BLE_HS_ENOTSUP;
    #endif
    
   -    struct os_mbuf* txom;
   +    struct os_mbuf * txom;
        struct ble_gatt_hv *tpl = tuples;
        int rc;
        uint16_t num = num_tuples;
   @@ -977,8 +975,8 @@
    }
    
    
/*****************************************************************************
   - * $handle value indication                                                 
 *
   - 
*****************************************************************************/
   +* $handle value indication                                                  
*
   
+*****************************************************************************/
    
    int
    ble_att_clt_tx_indicate(uint16_t conn_handle, uint16_t handle,
   ```
   
   </details>
   
   #### nimble/host/src/ble_att_svr.c
   <details>
   
   ```diff
   @@ -2519,13 +2519,13 @@
    #if !MYNEWT_VAL(BLE_ATT_SVR_MULTI_NOTIFY)
        return BLE_HS_ENOTSUP;
    #endif
   -    
   +
        struct ble_gatt_hv tuple;
        uint16_t value_len;
        int rc;
        int offset = 0;
        int datalen = (*rxom)->om_len;
   -    
   +
        while (offset < datalen) {
            memset(&tuple, 0, sizeof tuple);
    
   ```
   
   </details>
   
   #### nimble/host/src/ble_gattc.c
   <details>
   
   ```diff
   @@ -4233,7 +4233,7 @@
    
        int rc;
        int num = num_tuples;
   -    struct ble_gatt_hv* tpl = tuples;
   +    struct ble_gatt_hv * tpl = tuples;
    
        STATS_INC(ble_gattc_stats, multi_notify);
        ble_gattc_log_multi_notify(tuples, num_tuples);
   @@ -4241,8 +4241,8 @@
        while (num) {
            if (tpl->value == NULL) {
                /* No custom attribute data; read the value from the specified
   -            * attribute
   -            */
   +             * attribute
   +             */
                tpl->value = ble_hs_mbuf_att_pkt();
                if (tpl->value == NULL) {
                    rc = BLE_HS_ENOMEM;
   @@ -4283,7 +4283,7 @@
    
        return rc;
    }
   -    
   +
    
    /**
     * Deprecated. Should not be used. Use ble_gatts_notify_custom instead.
   ```
   
   </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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to