locked
inthehand.dll for mobile device || bluetooth for w mobile. RRS feed

  • Question

  • gud day,

    i'm into developing a simple application for mobile device that uses the bluetooth function. i'm using inthehand dll for the bluetooth but i do have problems with deploying it. knowing that my code is working this is my code:

    BluetoothRadio.PrimaryRadio.Mode = RadioMode.Discoverable;

    the error was NullReferenceException was Unhandled.

    any ideas and suggestions would be much appreciated.

    Sunday, June 7, 2009 10:49 AM

Answers

All replies

  • Hi Jihmantiquilla

    Please ref. the link below :

    http://www.codeproject.com/KB/mobile/Bluetooth_connection_C_.aspx 

    Hope this will help you.


    Thanks Mohsin S.
    • Proposed as answer by Mohsin S Monday, June 8, 2009 7:47 AM
    • Marked as answer by jihmantiquilla Monday, June 8, 2009 11:44 AM
    Monday, June 8, 2009 7:44 AM
  • Hi,


    I think your device dont have bluetooth.

    if (!BluetoothRadio.IsSupported)
                {
                    txtMessage.Text = "No Bluetooth Adapter found!!!";
                }
                else
                {
                    if (BluetoothRadio.PrimaryRadio.Mode == RadioMode.PowerOff)
                        BluetoothRadio.PrimaryRadio.Mode = RadioMode.Discoverable;
    }
    

    Please check with the above code.

    Regards,
    Malleswar
    Monday, June 8, 2009 9:18 AM
  • Hi all,

    I ried the above code and I found that my dongle is not supported. It is probably due to the fact that the Belkin dongle used the Broadcom BT stack. I have tried to find a version of InTheHand that works with Widcomm/Broadcom, so far nothing seems to work.

    How can I configure my dongle under the MS stack?

    can you help me?

    Regards
    Wednesday, September 9, 2009 9:37 AM
  • there is a support on widcomm.. check out the inthehand 2.4 release http://32feet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28849#ReleaseFiles.

    hope this helps
    • Marked as answer by jihmantiquilla Wednesday, September 9, 2009 11:55 PM
    Wednesday, September 9, 2009 11:55 PM