Click here to go to the first RED TEAM post in this thread.   Thread: REDLINK SDK v6.32.7 Released

Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1.   This is the last RED TEAM post in this thread.   #11  
    Quote Originally Posted by Antony Newman View Post

    Question) What is the RCP intention when sending out a message like: #$WEAPON:D:MMMODE:0|-1|:
    I'm not sure what you mean when you say "what is the intention?". As you already know, "0|-1|" represents an empty list. I'm assuming on the camera you are connected to you do not have a Motion Mount installed - if you did, this list would not be empty.

    Quote Originally Posted by Antony Newman View Post
    +) If my understanding is correct -> this results in "display string needs to be retrieved from this list rather than current message"
    That is correct, the field 'display_str_in_list' means that the display string for the given parameter should be retrieved from the list and not the normal "current" message.

    Quote Originally Posted by Antony Newman View Post
    +) Should 'display_str_in_list' be false, or the comment amended.
    No, I don't think so. For this parameter you SHOULD get the display string from the list, it just so happens that there are no list entries (since the Motion Mount is not installed).

    Quote Originally Posted by Antony Newman View Post
    +) When an RCP List Parameter is send with No List .... is there a purpose to the message?
    This might be a matter of semantics, but the message WAS sent with a list, just an empty list. If the question is what should your application do in response to this message I would suggest to either display an empty string or something like "N/A" to the user.

    There is a bug in the API that will be fixed in a soon to be released version where RCP_PARAM_MM_MODE (MM_MODE) was not returning 0 when 'rcp_get_is_supported' is called if no Motion Mount was installed. In the corrected API code, this discussion would be pointless, as your code should ignore any parameters that are not supported for the connect camera.
    Reply With Quote  

  2. #12  
    Senior Member Antony Newman's Avatar
    Join Date
    Mar 2012
    London, UK.
    Thankyou for the comprehensive response Trent.

    As you suggest, I don't have have a motion mount.

    I believe I now have apreciation that an Empty list = Parameter not available.

    Reply With Quote  

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