You Are Here:

Community: Developer Discussion Boards

#1 Old Question Bluetooth Connection!!! - 2005-09-29, 20:55

Join Date: Sep 2005
Posts: 17
rubicita's Avatar
rubicita
Offline
Registered User
Hi,
I develop the midlet that connect with my PC. The midlet upload my nokia 6260. When I try connected with the specific bt address server and number channel of service it send the error
"SymbianOS error -34 General"
somebody what's the meaning error?
I typed below the code
public void run(){
TextField TextLogin = (TextField)this.get(0);
TextField TextPass = (TextField)this.get(1);

String connString = getConnectionString();
this.append("Conexión al servidor\n");


if (connectToServer (connString)){
this.append("Hecho");
}
}
private String getConnectionString(){
StringBuffer temp = new StringBuffer("btspp://000A3A570270:1");

return temp.toString();
}
private boolean connectToServer (String connString){
this.append(connString+"\n");
try{
conn = (StreamConnection) Connector.open(connString);

input = conn.openInputStream();
output = conn.openOutputStream();
return true;
}catch (IOException ioe){
this.append("Conexión falla (IOException: ");
this.append (ioe.getMessage());
this.append(")\n");
this.append(ioe.printstackTrace());
return false;
}
}
thanks
Reply With Quote

#2 Old Re: Bluetooth Connection!!! - 2005-09-29, 21:10

Join Date: Sep 2005
Posts: 17
rubicita's Avatar
rubicita
Offline
Registered User
I work platform Linux with BlueZ.
The side server I use programming language J2SE and use the native protocol stack BlueZ.
bye
Reply With Quote

#3 Old Re: Bluetooth Connection!!! - 2005-09-30, 01:53

Join Date: Sep 2005
Posts: 17
rubicita's Avatar
rubicita
Offline
Registered User
Hi,
Well, I find what's the last problem but now I have the new error . The error is
SymbianOS -6534 , the problem is reference the KErrRfcommFrameResponseTimeout.

Now, Somebody tell me what's the problem with my source code? why the midlet can connect to PC?.

The side PC I use programing language J2SE to platform Linux, statck protocolo BlueZ is runing with daemons rfcommand others. Too, I get up the service serial port with daemon sdptool of BlueZ.

The side server only call system stack protocol BlueZ for execue the instruction from terminal and the result return the application.
I hope help me, please!!!
Thanks
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
Bluetooth serial connection timeout martin.ericsson General Discussion 0 2005-06-13 03:00
Bluetooth connection slow to close scole96 Bluetooth Technology 0 2004-10-22 17:26
Detect connection Bluetooth or GPRS curcio1 Symbian Networking & Messaging 3 2004-05-04 16:29
Connection Manager does not with 6310i over bluetooth with ACER USB Stick BT 500 haumi General Discussion 0 2003-07-06 12:58
Suggestion for resolving PC suite connection via bluetooth Kazi Bluetooth Technology 0 2003-03-14 20:35

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d31624X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZbluetoothQ qfnZtopicQUqfnTopicZconnectivityQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ