Skip to contentSkip to conversation

Raw Sockets

Bluez-devel Nuno Gomes 2 participants 2 messages May 24, 2005 Bluetooth drivers

lore
Share & tools
lore

Nuno Gomes

author
#0 lore raw

Hello,
I'm writting from Portugal and I'm developing an application with bluez. This application's objective is to develop an program to receive data from several bluetooth devices and create a Data Base with that information. I need to use Raw Sockets, so I can create specific headers for the bluetooth packets.

Rigth now I'm having some problems using this raw sockets... So, I have some questions...
1 - How can I capture bluetooth packets using Raw Sockets? 2 - What kind of structure do I need to use to manage the packets (in sockets tcp/ip we use specific structures to receive/send packets) 3 - Can I capture all the packets or just the packets sent to my bluetooth device??

Thank You all for the help...=20
--=20
Nuno Miguel Gomes
Has just sent you an E-mail!!!

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Nuno,

Quoted 6 lines

I'm writting from Portugal and I'm developing an application with bluez. This application's objective is to develop an program to receive data from several bluetooth devices and create a Data Base with that information. I need to use Raw Sockets, so I can create specific headers for the bluetooth packets.

Quoted 7 lines

Rigth now I'm having some problems using this raw sockets... So, I have some questions...
1 - How can I capture bluetooth packets using Raw Sockets? 2 - What kind of structure do I need to use to manage the packets (in sockets tcp/ip we use specific structures to receive/send packets) 3 - Can I capture all the packets or just the packets sent to my bluetooth device??

what makes you think that you need raw sockets. I don't see any need for it. Write a client/server application that communicates over L2CAP or RFCOMM.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel