Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User scoe's Avatar
    Join Date
    Dec 2006
    Posts
    14
    I am trying to setup a serial Bluetooth server for a E61 phone. I am using the S60 v3 SDK which requires additional security certificates. I have obtained the DevCert but I am running into "Unable to execute file for security reasons".


    RSocketServ SocketServ;
    SocketServ.Connect();
    _LIT(KRFCOMM, "RFCOMM"); // or RFCOMM as appropriate

    //Open a socket
    //
    //Open a socket for that protocol.

    RSocket ListeningSocket;
    //Security notification occurs here
    User::LeaveIfError(ListeningSocket.Open(SocketServ,KRFCOMM));

    RSocket is Capability: Dependent, and SocketServ has no Capability specified. This leaves the RFCOMM Description. I am assuming that I need to request for a certificate from NOKIA to access this, but I don't know what I need to request for. I assume it is network control. Does anyone have any suggestions.

    Thanks,

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Bluetooth requires LocalService capability (user grantable, thus no devcert is required just for this one).
    Search for any capability in the SDK Help, re-order the hits in alphabetical order, and open "Assigning capabilities". That page seems to be amongst the most useful ones, at least to me.

  3. #3
    Registered User scoe's Avatar
    Join Date
    Dec 2006
    Posts
    14
    thanks wizard_hu_,

    I finally figured out what my problem was. I had the local services signed in my devCert, but I hadn't specified them in the Capability section of my MMP file.

Similar Threads

  1. Bluetooth Security: What exactly is an untrusted device?
    By rahulmcs in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-12-02, 06:26
  2. bluetooth security (or lack there of)
    By entell in forum Bluetooth Technology
    Replies: 1
    Last Post: 2004-10-11, 03:13
  3. Security code issue for 6230
    By kababoom in forum General Development Questions
    Replies: 1
    Last Post: 2004-08-19, 05:39
  4. Bypass Bluetooth Security?
    By ayulo in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-05-31, 08:29
  5. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved