Structure for setting SMP pairing capability data.

Public Attributes#

uint8_t

Device input output capability

  • 0x00 - Display Only

  • 0x01 - Display Yes/No

  • 0x02 - Keyboard Only

  • 0x03 - No Input No Output 0x04 - Keyboard Display.

uint8_t

oob_data_flag

  • 0 - disable

uint8_t

Authentication Request contains bonding type

  • MITM Request - BIT(2)

  • Secure Connections - BIT(3)

  • Keypress - BIT(4)

  • CT2 - BIT(5)

uint8_t

Supported Encryption key size 7 to 16 bytes.

uint8_t

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.

uint8_t

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.

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.


Definition at line 1277 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

oob_data_flag#

uint8_t rsi_ble_set_smp_pairing_capabilty_data::oob_data_flag

oob_data_flag

  • 0 - disable

  • 1 - enable


Definition at line 1282 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

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)


Definition at line 1292 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

enc_key_size#

uint8_t rsi_ble_set_smp_pairing_capabilty_data::enc_key_size

Supported Encryption key size 7 to 16 bytes.


Definition at line 1294 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

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.


Definition at line 1304 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h

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.


Definition at line 1314 of file components/device/silabs/si91x/wireless/ble/inc/rsi_ble_apis.h