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:
source.tar.gz
Description: GNU Zip compressed data