×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    48

    capability dependent

    Hi,
    could anybode explain what this mean in general.Sorry I could not find a clear statement in this forum.
    1. am I wright that this is the backdoor for operators to individually protect their branded devices?
    2.Do I really need capability all files,tcb.. to make shure that all api's work reliable on every device in worst case? - just for understanding.

    thank you for your answer.

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

    Re: capability dependent

    When you face "Capability: dependent" in the SDK Help, it means that the required capability depends on the arguments you pass to the given method.
    For example general file access needs no capability. However if you want to have access to /sys, you need TCB capability, if you want to see the private folder of other applications you need AllFiles, etc.
    So capabilities do not represent backdoors for operators, but the depth of their documentation varies a lot even in the same SDK Help page.
    RSocket can be an example:
    Quote Originally Posted by 3rd MR SDK Help
    Open()
    Capability: NetworkServices Required for opening 'udp' sockets. Conditional on parameter value KProtocolInetUdp
    Capability: NetworkControl Required for opening 'icmp' sockets. Conditional on parameter value KProtocolInetIcmp
    Capability: NetworkControl Required for opening 'icmp6' sockets. Conditional on parameter value KProtocolInet6Icmp
    Capability: NetworkServices Required for opening 'tcp' sockets. Conditional on parameter value KProtocolInetTcp
    Capability: NetworkControl Required for opening 'ip' sockets. Conditional on parameter value KProtocolInetIp
    Capability: NetworkControl Required for opening 'ip6' sockets. Conditional on parameter value KProtocolInet6Ip
    IMPORT_C TInt Open(RSocketServ &aServer, TUint addrFamily, TUint sockType, TUint protocol);
    and
    Quote Originally Posted by a few lines later
    Open()
    Capability: Dependent on the type of connection so deferred to PRT.
    IMPORT_C TInt Open(RSocketServ &aServer, TUint addrFamily, TUint sockType, TUint protocol, RConnection &aConnection);
    and these two methods are next to each other on the - obviously - same page.

Similar Threads

  1. What S60 APIs in your view should require lower capability than currently?
    By mitts in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 44
    Last Post: 2009-07-13, 12:40
  2. Issues with Obex GET operation, while retrieving a capability object
    By Manivannan129 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-10-06, 05:41
  3. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  4. MultimediaDD Capability necessary For Playing amr file in 3rd Edtition
    By mateen_maldar in forum Symbian User Interface
    Replies: 27
    Last Post: 2007-02-28, 04:31
  5. What is Illegal Capability
    By Roose in forum Symbian C++
    Replies: 2
    Last Post: 2006-03-09, 15:07

Posting Permissions

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