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.