Important Cookie Information

This website uses absolutely necessary cookies. If you consent to the use of convenience cookies, please click “Yes, I agree.” By clicking on “Privacy Settings.” you can change this setting at any time and withdraw your given consent. Icon down see more You can find detailled information in our Privacy Policy Icon forward-right
Icon up see less

Bosch Building Technologies

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    How to troubleshoot BVMS SDK or Cameo SDK based application

    Related Products:
    BVMS SDK, Cameo SDK, BVMS 

    Overview:

    Analyzing BVMS systems interaction with BVMS SDK based application is a challenging task. One needs to determine if the issue is based on wrong implementation of the BVMS SDK functionality, wrong programming practices, functionality and runtime behavior of BVMS system with SDK functionality or BVMS SDK issues.
    In order to troubleshoot BVMS SDK or Cameo SDK application support needs the following information and logging.

    Please prove the following information to support.

    1. Detailed description of the expected behavior of the SDK functionality.

    2. Detailed description of the actual behavior of the SDK functionality.

    3. SDK Components

    • What type is the standalone SDK application (based on ClientSDK, ServerSDK, or CameoSDK) and on which machine is it running?
    • Are there additionally client scripts, server scripts or workstation startup scripts?

    4. SDK Interactions

    • Do SDK components interact with remote Operator Clients?
    • Do SDK components interact with the Operator Client UI?
    • Do SDK components control devices?
    • Do SDK components link to 3rdParty devices or applications?

    5.Environment

    • Which shared resources are accessed by SDK actions? (Dome cameras, AMG, Operator Client UI)
    • Do SDK components interact with an unreliable environment? (Unstable network, offline devices, offline PCs, etc.)
    • Do SDK components properly handle offline situations? (offline devices, configuration changes, etc.) 

    Please provide source code and/or Log files

    The optimal approach is to provide both source code and logging for the problematic BVMS SDK application. If it is not possible to provide the code, we will start the troubleshooting process based only on the logging.

    1.Source Code

    Provide a little sample application that illustrates the BVMS SDK issue and list the reproduction steps.

    2.Logfiles

    Add log outputs to the SDK application functionality. The logs should illustrate which BVMS SDK functionality was called at which time. Provide the logs to support.

     

    List of Typical Mistakes that are often seen when troubleshooting BVMS / Cameo SDK based applications

    • Use of Thread. Sleep() in event handlers - Consequence: loss of events in customer SDK application.
    • Implementations that are not thread safe - Consequence: unexpected SDK application effects
    • Unintentional introduction of multithreading issues by using timers - Consequence: unexpected SDK application effects
    • Application without "speed control" - Consequence: operator overload in case of high event frequency
    • Lack of configuration change handling - Consequence: data inconsistencies in SDK application (access to no longer existing devices)
    • Lack of traces/logging in SDK code - Consequence: not detected malfunctions and troubleshooting difficulties
    • Lack of error tolerance in SDK code - Consequence: unhandled exceptions in SDK application / script
    • Lack of exception handling - Consequence: SDK application crashes

     

     

    Version history
    Revision #:
    2 of 2
    Last update:
    ‎03-29-2019 10:38 AM
    Updated by:
     
    Labels (2)
    Contributors
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist