Android L is for Lockdown

Root is, without a doubt, the (un)holy grail of the Android world. Those wonderful permissions that allow you as … more

XDA Xposed Tuesday: XHangouts Will Improve Your Hangouts

Ever since Google started supporting text messaging in Hangouts many people have … more

Shattered Screen? Turn Your Broken Device into a Complete Media Center!

A cracked screen usually means you’ll have to spend a hefty … more

Gmail 5.0: Material Design and Multiple Account Support

Google started to materialize many of its applications right after announcing the … more
Post Reply

Widcomm stack for Hermes development thread

OP adisor19

6th December 2006, 12:51 AM   |  #1  
adisor19's Avatar
OP Junior Member
Thanks Meter: 0
 
29 posts
Join Date:Joined: Oct 2006
More
Hellow all, as noticed in the thread

http://forum.xda-developers.com/showthread.php?t=284329

we have pledged to ghather some 500$ and give it to some developer/hacker that is willing to port for us the latest version of the Widcomm stack for the Hermes. The reason for this is basically that the MS one simply has way too many bugs and lacks a lot of functionality.

I have contacted mikelspikel from aximsite and he agreed to try and help us. This will be the thread where we will discuss the porting efforts.

I will begin by posting mikelspikel's message :

"Hi!

I'd be delighted if I could help you but it's very difficult without having a device to test. I can give you some guidelines for you to test. You'll need a registry editor such as Resco Explorer registry add-in.

The package we built is completely oriented to the X50 / X51, but maybe it can be adapted to work with other devices easily, so I'd start installing our package. But be careful! Do it only if you don't mind having to hard-reset your device! You'll probaly need to.

The first thing we must make work is the communication between the main processor and the BT chip. This is done through a serial port. In the Axim, this port in COM5 and it's referenced in the registry in [HKLM\Drivers\BuitIn\BTUart]. This driver can be different in other devices, but usually it isn't difficult to figure it out from a [HKLM\Drivers\BuitIn\] branch registry dump (you can send me a dump of this branch if you want me to have it a look). Once we have the correct COM port, we have to modify [HKLM\Software\Widcomm\BTConfig\SerialTransport]. In Axim, as the BT port is COM5, we have to set Device=COM and Port=5.

The BT chip of our device defaults to a baudrate of 115200 bps, so we set BaudRate=115200. With ShiftSpeed and ShiftCommand we increase the port speed after connecting at 115200. In order to test safely in your device, i'd delete or rename these two keys and i'd keep BaudRate at 115200.

These two settings (COM port and BaudRate) are the two that use to make the stack startup fail with the out of memory message.

Other keys key I'd change at the beginning of the test process are, in [HKLM\Software\Widcomm\BTConfig\General], I'd delete or rename RadioInitLibrary and RadioInitPostLoadScript.

It's important to know that there's a log where we can find sometimes useful information about what's going on. This log is located in registry too, in [HKLM\Software\Widcomm\BTConfig\Debug\Log].

I think this is enough to start the tests. Let me know your results or any question you have. I'll try to do my best to help you. You can use my email if you prefer (*******@gmail.com).

Greetings,

Mikel"

I edited the e-mail as i rahter we post all our findings in this thread in order to avoid spamming him

So whoever feels brave enough to do some testing, go right ahead. I'm unfortunetly still busy these days but i'll be dropping by from time to time to hopfully post my findings.

Once again a BIG BIG thank you to mikelspikel for helping us and let the testing BEGIN!

Adi
Last edited by adisor19; 6th December 2006 at 12:54 AM.
6th December 2006, 02:23 AM   |  #2  
Senior Member
Thanks Meter: 93
 
184 posts
Join Date:Joined: Feb 2005
Donate to Me
I'm making some pretty good progress here.
I have the existing stack disabled and the widcomm stack enabled and discovery works fine.

I have the following profiles tested so far.

A2DP - works very good, much better then the ms stack.
Active Sync - works good.
File Transfer- works good.
Serial - works good.

These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.

,Dave
6th December 2006, 02:31 AM   |  #3  
adisor19's Avatar
OP Junior Member
Thanks Meter: 0
 
29 posts
Join Date:Joined: Oct 2006
More
Quote:
Originally Posted by superdave

I'm making some pretty good progress here.
I have the existing stack disabled and the widcomm stack enabled and discovery works fine.

I have the following profiles tested so far.

A2DP - works very good, much better then the ms stack.
Active Sync - works good.
File Transfer- works good.
Serial - works good.

These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.

,Dave

Cool, what version of the stack are you testing ?

Also, you can download the Widcomm for Win CE (aka mobile) SDK and tools at http://www.broadcom.com/products/bluetooth_sdk.php for free.(registration required)

Adi
6th December 2006, 05:36 AM   |  #4  
jasjamming's Avatar
Senior Member
Flag In the Basement
Thanks Meter: 1
 
1,246 posts
Join Date:Joined: Nov 2006
Let the hacking begin...... mwuahahahahahahahahahahahaaaa.

Ok, im getting ahead of myself now but this is good news thus far.
6th December 2006, 06:05 AM   |  #5  
Senior Member
Thanks Meter: 93
 
184 posts
Join Date:Joined: Feb 2005
Donate to Me
I am using 1.7, the same as the axim version.

,Dave
6th December 2006, 06:16 AM   |  #6  
Arktronic's Avatar
Retired Recognized Developer
Thanks Meter: 55
 
810 posts
Join Date:Joined: Dec 2006
Donate to Me
Quote:
Originally Posted by jasjamming

this is good news thus far.

Good? I'd say it's great! And I don't even have a TyTN yet.
6th December 2006, 09:24 AM   |  #7  
Member
Thanks Meter: 0
 
67 posts
Join Date:Joined: Apr 2005
Quote:
Originally Posted by superdave

I'm making some pretty good progress here.
I have the existing stack disabled and the widcomm stack enabled and discovery works fine.

I have the following profiles tested so far.

A2DP - works very good, much better then the ms stack.
Active Sync - works good.
File Transfer- works good.
Serial - works good.

These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.

,Dave

Is it possible to enable and disable Wdcomm bluetooth from commManager?
And it supports PAN profile, doesn't it?
6th December 2006, 11:37 AM   |  #8  
Senior Member
Flag Antwerpen
Thanks Meter: 15
 
163 posts
Join Date:Joined: Aug 2006
More
great, looking forward in the progress of this hack.
6th December 2006, 12:50 PM   |  #9  
mikelspikel's Avatar
Junior Member
Thanks Meter: 40
 
21 posts
Join Date:Joined: Nov 2006
Hi!

Glad of the progress so far! Superdave, are you interested in sharing your settings/progress?

In the Axim, one of the most difficult tasks was making HFP and HSP work. They need some vendor specific HCI commands to be sent to the BT chip (Texas Instruments BRF6150 in the Axim). Does anybody know which is the BT chip in the Hermes? Maybe we can get some info about HSP/HFP from the documentation of that chip.

BTW, Dave, have you tested BT and WiFi toghether? Does it work? That was another problem we found in the Axim. It requires some vendor specific commands too.
6th December 2006, 03:20 PM   |  #10  
Sleuth255's Avatar
Retired Senior Moderator
Flag Milwaukee
Thanks Meter: 39
 
3,543 posts
Join Date:Joined: Mar 2006
More
The Hermes uses the same BRF6150 chip.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes