linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Data transmission and reconnections in HDP
@ 2010-05-07 11:02 José Antonio Santos Cadenas
  2010-05-07 12:08 ` Gustavo F. Padovan
  0 siblings, 1 reply; 13+ messages in thread
From: José Antonio Santos Cadenas @ 2010-05-07 11:02 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org

Hi all,

I start this thread to discuss the alternatives to move the data from the 
application to the l2cap socket in HDP. Till now we have the following 
alternatives (please, add more if we missed something)

Reconnections options:

 Option 1: Implicit reconnections: The application is not concern about the 
disconnections or reconnections of the data channel until it is deleted.

	We prefer this option because fixes more with a manager philosophy. A 
20601 manager sould not perceive temporal disconnections because this way can 
hold it state if it perceives a disconnection, next time it reconnects it will 
need to exchange again apdus for association.

 Option 2: Reconnections by the application. The applications are notified when 
a data channel is disconnected and should perform a reconnection before using 
it again.

Data transmission options:

 Option 1: Fd_passing the l2cap socket of the data channel to the client. The 
problem with this is that some data can be lost by d-bus if the channel is 
disconnected. (We have to check how fd-passing works).

 Option 2: Fd_passing a pipe and HDP will write the data in the l2cap data 
chanel socket. The problem with this is that we need 2 pipes for each data 
channel, but no data will be lost because HDP controls the data flow with the 
sockets and resend data not correctly sent.

	We think that the easier way for implicit reconnections is option 2. 
Because the application can always write on the socket it have (the pipe). 
Once written, the HDP layer tries to write it in the l2cap socket, if it 
fails, perform a reconnection operation over the data channel.

 Option 3: Transmiting the data by d-bus. We think that this option is bad for 
d-bus, because of the overload of the system bus.

 Option 4: Other IPC alternatives (more alternative here?)

Regards.


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

end of thread, other threads:[~2010-05-10  7:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 11:02 Data transmission and reconnections in HDP José Antonio Santos Cadenas
2010-05-07 12:08 ` Gustavo F. Padovan
2010-05-07 18:25   ` João Paulo Rechi Vita
2010-05-07 18:39     ` Santiago Carot-Nemesio
2010-05-07 18:49       ` João Paulo Rechi Vita
2010-05-07 19:57     ` Gustavo F. Padovan
     [not found]       ` <8D8F1AA1-A7C1-4636-BB75-1EF1A2E1A556@signove.com>
2010-05-10  1:08         ` João Paulo Rechi Vita
2010-05-10  2:31           ` Elvis Pfützenreuter
2010-05-10  7:53             ` José Antonio Santos Cadenas
2010-05-10  7:47     ` José Antonio Santos Cadenas
     [not found]   ` <82D1897F-4DEE-47F9-BD00-57087F182C3D@signove.com>
2010-05-07 19:49     ` Gustavo F. Padovan
2010-05-07 19:55       ` Elvis Pfützenreuter
2010-05-07 20:17         ` Gustavo F. Padovan

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 NNTP newsgroup(s).