public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Packet type
@ 2007-05-15 15:43 Bluezapper
  2007-05-15 15:59 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Bluezapper @ 2007-05-15 15:43 UTC (permalink / raw)
  To: Bluez Users


[-- Attachment #1.1: Type: text/plain, Size: 711 bytes --]

Hi,

 I wrote a program to create a bluetooth connection using hci_create_connection  and the devices get connected but how do I send and recieve packets using this connections. My aim is to test the communication link between the devices using different packet types(DM1,DM3,DM5...)

Can someone please give me a hint on how this can be done. I have been struggling a lot as I am new to Bluez and C programming.

thanks

Marco.

       Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg-- hot CTA = Yahoo! Autos new Car Finder tool

[-- Attachment #1.2: Type: text/html, Size: 760 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Packet type
  2007-05-15 15:43 [Bluez-users] Packet type Bluezapper
@ 2007-05-15 15:59 ` Marcel Holtmann
  2007-05-17  9:54   ` Bluezapper
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-05-15 15:59 UTC (permalink / raw)
  To: BlueZ users

Hi Marco,

>  I wrote a program to create a bluetooth connection using
> hci_create_connection  and the devices get connected but how do I send
> and recieve packets using this connections. My aim is to test the
> communication link between the devices using different packet
> types(DM1,DM3,DM5...)
> 
> Can someone please give me a hint on how this can be done. I have been
> struggling a lot as I am new to Bluez and C programming.

don't do that. Use a L2CAP socket.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Packet type
  2007-05-15 15:59 ` Marcel Holtmann
@ 2007-05-17  9:54   ` Bluezapper
  2007-05-17 11:54     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Bluezapper @ 2007-05-17  9:54 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 1361 bytes --]

Hi Marcel,

Thanks for the reply, but if I use a L2cap connection I cannot specify whether I want to use HCI_DM1 or HCI_DM3 packets in my program ??

final goal is to test each packet type using any connection ??


regards,

Marco.

Marcel Holtmann <marcel@holtmann.org> wrote: Hi Marco,

>  I wrote a program to create a bluetooth connection using
> hci_create_connection  and the devices get connected but how do I send
> and recieve packets using this connections. My aim is to test the
> communication link between the devices using different packet
> types(DM1,DM3,DM5...)
> 
> Can someone please give me a hint on how this can be done. I have been
> struggling a lot as I am new to Bluez and C programming.

don't do that. Use a L2CAP socket.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


  
---------------------------------
Looking for earth-friendly autos? 
 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.  

[-- Attachment #1.2: Type: text/html, Size: 1769 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Packet type
  2007-05-17  9:54   ` Bluezapper
@ 2007-05-17 11:54     ` Marcel Holtmann
  2007-05-17 12:20       ` Bluezapper
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-05-17 11:54 UTC (permalink / raw)
  To: BlueZ users

Hi Marco,

> Thanks for the reply, but if I use a L2cap connection I cannot specify
> whether I want to use HCI_DM1 or HCI_DM3 packets in my program ??
> 
> final goal is to test each packet type using any connection ??

and what do you expect as result out of it. First of all HCI_DM1 is
always available and second let the link manager do its jobs and allows
it to use all available packets.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Packet type
  2007-05-17 11:54     ` Marcel Holtmann
@ 2007-05-17 12:20       ` Bluezapper
  0 siblings, 0 replies; 5+ messages in thread
From: Bluezapper @ 2007-05-17 12:20 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 1227 bytes --]

Hi Marcel,

 Final aim is to provide an estimate of the expected frame error rate (FER) per channel of a series of Bluetooth links using six different types of packets (DM1, DM3, DM5, DH1, DH3, DH5).

thanks,

Marco.


Marcel Holtmann <marcel@holtmann.org> wrote: Hi Marco,

> Thanks for the reply, but if I use a L2cap connection I cannot specify
> whether I want to use HCI_DM1 or HCI_DM3 packets in my program ??
> 
> final goal is to test each packet type using any connection ??

and what do you expect as result out of it. First of all HCI_DM1 is
always available and second let the link manager do its jobs and allows
it to use all available packets.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


       
---------------------------------
Pinpoint customers who are looking for what you sell. 

[-- Attachment #1.2: Type: text/html, Size: 1636 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2007-05-17 12:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 15:43 [Bluez-users] Packet type Bluezapper
2007-05-15 15:59 ` Marcel Holtmann
2007-05-17  9:54   ` Bluezapper
2007-05-17 11:54     ` Marcel Holtmann
2007-05-17 12:20       ` Bluezapper

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