andrzej-kaczmarek commented on a change in pull request #540: nimble/host: Add support to accept or reject pairing request through GAP event URL: https://github.com/apache/mynewt-nimble/pull/540#discussion_r307049230
########## File path: nimble/host/include/host/ble_gap.h ########## @@ -428,6 +429,17 @@ struct ble_gap_disc_desc { ble_addr_t direct_addr; }; +struct ble_gap_pairing_req { + uint16_t conn_handle; + /** Properties of the existing pairing request */ + uint8_t io_cap; + uint8_t oob_data_flag; + uint8_t authreq; + uint8_t max_enc_key_size; + uint8_t init_key_dist; + uint8_t resp_key_dist; +}; Review comment: I don't think we should just expose to app anything that is in SMP request... what app could use key distribution settings for? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services