All of lore.kernel.org
 help / color / mirror / Atom feed
* [V2 1/3] btp: Update connect event structure
@ 2020-08-12 20:49 tedd.an
  2020-08-12 20:49 ` [V2 2/3] tools/btpclientctl: Add btpclient test application tedd.an
  2020-08-12 20:49 ` [V2 3/3] btpclient: Fix gap reset not sending response tedd.an
  0 siblings, 2 replies; 6+ messages in thread
From: tedd.an @ 2020-08-12 20:49 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Tedd Ho-Jeong An

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)
---
 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-14 20:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 20:49 [V2 1/3] btp: Update connect event structure tedd.an
2020-08-12 20:49 ` [V2 2/3] tools/btpclientctl: Add btpclient test application tedd.an
2020-08-12 21:24   ` [V2,2/3] " bluez.test.bot
2020-08-14 20:12     ` Luiz Augusto von Dentz
2020-08-14 20:25   ` [V2 2/3] " Luiz Augusto von Dentz
2020-08-12 20:49 ` [V2 3/3] btpclient: Fix gap reset not sending response tedd.an

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.