root@ts7000:root# modprobe rfcomm root@ts7000:root# modprobe l2cap root@ts7000:root# modprobe bluez root@ts7000:root# hciconfig hci0 up root@ts7000:root# hciconfig hci0: Type: USB BD Address: XX:XX:XX:XX:86:8A ACL MTU: 384:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:69 acl:0 sco:0 events:8 errors:0 TX bytes:27 acl:0 sco:0 commands:7 errors:0
root@ts7000:root# sdptool browse local Failed to connect to SDP server on FF:FF:FF:00:00:00: No such file or directory
that failed also. For the application that i am writing, only my client will be connecting to my server so i do not need the services advertised to other clients. Since rfcomm transport protocol has 30 channels, can i have my server listening to more than one channel at a time (a channel for each service offered) and then hardcode those channels in the client code so that my client can connect to the server based on the service it needs?
Thanks Binta --- On Fri, 3/7/08, Marcel Holtmann <marcel@holtmann.org> wrote:
From: Marcel Holtmann <marcel@holtmann.org> Subject: Re: SDP discovery not working To: sidibebinta@yahoo.com Cc: "bluez-users@lists.sourceforge.net" <bluez-users@lists.sourceforge.net>, bintasidibeh@hotmail.com Date: Friday, March 7, 2008, 11:38 AM
Hi,
> i need help with my bluetooth project. i have two boards TS7300 and
> i have attached Dlink DT-120 on both. For my project, one is the
> server and the other is the client. i want to have sevices offered
> by my server so that my client can just connect to my servers SDP
> server to get the port numbers. When i hard code the port number i
> am using, my client can send message to my service...good. Now i
> went a step ahead and tried to register a service on my server but
> it fails to connect to local sdp server.
>
you have to use "sdptool browse local" for that.
Regards
Marcel |