| Reply | « Previous Thread | Next Thread » |
|
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 |
|
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... |
|
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 |
|
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 |
|
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|