Structure for setting SMP pairing capability data.
Public Attribute Documentation#
io_capability#
uint8_t rsi_ble_set_smp_pairing_capabilty_data::io_capability
Device input output capability
- 0x00 - Display Only 
- 0x01 - Display Yes/No 
- 0x02 - Keyboard Only 
- 0x03 - No Input No Output 0x04 - Keyboard Display 
oob_data_flag#
uint8_t rsi_ble_set_smp_pairing_capabilty_data::oob_data_flag
oob_data_flag
- 0 - disable 
- 1 - enable 
auth_req#
uint8_t rsi_ble_set_smp_pairing_capabilty_data::auth_req
Authentication Request contains bonding type
- MITM Request - BIT(2) 
- Secure Connections - BIT(3) 
- Keypress - BIT(4) 
- CT2 - BIT(5) 
enc_key_size#
uint8_t rsi_ble_set_smp_pairing_capabilty_data::enc_key_size
Supported Encryption key size 7 to 16 bytes
ini_key_distribution#
uint8_t rsi_ble_set_smp_pairing_capabilty_data::ini_key_distribution
Initiator generates/requires the no .of keys after successful paring
- BIT(0) - EncKey: Initiator distributes the LTK followed by EDIV and Rand 
- BIT(1) - IdKey : Initiator distributes the IRK followed by its address 
- BIT(2) - Sign : Initiator distributes the CSRK 
- BIT(3) - BIT(7): Reserved for future use 
rsp_key_distribution#
uint8_t rsi_ble_set_smp_pairing_capabilty_data::rsp_key_distribution
Responder generates/requires the no .of keys after successful paring
- BIT(0) - EncKey: Responder distributes the LTK followed by EDIV and Rand 
- BIT(1) - IdKey : Responder distributes the IRK followed by its address 
- BIT(2) - Sign : Responder distributes the CSRK 
- BIT(3) - BIT(7): Reserved for future use