You Are Here:

Community: Developer Discussion Boards

#1 Old Bluetooth Socket Connection MIDP 2.0 - 2004-02-13, 19:04

Join Date: Jan 2004
Posts: 25
dleeICT
Offline
Registered User
hi,
was just trying to set up a bluetooth socket connection here.

i know the basic idea is:

Server Side:

ServerSocket Connection scn = (ServerSocketConnection)Connector.open
(connectionURL);
SocketConnection conn = (SocketConnection)scn.acceptAndOpen();


Client Side:

SocketConnection con = (SocketConnection)Connector.open
(connectionURL);

But what's the format of the connecionURL?
is it normal socket format, i.e. "socket://localhostort",
or normal RFCOMM stream connection format,
i.e. "btspp://localhost:UUID"

or maybe a mixture of both?? a uuid has to be included in the url
though, in order for service discovery to work.....

hmmmmmm, any thoughts??
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

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