×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Switch on/of BlueTooth programatically

    Hi,

    I'm trying to switch the BlueTooth on with Bluetooth Engine API

    But after calling SetPowerState(ETrue) on the CBTMCMSettings instance the application just wait about a minute and then aborts.

    • SDK: S60_3rd_FP1
    • Compiler: GCCE
    • Plugin: Bluetooth Engine API from S60_3rd_Ed_SDK_FP1_API_Plug-In_Pack_v2_5.zip
    • Phones: N95, N95 8GB
    • Capabilities: NetworkServices ReadUserData WriteUserData LocalServices


    It must be an easy task since there play roles only CBTMCMSettings and its observer but bteng.lib is shipped only in armv version and I'm not able to debug on the device. There is an example project but I do not see any special magic different from my implementation. I can not install/use the example application because it has WriteDeviceData capability.

    Thank you.
    Last edited by elviin; 2008-10-31 at 15:21.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Switch on/of BlueTooth programatically

    It may easily happen that WriteDeviceData makes the difference. Try with Open Signed Online.

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Re: Switch on/of BlueTooth programatically

    Quote Originally Posted by wizard_hu_ View Post
    It may easily happen that WriteDeviceData makes the difference. Try with Open Signed Online.

    Thanks I did not noticed that "//For Set api's" comment: . Is there any way how to get the capability for a specific api/function call just with help of the source code?
    Last edited by elviin; 2008-11-03 at 07:04.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Switch on/of BlueTooth programatically

    I have not checked Capability Scanner so far, but you can check the training video: http://wiki.forum.nokia.com/index.ph...raining_Videos

Similar Threads

  1. Replies: 15
    Last Post: 2008-12-21, 20:08
  2. Switch ON Bluetooth automatically
    By ybla82 in forum Bluetooth Technology
    Replies: 6
    Last Post: 2007-05-11, 08:45
  3. Unable to switch on Bluetooth Enhancement NOKIA BH700
    By bharat_gr8 in forum General Development Questions
    Replies: 1
    Last Post: 2007-03-09, 16:42
  4. Canyon Bluetooth adapter not working with PC Suite?
    By sNNooPY in forum Bluetooth Technology
    Replies: 6
    Last Post: 2006-08-10, 08:43
  5. Replies: 0
    Last Post: 2003-06-20, 23:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×