* As Slave: Disable/Delay the sending of Connection Parameter Update Request
@ 2015-06-01 9:30 Ankur Patel
2015-06-06 5:05 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Ankur Patel @ 2015-06-01 9:30 UTC (permalink / raw
To: linux-bluetooth@vger.kernel.org
Hello Folks,
Using Bluez 5.30 based controller acting as Slave Role, I would like to prevent/delay the send Connection Parameter Update Request just after successful connection.
Steps of Communication b/w Host and Controller:
1. Contoller prepared in connectable mode by issuing command: hciconfig hci0 leadv
2) Below is the communication sequence:
(H -> C): Type: Command opcode: 0x200d - Create Connection
(C -> H): Type: Event opcode: 0x200d - Command Status
(C -> H): Type: Event - LE Connection Complete
(C -> H): ACL Data: Connection Parameter Update Request
Is it possible to disable/delay controller to send Connection Parameter Update Request or send it with any delay?
Some Info on the Modes set on Controller:
root@imx28evk:~# hciconfig -a
hci0: Type: BR/EDR Bus: UART
BD Address: 1C:BA:8C:86:81:21 ACL MTU: 1021:6 SCO MTU: 180:4
UP RUNNING
RX bytes:1776 acl:1 sco:0 events:72 errors:0
TX bytes:1118 acl:2 sco:0 commands:69 errors:0
Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'bttest'
Class: 0x001f00
Service Classes: Unspecified
Device Class: Invalid Device Class!
HCI Version: 4.0 (0x6) Revision: 0x0
LMP Version: 4.0 (0x6) Subversion: 0xac6c
Manufacturer: Texas Instruments Inc. (13)
Regards,
Ankur
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: As Slave: Disable/Delay the sending of Connection Parameter Update Request
2015-06-01 9:30 As Slave: Disable/Delay the sending of Connection Parameter Update Request Ankur Patel
@ 2015-06-06 5:05 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2015-06-06 5:05 UTC (permalink / raw
To: Ankur Patel; +Cc: linux-bluetooth@vger.kernel.org
Hi Ankur,
> Using Bluez 5.30 based controller acting as Slave Role, I would like to prevent/delay the send Connection Parameter Update Request just after successful connection.
>
> Steps of Communication b/w Host and Controller:
> 1. Contoller prepared in connectable mode by issuing command: hciconfig hci0 leadv
you are really looking for btmgmt advertising on here.
> 2) Below is the communication sequence:
> (H -> C): Type: Command opcode: 0x200d - Create Connection
> (C -> H): Type: Event opcode: 0x200d - Command Status
> (C -> H): Type: Event - LE Connection Complete
> (C -> H): ACL Data: Connection Parameter Update Request
>
> Is it possible to disable/delay controller to send Connection Parameter Update Request or send it with any delay?
We could delay this of course. Do you have a btmon trace that shows this. I remember that at some point there was a discussion to add L2CAP socket options to define connection parameter details on a per socket basis.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-06 5:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 9:30 As Slave: Disable/Delay the sending of Connection Parameter Update Request Ankur Patel
2015-06-06 5:05 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).