Developer Portal Community

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

    Fault connecting XDK110 to Bosch IoT Suite

    Mahalingam
    Occasional Contributor

    Re: Fault connecting XDK110 to Bosch IoT Suite

    Hello rafal

    Did you change sntp serverurl in config.json file?

    Did you get any SNTP Error?

    Could you please share complete console log?

    Does the wireless wifi network you are using has good Internet connectivity?

    rafal
    New Poster

    Re: Fault connecting XDK110 to Bosch IoT Suite

    - Yes I changed two various SNTP url.

    - No, SNTP msg looks good:
    INFO | XDK DEVICE 1: SntpSentCallback : Success
    INFO | XDK DEVICE 1: SntpTimeCallback : received

    - Internet Connectivity its good. I tried three various Netowrks (2- Fiber , 1-LTE)

    Console Msg:

    INFO | XDK DEVICE 1: Preparing for Personal WPA2 connection
    INFO | XDK DEVICE 1: This is a CC3100R device
    INFO | XDK DEVICE 1: CHIP 0x4000000
    INFO | XDK DEVICE 1: MAC 31.1.2.0.2
    INFO | XDK DEVICE 1: PHY 1.0.3.23
    INFO | XDK DEVICE 1: NWP 2.2.0.1
    INFO | XDK DEVICE 1: ROM 0x3333
    INFO | XDK DEVICE 1: HOST 1.0.1.11
    INFO | XDK DEVICE 1: Successfully set IP using DHCP
    INFO | XDK DEVICE 1: Trying to connect with WiFi network...
    INFO | XDK DEVICE 1: Successfully removed obsolete profiles
    INFO | XDK DEVICE 1: Added new WLAN profile
    INFO | XDK DEVICE 1: Successfully reset obsolete connection policy
    INFO | XDK DEVICE 1: Successfully set new connection policy
    INFO | XDK DEVICE 1: Started collecting WLAN Rx Statistic
    INFO | XDK DEVICE 1: IP address of device 192.168.1.213
    INFO | XDK DEVICE 1: Mask 255.255.255.0
    INFO | XDK DEVICE 1: Gateway 192.168.1.1
    INFO | XDK DEVICE 1: DNS 192.168.1.1
    INFO | XDK DEVICE 1: Connected to WPA network successfully
    INFO | XDK DEVICE 1: cert. version : 3
    INFO | XDK DEVICE 1: serial number : 44:AF:B0:80:D6:A3:27:BA:89:30:39:86:2E:F8:40:6B
    INFO | XDK DEVICE 1: issuer name : O=Digital Signature Trust Co., CN=DST Root CA X3
    INFO | XDK DEVICE 1: subject name : O=Digital Signature Trust Co., CN=DST Root CA X3
    INFO | XDK DEVICE 1: issued on : 2000-09-30 21:12:19
    INFO | XDK DEVICE 1: expires on : 2021-09-30 14:01:15
    INFO | XDK DEVICE 1: signed using : RSA with SHA1
    INFO | XDK DEVICE 1: RSA key size : 2048 bits
    INFO | XDK DEVICE 1: basic constraints : CA=true
    INFO | XDK DEVICE 1: key usage : Key Cert Sign, CRL Sign
    INFO | XDK DEVICE 1: crt content:444 . Setting up the SSL/TLS structure... ok success
    INFO | XDK DEVICE 1: ! mbedtls_x509_crt_parse Succeeded
    INFO | XDK DEVICE 1: SntpSentCallback : Success
    INFO | XDK DEVICE 1: SntpTimeCallback : received
    INFO | XDK DEVICE 1: Connecting to Mqtt broker...
    INFO | XDK DEVICE 1: MqttEventHandler : Event - 2
    INFO | XDK DEVICE 1: MqttEventHandler : Event - 4
    INFO | XDK DEVICE 1: Error in XDK110 Application package.
    INFO | XDK DEVICE 1: Package ID: 153
    INFO | XDK DEVICE 1: Module ID: 49
    INFO | XDK DEVICE 1: Severity code: 2
    INFO | XDK DEVICE 1: Error code: 12
    INFO | XDK DEVICE 1: Error in XDK110 Application package.
    INFO | XDK DEVICE 1: Package ID: 153
    INFO | XDK DEVICE 1: Module ID: 49
    INFO | XDK DEVICE 1: Severity code: 2
    INFO | XDK DEVICE 1: Error code: 137

    Mahalingam
    Occasional Contributor

    Re: Fault connecting XDK110 to Bosch IoT Suite

    Hello rafal

    Please make sure whether Provisioning.json is changed to Provisioning.bkp in sdcard.

    If Provisioning.json file not changed to Provisioning.bkp in sdcard, then XDK will not connect to Bosch IoT Suite.

     

    rafal
    New Poster

    Re: Fault connecting XDK110 to Bosch IoT Suite

    Provisioning and config files have changed their extensions to .bpk
    Mahalingam
    Occasional Contributor

    Re: Fault connecting XDK110 to Bosch IoT Suite

    Hello rafal

    Please make sure whether authId, Tenant Id and Device ID in provisioning.json and Bosch IoT Suite Things Dashboard are same.

    Check whether certificate are stored in "SDK/xdk110/Common/certs/IoTHub/SERVER_CA.h" location and also make sure Server_CA has some value.

    Check whether XDK_APP_CERTIFICATE_NAME is "IoTHub" in Makefile

    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