Roshan23699 commented on code in PR #1660:
URL: https://github.com/apache/mynewt-nimble/pull/1660#discussion_r1432453996


##########
nimble/host/src/ble_gatts.c:
##########
@@ -1618,10 +1620,15 @@ ble_gatts_peer_cl_sup_feat_update(uint16_t conn_handle, 
struct os_mbuf *om)
              */
             if (conn->bhc_gatt_svr.peer_cl_sup_feat[feat_idx] >
                 om->om_data[i]) {
-                rc = BLE_HS_EINVAL;
+                rc = BLE_ATT_ERR_VALUE_NOT_ALLOWED;

Review Comment:
   Returning all att errors should work. Could you take a look again? I 
converted all the HS errors to ATT. 



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