You Are Here:

Community: Developer Discussion Boards

#1 Old Symbian OS Error -6004 - 2008-11-09, 20:59

Join Date: Mar 2008
Posts: 11
robertomagan
Offline
Registered User
Hi all:

I'm developing a bluetooth application when I have two components : a laptop and a N70 mobile device.

Both nodes can be server or client. First when I start my midlet application in mobile, a thread is thrown in the devide. This thread is a btspp server.

Then when I start mi Java JSR-82 application in laptop, a thread is thrown. The labtop is a btspp server too.

Both, the mobile and labtop, can send messages to mobile, in case of laptop, or to labtop in case of mobile. In these cases both nodes are clients.

The -6004 error ocurred when the mobile are receiving a message from laptop and simultaneously the mobile is trying to stablish a connection with laptop to send other message.

In other cases, the application running succesfully.

I think that, in the piconet created, both nodes are master, and it can't be possible.

Is there any way to solve this problem?

I did a test, adding behing de the btspp server url the string master=true in labtop server, and in the mobile server the string master=false, but it doesn't solve the problem.

Please, Can you help me?

Thanks in advance.
Roberto.
Reply With Quote

#2 Old Re: Symbian OS Error -6004 - 2008-11-11, 14:06

Join Date: Mar 2008
Posts: 577
mahbub_s60's Avatar
mahbub_s60
Offline
Forum Nokia Expert
Hi,
Could you check, when you run your application in client then make sure the server is advertising it's service and waiting for connection.


-Mahbub
Reply With Quote

#3 Old Re: Symbian OS Error -6004 - 2008-11-11, 20:12

Join Date: Mar 2008
Posts: 11
robertomagan
Offline
Registered User
Hi mahbub_s60:

Thanks for your help.

In both, labtop and mobile, when these nodes startup a thread is thrown. That thread is always listening request from labtop in mobile device case or from mobile in labtop case.

I say that always exists a server running (service) and waiting a connection in both nodes, mobile and labtop.

I think that is not the problem.

Do you have any other solution for mi problem?

I'm using BlueCove API in labtop, could exist any relatioship with the problem, what do you think?

Thanks again!
Roberto.
Reply With Quote

#4 Old Re: Symbian OS Error -6004 - 2008-12-11, 09:39

Join Date: Mar 2008
Posts: 577
mahbub_s60's Avatar
mahbub_s60
Offline
Forum Nokia Expert
Another issue could be though not sure in this case.
Bluetooth does not work if the threads have a common heap


-Mahbub
Reply With Quote

#5 Old Re: Symbian OS Error -6004 - 2008-12-11, 10:29

Join Date: Mar 2008
Posts: 11
robertomagan
Offline
Registered User
Thank you so much, for your help!

Regards, Roberto.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Symbian C++ or MDIP: some newbie questions sgalmeida General Symbian C++ 2 2006-12-30 09:57
Oracle Database Lite 10g Available for Symbian OS Phones chirag_cel News, Announcements and Job Listings 2 2006-12-11 08:00
A little survey regarding Java vs Symbian C++ Olnex Mobile Java General 0 2006-11-01 10:00
How Can I Use TSmsUserDataSettings in Symbian 6.1? ilsocio General Symbian C++ 2 2003-08-19 17:39
setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking servigo Mobile Java Networking & Messaging & Security 2 2003-07-31 08:47

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia