bthmsdevemul

48 views
Skip to first unread message

Paul Coulson

unread,
Apr 10, 2013, 9:37:15 AM4/10/13
to bthmsd...@googlegroups.com

Hi there,

 

I’ve set up and run the emulator as instructed and all seems to be ok. Also ran the bttest.exe and connected successfully.

 

However when I try to run VS and deploy to the Smartphone Emulator, my Bluetooth software sees there is a BT radio but is unable to enumerate the devices.

 

The BT software I am using (designed for use with CF) works fine when running on the PC (with the freebt driver unloaded).

 

Am I missing something?

 

Cheers

 

Paul

 

Senscient

Paul Coulson
Software Engineer
pcou...@senscient.com

F1 Arena Business Centre,
Holy Rood Close

Poole
Dorset
BH17 7FJ
United Kingdom

www.senscient.com 

+44 (0) 1202 606473


Senscient Ltd. is a limited company registered in England and Wales.

Registered number:5014794. Registered office: Mountbatten House 1 Grosvenor Square Southampton SO15 2BZ 

Please note that Senscient Ltd. may monitor email traffic data and also the content of email for the purposes of security and staff training.

This message contains confidential information and is intended only for the intended recipients. If you are not an intended recipient you should not disseminate, distribute or copy this e-mail. Please notify postm...@senscient.com immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Senscient Ltd. therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

Dmitry Klionsky

unread,
Apr 10, 2013, 11:33:48 AM4/10/13
to bthmsd...@googlegroups.com, Paul Coulson
Hi,


>> Also ran the bttest.exe and connected successfully.
This only means that you've installed FreeBT successfully.

>> I’ve set up and run the emulator as instructed and all seems to be ok.
So you've set it up and now the emulator shows that there is Bluetooth available and it is able to discover the devices around.
Right? If it's not, what installation steps you made?

BR
--
You received this message because you are subscribed to the Google Groups "bthmsdevemul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bthmsdevemul...@googlegroups.com.
To post to this group, send email to bthmsd...@googlegroups.com.
Visit this group at http://groups.google.com/group/bthmsdevemul?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


-- 
Best regards,
Dmitry Klionsky

Dmitry Klionsky

unread,
Apr 11, 2013, 5:49:59 AM4/11/13
to Paul Coulson, bthmsd...@googlegroups.com
Hi Paul,

    >> update my dongle to FreeBT driver (now appears under ‘Universal Serial Bus controllers’ instead of ‘Bluetooth Radios’ in Device Manager)
    >> Start the emulator with BthEmulManager.cetool
    >> Select USA Windows Mobile 6.5 Standard Landscape QVGA Emulator (also tried Mobile 5.0 Pocket PC)
    >> RemoteTools Framework Shell shows Bluetooth for Microsoft Device Emulator, displaying Address, Manufacturer (RTX Telecom A/S), HCI/LMP Version (see picture 2)

    So far so good. The emulator now believes Bluetooth is available. The only strange thing is that there is this long COMMAND_PACKET and then COM_CLOSE_MSG.
Before moving on you should make sure that your Bluetooth dongle is workable. Don't use your software. Switch Bluetooth on (if it's off) on the emulator and make discovery and pairing using the standard means. This must work! I saw it didn't and the only solution was to replace the Bluetooth dongle. There are a number of problems with FreeBT stack itself. It it works then you are ready to go.

Look at this thread https://groups.google.com/forum/?fromgroups=#!topic/bthmsdevemul/nHRsYI7sqAA
There a guy was able to initially setup its dongle but service discovery didn't work. Try to find the utility MsBtDiscovery I mentioned there.


Does this part work?

BR

On 04/11/2013 11:45 AM, Paul Coulson wrote:

Hi Dmitry,

 

These are the links I used to get things up and running (on Windows 7):

 

https://code.google.com/p/bthmsdevemul/wiki/readme

 

http://www.techspot.com/community/topics/how-to-install-use-unsigned-drivers-in-windows-vista-7-x64.127187/

 

And this is how I run the app:

 

·         run dseo13b.exe

·         update my dongle to FreeBT driver (now appears under ‘Universal Serial Bus controllers’ instead of ‘Bluetooth Radios’ in Device Manager)

·         Start the emulator with BthEmulManager.cetool

·         Select USA Windows Mobile 6.5 Standard Landscape QVGA Emulator (also tried Mobile 5.0 Pocket PC)

·         RemoteTools Framework Shell shows Bluetooth for Microsoft Device Emulator, displaying Address, Manufacturer (RTX Telecom A/S), HCI/LMP Version (see picture 2)

·         Start Visual Studio (VS 2008)

·         Set a break point after BT discovery

·         Debug->Start new instance

·         Select USA Windows Mobile 6.5 Standard Landscape QVGA Emulator (or Pocket PC)

·         Deploy

·         Start discovery on the mobile device

·         Stops at breakpoint with 0 devices found

 

The attachment (picture 3) shows information for the radio at the time of the breakpoint.

 

RTF Shell shows no comms activity during debug.

 

Thanks.

Dmitry Klionsky

unread,
Apr 11, 2013, 8:25:33 AM4/11/13
to Paul Coulson, bthmsd...@googlegroups.com
Hi Paul,

Great! It's good to know that my project is still in use today.
But be carefull and don't send too much data at once.
FreeBT driver doesn't like that.

BR

On 04/11/2013 02:33 PM, Paul Coulson wrote:

Hi Dmitry.

 

How stupid of me! I assumed BT would be switched on. All ok now. Thanks for such prompt help. J

Reply all
Reply to author
Forward
0 new messages