From 80270e46b5da3de1e77c87cf93e17f7aff7b3334 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 16 May 2014 12:10:48 +0300 Subject: [PATCH] monitor: Add LE SC defines for SMP --- monitor/bt.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/monitor/bt.h b/monitor/bt.h index 631d0665b..74b758d6f 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -2779,6 +2779,22 @@ struct bt_l2cap_smp_security_request { uint8_t auth_req; } __attribute__ ((packed)); +#define BT_L2CAP_SMP_PUBLIC_KEY 0x0c +struct bt_l2cap_smp_public_key { + uint8_t x[32]; + uint8_t y[32]; +} __attribute__ ((packed)); + +#define BT_L2CAP_SMP_DHKEY_CHECK 0x0d +struct bt_l2cap_smp_dhkey_check { + uint8_t e[16]; +} __attribute__ ((packed)); + +#define BT_L2CAP_SMP_KEYPRESS_NOTIFY 0x0e +struct bt_l2cap_smp_keypress_notify { + uint8_t type; +} __attribute__ ((packed)); + struct bt_sdp_hdr { uint8_t pdu; uint16_t tid; -- 2.47.3