| Reply | « Previous Thread | Next Thread » |
|
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. |
| robertomagan |
| View Public Profile |
| Find all posts by robertomagan |
|
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 |
| mahbub_s60 |
| View Public Profile |
| Find all posts by mahbub_s60 |
|
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. |
| robertomagan |
| View Public Profile |
| Find all posts by robertomagan |
|
Another issue could be though not sure in this case.
Bluetooth does not work if the threads have a common heap -Mahbub |
| mahbub_s60 |
| View Public Profile |
| Find all posts by mahbub_s60 |
|
Thank you so much, for your help!
Regards, Roberto. |
| robertomagan |
| View Public Profile |
| Find all posts by robertomagan |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |