Click here to get back home

Bluetooth Stack

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Bluetooth Stack Ashish 08-30-2006
Posted by Ashish on August 30, 2006, 12:52 am
Please log in for more thread options
Hi,

I am trying to execute the sample BTsearch application (Comes with
WM5.0 as a sample) on the Moto Q. But I am not able to execute it
successfully.
In the code below, WSALookupServiceBegin returns -1 and WSAGetLastError
returns 10108 (which seems to be WSASERVICE_NOT_FOUND).
I came to know from some forum that this may be due to the difference
in Bluetooth stack. WSALookupServiceBegin may work only if you have
MSFT BT stack. I would like to know Which BT stack Moto Q is using?
MSFT/Broadcomm/WinComm?

        iResult = WSALookupServiceBegin(&wsaq,
                LUP_CONTAINERS,
                &hLookup);

        if (iResult != 0)
        {
                TCHAR tszErr[32];
                iResult = WSAGetLastError();
                StringCchPrintf(tszErr, 32, _T("Socket Error: %d"), iResult);
                MessageBox(hDlg, tszErr, _T("Error"), MB_OK);
        }

        
Best regards,
VYAS ASHISH M


Similar ThreadsPosted
Bluetooth PAN profile on WM5 PPC with MS Bluetooth stack October 17, 2006, 7:57 am
Bluetooth stack - Mobile 6 August 3, 2007, 3:15 pm
MS Bluetooth stack causes data transfer delays? August 12, 2006, 6:19 am
TCP/IP stack February 23, 2006, 8:35 am
using different stack of IPSec/IKE May 23, 2006, 4:56 am
Open source SIP stack for WM 2005 SE (preferably C#)? September 21, 2006, 6:03 am
ANN: Another GREAT breakthrough in Windows Mobile networking: unrestricted BT PAN server with the MS BT stack!! October 9, 2007, 12:12 pm
ANN: WM6 & Microsoft Bluetooth A2DP (stereo Bluetooth headphones) quality: Light at the End of the Tunnel? June 5, 2007, 5:54 am
Bluetooth and BMW June 11, 2005, 5:15 pm
Bluetooth September 8, 2005, 12:50 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap