Re: SCO problems with my custom HCI controller
Re: SCO problems with my custom HCI controller
- Subject: Re: SCO problems with my custom HCI controller
- From: Eric Brown <email@hidden>
- Date: Mon, 22 Mar 2004 15:54:23 -0800
On Mar 22, 2004, at 3:39 PM, Alexander Traud wrote:
>
Since Apple Bluetooth software v1.5 SCO data traffic is supported which
>
enables the headset Bluetooth profile.
>
>
I upgraded my UART Transport HCI Controller
>
http://www.traud.de/bluetooth/
>
to work with SCO data too. Pairing a headset and using it as microphone
>
works great. But I have problems how to use the SendSCOData(..)
>
function and
>
how to use its callback function.
>
>
I had no detailed look into the IOMemoryBlock data which comes from
>
Apple's
>
Bluetooth software. It was a bit wired and seemed USB specific on the
>
first
>
view. Anyway I did no look very deep into this.
>
>
The problem is, I found no way to satisfy the Apple Bluetooth software
>
with
>
the callback structure. The same SCO packets are coming and coming in
>
an
>
endless loop and slow down the computer dramatically.
>
>
According to
>
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/
>
Bluetooth/
>
> It is possible, although certainly not trivial, to subclass the
>
> IOBluetoothHCIController object to provide vendor-specific
>
> functionality or to
>
> support Bluetooth over a transport other than USB. If you need to do
>
> this, you
>
> should contact Apple9s developer technical support [...] for
>
> assistance.
>
we are wrong here and should contact the Worldwide Developer Technical
>
Support group but we have no support incident and If possible we want
>
to
>
retain the public domain license.
>
>
>
Do we have to contact WWDTS?
>
>
>
BTW our UART HCI Controller should work now with every PC Card and PCI
>
device which uses a 16750 or better UART and its actual speed is not
>
higher
>
than 115200 bit/s. Two limitations of the current Apple16X50Serial v1.5
>
package which we could not workaround (yet).
>
The SendSCOData() function should work virtually identically to
SendACLData(). It takes an IOMemoryDescriptor and a SendDataContext.
When the send is complete, call SendSCOCompleted() with the
SendDataContext and a timestamp for when the data was actually sent
(for serial data, you'll probably just need to take a timestamp
yourself since you don't have an interrupt-level timestamping
facility).
- Eric
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.