Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    Error Messages at XDK

    Error Messages at XDK

    Hi,

    I have already read some posts regarding XDK error messages. It is described that the error IDs can be found in XdkCommonInfo.h. I also looked at them. 

    However,  I cannot figure out the enumeration of the IDs. In one post for example the code 114 is Retcode_MQTT_Connect_failed and 119 is Rectoce_MQTT_Connect_Status_Error. When I count through them the Status_Error would be at possition 120. The enumeration is not clear to me. Also the starting number at the beginning. 

    This leads to the problem, that other error numbers I get don't make sense if I just count through the error code lines.

    How can I match the numbers to the error codes. How is the enumeration made? Can I print out the names of the error codes  directly? 

    Thanks, Verena

    2 REPLIES 2
    Mahalingam
    Occasional Contributor

    Re: Error Messages at XDK

    Hello,

    If any Error occurs in the Application, It can be identified in 2 ways,

    1. LED Indication - When there is any error, all the 3 LEDS in XDK will glow

    2. Error Message will be Posted in XDK Workbench Console

    Example of Error message:

    INFO | XDK DEVICE 1: Error in XDK110 Application package.
    INFO | XDK DEVICE 1: Package ID: 153
    INFO | XDK DEVICE 1: Module ID: 53
    INFO | XDK DEVICE 1: Severity code: 2
    INFO | XDK DEVICE 1: Error code: 12

     

    Where,

    Package ID - Refers to which Package this Error has Occured. In this case, Package ID is 153. It is from XDK110 Application.

    Module ID - Refers to from which Module this Error has been Raised. In this case Module ID is 53. It is from XDK_COMMON_ID_WLAN (i.e., WLAN Module)

    Note: All the Module ID will be listed in "XdkCommonInfo.h" file. You can find enum named "XDK_Common_ModuleID_E", Under that enum there will be list of Module ID available. For Example, If you want to find  Module ID of any Module, You can place your Mouse pointer on any module. It will display the ID no.

     

    image.png

    Similarly Severity code and Error Code list will be available in "BCDS_Retcode.h" file.

    You can find enum named "Retcode_General_E", Under that enum there will be list of Error code available.

    You can find enum named "Retcode_Severity_E", Under that enum there will be list of Severity code available.

    Similarly you can place mouse pointer on any Error or Severity code, it will display the no. So that you find which kind of error and what kind of severity the Error is(i.e., Whether it is warning or fatal error,etc)

    I hope this answer your question.

    If this answers your query, Please accept it as solution or else you if you need more information, you can comment here.

    Re: Error Messages at XDK

    Thanks that helped a lot.

    Verena

    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