You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "piotrnarajowski (via GitHub)" <gi...@apache.org> on 2026/07/08 09:15:10 UTC

[I] ATT server incorrectly handles authorization during Write Long procedure [mynewt-nimble]

piotrnarajowski opened a new issue, #2261:
URL: https://github.com/apache/mynewt-nimble/issues/2261

   When operating in the server role, Nimble incorrectly handles authorization checks during a Write Long Procedure. Instead of rejecting an unauthorized ATT_PREPARE_WRITE_REQ, it accepts it and only returns an error during the Execute Write phase.
   
   Current behavior:
   1. Client sends an ATT_Prepare_Write_Request.
   2. Nimble responds with ATT_Prepare_Write_Response packet
   3. Client sends an ATT_Execute_Write_Request
   4. Nimble responds with an ATT_Error_Response (Insufficient Authorization)
   
   Expected behavior:
   Based on Core Specification 6.3, Vol 3, Part G, Section 4.9.4 (Write Long Characteristic Value), the server shall send an ATT_ERROR_RSP in response to an ATT_PREPARE_WRITE_REQ if the client has insufficient authorization.
   
   1. Client sends an ATT_Prepare_Write_request
   2. Nimble responds with ATT_Error_Response (Insufficient Authorization)
   
   This affects GATT/SR/GAW/BI-11-C qualification test case


-- 
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: notifications-unsubscribe@mynewt.apache.org.apache.org

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


Re: [I] ATT server incorrectly handles authorization during Write Long procedure [mynewt-nimble]

Posted by "piotrnarajowski (via GitHub)" <gi...@apache.org>.
piotrnarajowski commented on issue #2261:
URL: https://github.com/apache/mynewt-nimble/issues/2261#issuecomment-4913738461

   @sjanc please add this as parent issue related to https://github.com/apache/mynewt-nimble/issues/2006


-- 
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: notifications-unsubscribe@mynewt.apache.org

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


Re: [I] ATT server incorrectly handles authorization during Write Long procedure [mynewt-nimble]

Posted by "piotrnarajowski (via GitHub)" <gi...@apache.org>.
piotrnarajowski commented on issue #2261:
URL: https://github.com/apache/mynewt-nimble/issues/2261#issuecomment-4913303186

   This is resolved by https://github.com/apache/mynewt-nimble/pull/2013 but it also implements asynchronous authorization mechanism and probably will require some unit tests


-- 
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: notifications-unsubscribe@mynewt.apache.org

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