From: Tedd Ho-Jeong An <tedd.an@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: Tedd Ho-Jeong An <tedd.an@intel.com>
Subject: [PATCH V2 1/2] btp: Update connect event structure
Date: Thu, 4 Jun 2020 23:10:02 -0700 [thread overview]
Message-ID: <20200605061003.14634-1-tedd.an@linux.intel.com> (raw)
From: Tedd Ho-Jeong An <tedd.an@intel.com>
This patch updates the connect event struct to align withe the btp spec.
Opcode 0x82 - Device Connected event
Controller Index: <controller id>
Event parameters: Address_Type (1 octet)
Address (6 octets)
Connection Interval (2 octets)
Connection Latency (2 octets)
Supervision Timeout (2 octets)
This event indicates that a device was connected.
---
src/shared/btp.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/shared/btp.h b/src/shared/btp.h
index f0ac3a1ee..cc71a71df 100644
--- a/src/shared/btp.h
+++ b/src/shared/btp.h
@@ -259,6 +259,9 @@ struct btp_device_found_ev {
struct btp_gap_device_connected_ev {
uint8_t address_type;
bdaddr_t address;
+ uint16_t connection_interval;
+ uint16_t connection_latency;
+ uint16_t supervision_timeout;
} __packed;
#define BTP_EV_GAP_DEVICE_DISCONNECTED 0x83
--
2.25.4
next reply other threads:[~2020-06-05 6:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 6:10 Tedd Ho-Jeong An [this message]
2020-06-05 6:10 ` [PATCH V2 2/2] tools/btpclient: Use mgmt api for limited discovery Tedd Ho-Jeong An
2020-06-05 9:03 ` Szymon Janc
2020-06-05 17:22 ` Luiz Augusto von Dentz
2020-06-05 18:15 ` Luiz Augusto von Dentz
2020-06-05 19:19 ` Szymon Janc
2020-06-05 19:42 ` An, Tedd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200605061003.14634-1-tedd.an@linux.intel.com \
--to=tedd.an@linux.intel.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=tedd.an@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.