darshan7patel commented on PR #1650:
URL: https://github.com/apache/mynewt-nimble/pull/1650#issuecomment-1813983309

   > what exactly was the issue? original code retrieves only 1 address so it 
looks fine.
   
   - Changes were made to accommodate a maximum of BLE_STORE_MAX_BONDS bonds. 
Previously, it was hardcoded to support only a single bond, limiting the system 
to handle just one bond.
   
   - Additionally, the function **ble_store_util_bonded_peers** is designed to 
store bonded peers and return a list. To ensure proper memory allocation, it is 
essential to pass an array as the function argument. Failure to do so may 
result in the data being stored outside the allocated memory. Therefore, 
passing an array is crucial for correct functionality.


-- 
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-unsubscr...@mynewt.apache.org

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

Reply via email to