zephyr/include/bluetooth
Mariusz Skamra 992237bc51 Bluetooth: Add bt_conn_enc_key_size function
This patch adds bt_conn_enc_key_size function which will be used
by application to check encryption keys size of a encrypted connection.
This will be used especialy by GATT applications, because some
attributes to be accessed require encryption with specified
minimum encryption key length.

> ACL Data RX: Handle 64 flags 0x02 dlen 7         [hci0] 708547.536685
      ATT: Read Request (0x0a) len 2
        Handle: 0x0003
< ACL Data TX: Handle 64 flags 0x00 dlen 9         [hci0] 708547.544302
      ATT: Error Response (0x01) len 4
        Read Request (0x0a)
        Handle: 0x0003
        Error: Insufficient Encryption Key Size (0x0c)

Change-Id: Idbc9afde7ec80504898bd8d1e193f3e71a93f3f9
Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
2016-02-05 20:24:45 -05:00
..
bluetooth.h
conn.h Bluetooth: Add bt_conn_enc_key_size function 2016-02-05 20:24:45 -05:00
driver.h Bluetooth: Differentiate send/recv of needed driver headroom 2016-02-05 20:24:39 -05:00
gatt.h Bluetooth: Cleanup comments in GATT API 2016-02-05 20:24:44 -05:00
hci.h Bluetooth: Add convenience defines for ACL handles 2016-02-05 20:24:44 -05:00
l2cap.h Bluetooth: L2CAP: Fix documentation of bt_l2cap_server_register 2016-02-05 20:24:44 -05:00
log.h
uuid.h