New bluetooth question---to Greg Scott [MS]

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: hxiaow (hxiaow_at_discussions.microsoft.com)
Date: 06/15/04


Date: Mon, 14 Jun 2004 20:14:01 -0700

Hi!

Since bluetooth isn't supported on the Emulator, which method to devolep my project??

Why bluetooth can't be supported on the Emulator??
(The following tests are all on the Emulator.)

1,Com1,com2 do work order. I mean they can receive and transfer data . I have checked them.

2,In the remote register edit , I found under "software/microsoft/bluetooth/hci" there are informations of the bth port (is it hci-uart driver)-----"com2","115200","bthuart.dll" etc. Can these informations mean that I have successfully define the com2 for bluetooth ?

3,When I download the image to Emulator,there is the log:
-------------------

4294809956 PID:e3fa3af2 TID:23d54952 [ERR]
4294809956 PID:e3fa3af2 TID:23d54952 Error reading COM port: GetLastError = 0x00000006 (6)
//06:句柄无效。
4294809976 PID:e3fa3af2 TID:23d54952 [ERR]
4294809976 PID:e3fa3af2 TID:23d54952 [HCIUNIV] HCI_ReadPacket failed.
//HCI_ReadPacket failed:If this function returns FALSE, the stack interface to hardware will //immediately be brought down by calling HCI_CloseConnection.
4294810106 PID:e3fa3af2 TID:c3d77dda 0x83d73800: <<< Unloading module bthuart.dll at address 0x03550000-0x03556000 (RW data at 0x01F32000-0x01F320B8)
Unloaded symbols for 'E:\WINCE420\PUBLIC\TTY\RELDIR\EMULATOR_X86DEBUG\BTHUART.DLL'
4294810176 PID:e3fa3af2 TID:c3d77dda [ERR]
4294810176 PID:e3fa3af2 TID:c3d77dda hci_connect_transport:: ERROR_OUTOFMEMORY (2)

---------------------------
4,when I double-kick the bt manager in control pannel,and there is the error info
---------------------------------------
4294941806 PID:c3e4913a TID:e3d1859a 0x83f019a8: DlgMgr: FindDlgItem id 1 returning NULL.
4294942416 PID:83fa431a TID:43ca013a [ERR]
//pid:device.exe;
4294942426 PID:83fa431a TID:43ca013a Shell: call find failed!
4294942426 PID:83fa431a TID:43ca013a [ERR]
4294942436 PID:83fa431a TID:43ca013a bt_custom_code_in returns ERROR_SERVICE_NOT_ACTIVE
4294942436 PID:83fa431a TID:43ca013a [ERR]
4294942446 PID:83fa431a TID:43ca013a BthNsLookupServiceBegin: BthPerformInquiry returns 0x00000426
//A return value of ERROR_SERVICE_NOT_ACTIVE indicates that the hardware is not inserted or that the //Bluetooth stack is not present.
//0x00000426:服务未启动。
4294942606 PID:c3e4913a TID:e3d1859a 0x83f019a8: DlgMgr: FindDlgItem id 1 returning NULL.
4294942796 PID:c3e4913a TID:43ca013a 0x83d7e000: DlgMgr: FindDlgItem id 1 returning NULL.

------------------

At last, Can bluetooth be supported on the CEPC? Or it's only be supported on the target platform (px255 cpu) ??

Thanks a lot! :-)



Relevant Pages

  • COM Ports on Emulator vs. Active Sync
    ... wrote a simulator that can communicate with our application running on ... When we eventually use Bluetooth for the communication, ... our application can run on the emulator and is working ... Is it possible to set properties in ActiveSync to ...
    (microsoft.public.windowsce.app.development)
  • Re: Bluetooth chat example
    ... physical hardware. ... > so for bluetooth development, the only way to debug is to use the real ... >> emulator does not support bluetooth. ... >>> Can I run the example between my development PC and PPC emulator? ...
    (microsoft.public.pocketpc.developer)
  • Re: Bluetooth
    ... and in Device Manager under Bluetooth there are 2 drivers loaded, ... Truemobile 355 and MS Emulator. ... This is my first Vista OS comp and I seem to recall that under XP there were ...
    (alt.sys.pc-clone.dell)
  • Re: bluetooth on emulator
    ... You can map a serial port on the host PC to a COM port on the Emulator, ... you can't emulate Bluetooth, you'll need a real device with a Bluetooth ... trying to build a link b/w 2 emulators working on two separate laptops ... having serial port bluetooth connection... ...
    (microsoft.public.dotnet.framework.compactframework)