exocron opened a new issue, #1881: URL: https://github.com/apache/mynewt-nimble/issues/1881
When reading a characteristic by type/UUID, if the length of the response is greater than 19 bytes, the server will respond with Unlikely Error. This limitation does not exist when reading by handle. According to the Core Specification, the maximum length for a single attribute response when reading by type can be up to 253 bytes, provided that the MTU is large enough to handle it. This line calls `ble_att_svr_read_flat` with a fixed size buffer, and is likely the culprit: https://github.com/apache/mynewt-nimble/blob/5baa3f4ba09654e837ab9ed0c1880a67f6a3fbd5/nimble/host/src/ble_att_svr.c#L1318 To the access_cb function, reading a characteristic this way appears to be successful. There's no obvious indication that it will actually return an error to the client. -- 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]
