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 2023/01/11 13:58:56 UTC

[GitHub] [mynewt-nimble] apache-mynewt-bot commented on pull request #1403: nimble/host : Added new method of marking an api as deprecated.

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

   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### nimble/host/include/host/ble_gatt.h
   <details>
   
   ```diff
   @@ -477,7 +477,8 @@
    /**
     * Deprecated. Should not be used. Use ble_gatts_notify_custom instead.
     */
   -int ble_gattc_notify_custom(uint16_t conn_handle, uint16_t att_handle, struct os_mbuf *om) NIMBLE_DEPRECATED("Use ble_gatts_notify_custom instead.");
   +int ble_gattc_notify_custom(uint16_t conn_handle, uint16_t att_handle, struct os_mbuf *om) NIMBLE_DEPRECATED(
   +    "Use ble_gatts_notify_custom instead.");
    
    /**
     * Sends a characteristic notification.  The content of the message is read
   @@ -517,7 +518,8 @@
    /**
     * Deprecated. Should not be used. Use ble_gatts_indicate_custom instead.
     */
   -int ble_gattc_indicate_custom(uint16_t conn_handle, uint16_t chr_val_handle, struct os_mbuf *txom) NIMBLE_DEPRECATED("Use ble_gatts_indicate_custom instead.");
   +int ble_gattc_indicate_custom(uint16_t conn_handle, uint16_t chr_val_handle, struct os_mbuf *txom) NIMBLE_DEPRECATED(
   +    "Use ble_gatts_indicate_custom instead.");
    
    /**
     * Sends a characteristic indication.  The content of the message is read from
   @@ -536,7 +538,8 @@
    /**
     * Deprecated. Should not be used. Use ble_gatts_indicate instead.
     */
   -int ble_gattc_indicate(uint16_t conn_handle, uint16_t chr_val_handle) NIMBLE_DEPRECATED("Use ble_gatts_indicate instead.");
   +int ble_gattc_indicate(uint16_t conn_handle, uint16_t chr_val_handle) NIMBLE_DEPRECATED(
   +    "Use ble_gatts_indicate instead.");
    
    int ble_gattc_init(void);
    
   ```
   
   </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: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org