You Are Here:

Community: Developer Discussion Boards

#1 Old Exclamation Trouble registering service in SDP - 2008-11-14, 16:24

Join Date: Apr 2008
Posts: 55
sadysta
Offline
Regular Contributor
Hi,

I've created an RFCOMM-based service but I can't make it visible via SDP. I use the code from S60 Chat example. Unfortunately even the original Chat application is not visible via SDP. I'm enumerating services from PC using Windows Sockets API (WSALookupServiceBegin/WSALookupServiceNext,etc.). There's plenty of other services visible:
Code:
Service: SDP Server, Port: -1
Service: Dial-Up Networking, Port: 1
Service: OBEX Object Push, Port: 2
Service: Imaging, Port: 3
Service: Phonebook access PSESymbian Software Ltd, Port: 4
Service: Hands-Free Audio Gateway, Port: 5
Service: Headset Audio Gateway, Port: 6
Service: SyncMLClient, Port: 7
Service: Audio Source, Port: 25
Service: AVRCP ControllerAudio Video Remote Control, Port: 23
Service: OBEX File Transfer, Port: 8
Service: Nokia OBEX PC Suite Services, Port: 9
unfortunately mine is not. I know it should be visible as listening on port 11 (that's the port I get using KRFCOMMGetAvailableServerChannel request and set in TBTSockAddr). Furthermore I can use the port to successfully talk to the service. Interesting isn't it? Any ideas???
Reply With Quote

#2 Old Re: Trouble registering service in SDP - 2008-11-14, 22:51

Join Date: Dec 2006
Posts: 41
Location: London
bdonegan
Offline
Registered User
Okay, first question is: can you discover the device itself?

Also, could you share the code you're using to register the service?
Reply With Quote

#3 Old Re: Trouble registering service in SDP - 2008-11-15, 21:40

Join Date: Apr 2008
Posts: 55
sadysta
Offline
Regular Contributor
Yes, of course. The list of services up there is from the detected device.

I can't really post code used for detection but I can say that it's standard code as suggested by MSDN.
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
Please - Problem Registering Bluetooth service using S60 3rd MIDP SDK FP2 hsoft0 Mobile Java Networking & Messaging & Security 4 2008-01-15 15:54
Problem with service attribute propagation and service attribute retrieval pfrey Bluetooth Technology 4 2006-09-05 16:15
6680 and bluetooth service profiles ceruault Mobile Java Networking & Messaging & Security 1 2005-10-08 23:24
Trouble advertising Audio service (A2DP) in SDP dahhorn Bluetooth Technology 0 2004-12-30 00:13

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