You Are Here:

Community: Developer Discussion Boards

#1 Old SPP Service - send data problem - 2006-09-03, 13:34

Join Date: Sep 2006
Posts: 1
sudhirbaliga
Offline
Registered User
Hi,

I am developing a simple chat application where the PC (bluetooth dongle) is the server and the client is the Nokia 6280 (BT Address : 00:15:DE:E8:B4:2E)

I am using the BlueSoleil SDK for the Server application.
The SPP service is started with the SDk and following details are obtained :

BT_StartSPPExService returned 1: Succeeded.
SPPEx Service Info:
SDAP Record Handle: 65547
Service Name: MyCutomerService
Service Channel: 08
COM Port: 5

3. When the client application (J2ME) is started, the device is discovered, the service is also discovered and connection is established. A popup message "Allow Application to use connectivity applications?" also appears.

The following is indicated by BlueSoleil

BSOL_CLIENT>Error Code: 0xc Command Disallowed.
Incoming Connection Connect Indication!
Remote Address: 00:15:DE:E8:B4:2E
SPPEx Service Info:
SDAP Record Handle: 65547
Service Name: MyCutomerService
Service Channel: 08
COM Port: 5
SPPEX Server Received data [0]:
SPPEX Server Received data [0]:
SPPEX Server Received data [0]:

4. The service URL reported by J2ME is
btspp://111111111111:8;authenticate=true;encrypt=false;master=false

The dongle address is 11:11:11:11:11:11. Also the service name "MyCutomerService" is identified.

The problem is that no data is being received by the server. Following is the j2me code listing

String serviceURL = ServiceRecord.getConnectionURL(ServiceRecord.NOAUTHENTICATE_NO ENCRYPT, false);

conn = (StreamConnection)Connector.open(serviceURL);
out = conn.openOutputStream();
in = conn.openInputStream();

String strCMD = "Test";
out.write(strCMD.getBytes());

Is the error code "Error Code: 0xc Command Disallowed." a cause for this problem. What does this error code indicate.

Please let me know if you have any suggestions/solution for this problem. Thank you for your help.
Reply With Quote

#2 Old Unhappy Re: SPP Service - send data problem - 2006-11-30, 14:44

Join Date: Dec 2005
Posts: 10
jlressia's Avatar
jlressia
Offline
Registered User
Hi!, i'm making a similar application (I'm using the BlueSoleil's SDK too) and I get similar errors when I try to receive data from the phones. Any help about this issue will be appreciated!!

Regards!
Kabuby
Reply With Quote

#3 Old Re: SPP Service - send data problem - 2006-12-01, 13:01

Join Date: Dec 2006
Posts: 8
shital_227
Offline
Registered User
I am also developing the server side. I can register the service record and get the data. Here i user StreamConnecton notifier and connected the URL and called acceptAndOpen(). It is working fine in SE K750. but not in Nokia 6600. I think the request is going on default channel.

Can you tell me how to register a channel in ServiceRecord?

Regards.
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
Data Call on Nokia 6600 (ETel/RCall) problem NSDev General Symbian C++ 8 2006-09-13 11:12
Nokia SDK Bluetooth service re-discovery problem, Help Me!:( tomsonxu Mobile Java Networking & Messaging & Security 0 2005-11-08 08:44
Data Call Problem !! ahmed_baghdad General Discussion 0 2005-07-03 12:07
problem to send Service Loading push message over 8310 alinesimon General Browsing 3 2002-10-23 08:08
problem to send a service loading message push for 8310 alinesimon General Messaging 1 2002-05-06 13:39

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