public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* BNEP and Raw Ethernet Sockets
@ 2009-01-03 10:00 Breno Jacinto
  2009-01-03 15:26 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Breno Jacinto @ 2009-01-03 10:00 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]

Hello,

    I've been trying for a while to make a BNEP network exchange
messages through raw ethernet sockets, but up to now I could not come
with a reasonable explanation of why it is not working. I have done
the following experiments:

1) Build the network according to the BlueZ PAN Howto
(http://bluez.sourceforge.net/contrib/HOWTO-PAN), consisting of 2
nodes, then 3 nodes with bridging.

2) Tested simple UDP broadcasts: worked fine, everyone receives the packet.

3) Tested with Raw Ethernet sockets: Source Node sends, but the frame
simply doesnt seem to reach the destinations (it is also a broadcast,
but a link-layer one).

    The codes I have been testing are attached, if anyone has
experienced the same situation and found a solution, or if anyone is
suspicious about what might be happening, I'd be glad to hear.

    My main suspect is that hand-made Ethernet frames are not what the
BNEP layer is expecting (and thus I see some errors in Wireshark), but
then, what is it that BNEP expects?


best regards,
-- 
-- 
:: Breno Jacinto ::
:: breno - at - gprt.ufpe.br ::
:: FingerPrint ::
   2F15 8A61 F566 E442 8581
   E3C0 EFF4 E202 74B7 7484
:: Persistir no difícil é a única maneira de torná-lo fácil algum dia.  ::

[-- Attachment #2: source.tar.gz --]
[-- Type: application/x-gzip, Size: 4207 bytes --]

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

* Re: BNEP and Raw Ethernet Sockets
  2009-01-03 10:00 BNEP and Raw Ethernet Sockets Breno Jacinto
@ 2009-01-03 15:26 ` Luiz Augusto von Dentz
  2009-01-04  5:20   ` Breno Jacinto
  0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2009-01-03 15:26 UTC (permalink / raw)
  To: Breno Jacinto; +Cc: linux-bluetooth

Hi Breno,

> 1) Build the network according to the BlueZ PAN Howto
> (http://bluez.sourceforge.net/contrib/HOWTO-PAN), consisting of 2
> nodes, then 3 nodes with bridging.

This document is outdated, bluetoothd should be able to handle devices
with PAN profile, pand is deprecated.

-- 
Luiz Augusto von Dentz
Engenheiro de Computação

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

* Re: BNEP and Raw Ethernet Sockets
  2009-01-03 15:26 ` Luiz Augusto von Dentz
@ 2009-01-04  5:20   ` Breno Jacinto
  0 siblings, 0 replies; 3+ messages in thread
From: Breno Jacinto @ 2009-01-04  5:20 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello,

    Is there any documentaion on bluetoothd?

regards,

2009/1/3 Luiz Augusto von Dentz <luiz.dentz@gmail.com>:
> Hi Breno,
>
>> 1) Build the network according to the BlueZ PAN Howto
>> (http://bluez.sourceforge.net/contrib/HOWTO-PAN), consisting of 2
>> nodes, then 3 nodes with bridging.
>
> This document is outdated, bluetoothd should be able to handle devices
> with PAN profile, pand is deprecated.
>
> --
> Luiz Augusto von Dentz
> Engenheiro de Computação
>



-- 
-- 
:: Breno Jacinto ::
:: breno - at - gprt.ufpe.br ::
:: FingerPrint ::
   2F15 8A61 F566 E442 8581
   E3C0 EFF4 E202 74B7 7484
:: Persistir no difícil é a única maneira de torná-lo fácil algum dia.  ::

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

end of thread, other threads:[~2009-01-04  5:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-03 10:00 BNEP and Raw Ethernet Sockets Breno Jacinto
2009-01-03 15:26 ` Luiz Augusto von Dentz
2009-01-04  5:20   ` Breno Jacinto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox