BT problem

2220

Member
Licensed User
I have a problem with an HTC HD2 ROM 1.64 with BT connection in my B4PPC app.

I had no problems with V. 6.1 and 6.5 devices but this time when I try to open a BT connection it raises an error 'Error getting Bluetooth mode'.

The BT device is a BT serial device that controls Chemical analizers processes.

I don't know what to do.

Thanks in advance.
 

sitajony

Active Member
Licensed User
This come from your device... The BT Mode on your HD2 it's not know... Have you a problem with an other app who use the BT?
 

2220

Member
Licensed User
Anybody with HTC HD2?

Could you check if it works fine?


Hardware.new1
Hardware.BluetoothMode = 1

I get an error.

If it's ok, let me know the radio ver. and the ROM version.

Thank you.
 

stratus

Active Member
Licensed User
Longtime User
Anybody with HTC HD2?

Could you check if it works fine?


Hardware.new1
Hardware.BluetoothMode = 1

I get an error.

If it's ok, let me know the radio ver. and the ROM version.

Thank you.
I will try it to my hd2 tomorrow my friend.
 

chanppc

Member
Licensed User
I realized now, it's not a new problem, those phone are using Widcomm stack, so need to find a way to call different stack...
 

2220

Member
Licensed User
I have no idea how to do it and it's a pitty.


I've found a open source library 32feet.net compatible with the Compact Net but I don't know to make a wrapper o call directly from B4PPC.

Regards,
 
Last edited:

sitajony

Active Member
Licensed User
For make a library you need a compilator (Visual Studio etc...) with the SDK SmartDevice/PPC and that all ;) Be sure that the functions are in public and not private otherwise the functions will be not show in Basic4PPC...
Maybe I can do it ;) Can I have the web adress? Sorry I had not see correctly your replie... I saw and we've to install all their Sources... It's weird that on HD2 there's this error... My brother have it I'll test If I try to build a Library for BT...
 
Last edited:

hawkeyetim

Member
Licensed User
Longtime User
I think 32feet only support the microsoft bluetooth stack not our widcomm stack. Dam.:(
32feet.NET - In The Hand

The only way around the issue i think is to install the ms stack on the hd2 which is been looked into on the xda developers forum.
 
Top