mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-11 00:40:00 +00:00
sm: check HCI_PAYLOAD_SIZE when LE Secure Connections are used
This commit is contained in:
parent
5198fffa56
commit
35ef865576
@ -71,6 +71,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_LE_SECURE_CONNECTIONS
|
||||
// assert SM Public Key can be sent/received
|
||||
#if HCI_ACL_PAYLOAD_SIZE < 69
|
||||
#error "HCI_ACL_PAYLOAD_SIZE must be at least 69 bytes when using LE Secure Conection. Please increase HCI_ACL_PAYLOAD_SIZE or disable ENABLE_LE_SECURE_CONNECTIONS"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_HCI_CONTROLLER_DHKEY_SUPPORT
|
||||
#error "Support for DHKEY Support in HCI Controller not implemented yet. Please use software implementation"
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user