Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: arkgroup on October 02, 2012, 08:24:32 PM
-
I am using demo\c#\20\BluetoothClientDemo\. Windows XP, VS 2010.
Discover works fine, when click Connect, have error : Unable connect: 44
Please help.
Thanks
-
I am using lenovo laptop with ThinkPad BlueTooth 2.1 With Enhanced Data Rate II
-
Hello,
Error 44 (WCL_E_SERVICE_NOT_FOUND) means that device doesn't support service you want connect to (all the error codes are described in WCL doc). Demo uses SPP or DUN to connect to device.
-
My phone is Samsung Replenish and it has support for SPP. I can connect using My Bluetooth Places, but not in demo.
Maybe something is missing in my laptop?
-
Did you select SPP in demo before connect? Also, have you paired phone with PC?
-
Yes, I did all that. Is anything else I can try?
-
Please, run BluetoothDiscovery demo and check what services are available on cell.
-
Thanks. You were right, I don't see SPP
Here is the services list:
Headset Gateway
SMS
Object Push
AV Remote Control
BRCM Advanced Audio
OBEX File Transfer
So, I cannot use your library?
-
It depends on what you need. Your device doesn't support SPP or DUN services (BTClient demo works only with those 2 services just to show how to organize basic communication with device) (interesting, what's SMS service UUID?) but it supports OBEX so you can send files to your device (Check OPPClientDemo)
-
Here is SMS UUID
00001132-0000-1000-8000-00805f9b34b
I have project that will count how many times per day person with mobile phone entered room with desktop. Any help or sample code would be appreciated.
Thanks
-
Hello,
Will check what SMS service is by its UUID. Interesting :).
With regards your task. Use IsInRange method (BluetoothDiscoveryDemo).