NOKIA Experts.Please advice!

Login to reply to this topic.
Mon, 2006-04-17 14:16
Joined: 2005-11-12
Forum posts: 68
hi all,
Im working on an BT application.The thing is that i need to send a notification to the other mobile phone user asking him to open my application and connect to mine.
Hence forth i used OBEX to connect and send a message which goes to his inbox.

now,as the obex servers are not able to send messages to the client i need to transfer the connection to RFCOMM and proceed with the chat!

I have done all these part.But the problem is with the swtiching between OBEX and RFCOMM.

Even thogh i disconnect (closing the server and the client) im not able to connect immediately.i get the message like "Maximum amount of bluetooth connections in use.Cant establish a new one"
Why is that so?
Can any of you please suggest me how to recover from this problem.I need to switch the connecting protcols by staying with in the application.If i exit from the application and try again it works fine..
PLEASE HELP ME OUT!!!

Regards

Priju

Tue, 2006-04-18 11:06
Joined: 2005-12-06
Forum posts: 14
Re: NOKIA Experts.Please advice!
if you destroy the client and then you create a new one?
Tue, 2006-04-18 15:29
Joined: 2005-11-12
Forum posts: 68
Re: NOKIA Experts.Please advice!
Yes,Im destroying the Client and then creating a new one in the same application.But still it doesnt work out!
REgards
Priju
Tue, 2006-04-18 15:59
Joined: 2005-12-06
Forum posts: 14
Re: NOKIA Experts.Please advice!
stupid hint but...

are you sure that you close all connections when you destroy the client?
Wed, 2006-04-19 05:05
Joined: 2005-11-12
Forum posts: 68
Re: NOKIA Experts.Please advice!
Yes!
Im closing all the connections.
Mich2424,This also happens when i try  with the examples that comes along the sdk.
I tried the btobex example.In that example too they are closing the client and the server.but still when i tried that example i get the same message.

Regards

Priju
Wed, 2006-04-19 06:35
Joined: 2005-11-12
Forum posts: 68
Re: NOKIA Experts.Please advice!
So i like to know whether this is a problem of the emulator or the problem of my application!
I dont get this when message "Max number of bt connecton already in use...." when i tried it out in s90 and s80.
It happens only when i try it in fp2 and fp3...so please guide me thru!
Regards
Priju
Mon, 2006-04-24 03:08
Joined: 2005-03-06
Forum posts: 183
Re: NOKIA Experts.Please advice!
I think the connection will close, its just that it doesnt close instantaneously. It might take 10 or 20 or 30 seconds for the connection to properly shut down and be available again. This is based on my experience and nothing else. So just wait a short while in ur program before attempting to re-connect. Give it a try.

Regards,
Isseyp
Tue, 2006-04-25 12:12
Joined: 2005-11-12
Forum posts: 68
Re: NOKIA Experts.Please advice!
Hello,
Yes you are right.When i gave a try after few seconds things were workng fine.i didnt get that message.
Thanks for the reply.

Regards

Priju
  • Login to reply to this topic.