Bluetooth SDP issue on CE 5.0
- From: csbabu <saravanan.babu@xxxxxxxxx>
- Date: Thu, 1 Oct 2009 14:19:37 -0700 (PDT)
Hi All,
I am trying to include usb bluetooth dongle support on my terminal and
trying to add HID and OBEX file push profiles.
I am trying to use OBEX file transfer on CE5.0 devices using USB BT
Dongle.
I have added
SYSGEN_OBEX_SERVER,SYSGEN_OBEX_CLIENT,SYSGEN_OBEX_FILEBROWSER,SYSGEN_OBEX_INBOX.
All the above mentioned components are present in the OS image.
Now i am able to search and pair it other devices using Bluetooth
Manager Device Properties applet.
But if i try to use OBEXTOOL.exe to transfer files between 2 devices,
it fails.
varRequested.bstrVal = SysAllocString
(L"{0000112F-0000-1000-8000-00805f9b34fb}");
hr = pBag->Write(L"RequestedServiceUUID", &varRequested);
VariantClear(&varRequested);
hr = pObex->BindToDevice(pBag, ppObexDevice);
if(FAILED(hr))
*ppObexDevice = NULL;
BindToDevice always fails. WSASERVICE_NOT_FOUND error i am getting.
When do Connect Filebrowser,File Inbox from obextool.exe, i get the
same error in BindToDevice.
It seems my device does not expose any service to other devices.
What could be the reason that i am not getting UUID when it is
requested?
Anything i am missing in the image?
Similarly i am trying with adding BT keyboard profile by including
SYSGEN_BTH_HID_KEYBOARD. bthhid.dll is included in the image. But
whenever i use 'bluetooth manager' applet, it finds the keyboard and
pairs with it. But the icon of the keyboard comes as '?' mark. Even if
i move it to trusted, 'Active' menu was greyed out. Here too i think,
BTManager applet (netUI code) is not able to find the services using
my bluetooth dongle. So i am not able to activate the BT keyboard. In
the netUI code, DoSDP function fails,
in BthNsLookupServiceNext(). But BthNsLookupServiceBegin is success.
The Bluetooth protocol stack contains the Service Discovery Protocol
(SDP), which is used to locate services provided by or available via a
Bluetooth device. Somehow this SDP thing is not working for me.
Please let me know any other component or registry keys i am missing?
(Note: i am trying with LinkSys, AnyCom usb bluetooth dongles)
Please give me your inputs. Your help is much appreciated.
Thanks
csb
.
- Prev by Date: Re: Can the the smb server on windows ce 6.0 stop?
- Next by Date: Re: Project management WINCE Platform Builder
- Previous by thread: Re: Can the the smb server on windows ce 6.0 stop?
- Next by thread: Re: Embedded CE 6.0: Error/Bug in "makefile.def" ??
- Index(es):
Relevant Pages
|