Re: CE4.2 Bluetooth crashes (data misalignement)

From: Dean Ramsier (ramsiernospam_at_nospam.com)
Date: 03/01/05


Date: Tue, 1 Mar 2005 12:51:33 -0500

I believe there was a QFE for 4.2 that fixed a data alignment issue in
Bluetooth. Can't say whether it was this one though, you might try applying
all QFEs and see what happens.

-- 
Dean Ramsier - eMVP
"Anthony Pellerin" <apellerin@adeneo.adetelgroup.com> wrote in message
news:OoKxSnnHFHA.4032@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I'm working with the WindowsCE 4.2 bluetooth protocol stack on an ARM
based
> board and I've just experimented a data abort when calling the
> BthGetBasebandConnections function (located in the btdrt.cxx private
file).
> After running the code step by step, I discovered that there was a data
> misalignement issue when trying to access the baAddress field of the first
> element in the structure filled through the
> BT_IOCTL_BthGetBasebandConnections. Actually, this field is word-aligned
and
> the processor expects it to be int-aligned (changing the address to an
> int-aligned avoid the crash).
>
> Has anyone ever experienced this kind of problem?
> If this happen here, I think that this can happen elsewhere in the stack.
> Any idea on how to avoid this?
>
> Thanks a lot
>
> ----------------------------------------------------------------
> Anthony Pellerin
> ADENEO (ADESET)
> Windows Embedded Consultant
> apellerin AT adeneo DOT adetelgroup DOT com>
> http://www.adeneo.adetelgroup.com
> Tél  : +33 (0)4.72.18.57.77
> Fax : +33 (0)4.72.18.57.78
> ----------------------------------------------------------------
>
>
>
>


Relevant Pages

  • Re: Bluetooth ftp profile failure?!!
    ... <apellerin AT adeneo DOT adetelgroup DOT com> ... I had solved this problem that with bluetooth registry settings. ... And I mean SPP UI is "Serial Port Profile" Graphic User Interface ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Bluetooth ftp profile failure?!!
    ... <apellerin AT adeneo DOT adetelgroup DOT com> ... And I mean SPP UI is "Serial Port Profile" Graphic User Interface ... Because I need a bluetooth GDI application to implement virtual com port. ... server, but it not enough (you have to declare it to the SDP ...
    (microsoft.public.windowsce.platbuilder)
  • Re: SDP QUERY
    ... BthNsLookupServiceEnd functions. ... <apellerin AT adeneo DOT adetelgroup DOT com> ... I have discover all the device which provide bluetooth protocol using ... memset ); ...
    (microsoft.public.windowsce.embedded)
  • Re: Bluetooth ftp profile failure?!!
    ... An SPP UI? ... <apellerin AT adeneo DOT adetelgroup DOT com> ... Could you give me some sample code to implement the object push server ... I tried to add all of Bluetooth profile and Obex exchange ...
    (microsoft.public.windowsce.platbuilder)
  • Re: About WinCE5.0 Bluetooth Audio Driver(btscosnd.dll)
    ... Windows Embedded Manager ... ychammings AT adeneo DOT adetelgroup DOT com> ... PLANEX BT-01UD1 Bluetooth USB Adapter ... to open a .wav file, there will return a error value: ...
    (microsoft.public.windowsce.platbuilder)