You Are Here:

Community: Developer Discussion Boards

#1 Old Bluetooth service advertisement on 7650 - 2002-11-20, 09:38

Join Date: Mar 2003
Posts: 19
ilkas
Offline
Registered User
Are there any default SPP services advertised in the 7650 BT service database ?

I am asking since it seems the inquiery from the peer does not reach my application in the phone but instead gets hooked up to some other service.

regards

Niklas
Reply With Quote

#2 Old RE: Bluetooth service advertisement on 7650 - 2002-11-20, 10:46

Join Date: Mar 2003
Posts: 1,200
seppo_fn's Avatar
seppo_fn
Offline
Forum Nokia Expert
It seems that your device tries to connect to the predefined Serial Port service of Nokia 7650. You have to change the RFCOMM channel number, and you have to make sure that your device can select the right serial port service (the one you have created).

Below are the results of Service Discovery (this service is the serial port service of the Point to Point example):


Handle 0x10009
AttrId:0x0
UInt: 0x10009
Attr Id: 0x1
DES
UUID: 0x1101
Attr Id: 0x2
UInt: 0x3
Attr Id: 0x4
DES
DES
UUID: 0x0100
DES
UUID 0x0003
UInt: 0x3 // this is a channel number
Attr Id: 0x8
UInt: 0xff
Attr Id: 0x100
"Serial Port" // you can name this freely, so that the remote device can distinguish it
Attr Id: 0x101
"Simple point to po...
Reply With Quote

#3 Old RE: Bluetooth service advertisement on 7650 - 2002-11-20, 13:20

Join Date: Mar 2003
Posts: 19
ilkas
Offline
Registered User
Hmm, of course.

Unfortunately, it is not possible to choose channel at runtime in my other device.

I don't suppose there is a way to disable this "Predefined SPP Service" ?

regards

Niklas
Reply With Quote

#4 Old RE: Bluetooth service advertisement on 7650 - 2002-11-21, 11:06

Join Date: Mar 2003
Posts: 1,200
seppo_fn's Avatar
seppo_fn
Offline
Forum Nokia Expert
Could you name the service so that the remote device can connect to it by name (instead of the original serial port service of N7650)?

Seppo
Forum Nokia
Reply With Quote

#5 Old RE: Bluetooth service advertisement on 7650 - 2002-11-22, 13:10

Join Date: Mar 2003
Posts: 19
ilkas
Offline
Registered User
No. Can't do that either.

The behaviour of the device is that it searches for the first available SPP service when it wakes up. Then it can be (AT-)commanded to search for a specific RFCOMM-channel, but it cannot be _preset_ to search for a specific channel automatically. -Which I need since there is no intelligence or support for sending any AT-command at the other end.

But, I have solved the problem temporarily, in a really ugly way, by removing all other BT-entries from the service database (don't tell anyone). The application is not intended for public release anyway.

regards

Niklas
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