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
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 <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
---------------------------------
Pinpoint customers who are looking for what you sell.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
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 <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
---------------------------------
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users