Author Topic: unable connect: 44  (Read 23271 times)

arkgroup

  • Guest
unable connect: 44
« 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

arkgroup

  • Guest
Re: unable connect: 44
« Reply #1 on: October 02, 2012, 08:35:53 PM »
I am using lenovo laptop with ThinkPad BlueTooth 2.1 With Enhanced Data Rate II

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: unable connect: 44
« Reply #2 on: October 03, 2012, 12:01:43 AM »
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.

arkgroup

  • Guest
Re: unable connect: 44
« Reply #3 on: October 03, 2012, 01:43:24 PM »
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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: unable connect: 44
« Reply #4 on: October 03, 2012, 01:47:15 PM »
Did you select SPP in demo before connect? Also, have you paired phone with PC?

arkgroup

  • Guest
Re: unable connect: 44
« Reply #5 on: October 03, 2012, 03:10:04 PM »
Yes, I did all that. Is anything else I can try?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: unable connect: 44
« Reply #6 on: October 03, 2012, 05:16:46 PM »
Please, run BluetoothDiscovery demo and check what services are available on cell.

arkgroup

  • Guest
Re: unable connect: 44
« Reply #7 on: October 03, 2012, 05:34:18 PM »
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?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: unable connect: 44
« Reply #8 on: October 03, 2012, 05:46:47 PM »
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)

arkgroup

  • Guest
Re: unable connect: 44
« Reply #9 on: October 04, 2012, 01:25:51 PM »
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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: unable connect: 44
« Reply #10 on: October 04, 2012, 01:53:56 PM »
Hello,

Will check what SMS service is by its UUID. Interesting :).

With regards your task. Use IsInRange method (BluetoothDiscoveryDemo).

 

Sitemap 1 2 3 4 5 6 7