Developer Portal Community

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

    BoschXDKCloudConnectivity - Cannot publish sensor data to the Cloud

    Highlighted
    Member

    BoschXDKCloudConnectivity - Cannot publish sensor data to the Cloud

    Hello,

    Since a couple of days,  I can't see my sensor data in the cloud.
    The device is showing no errors (the build was successful, Orange LED is on and Yellow is blinking) and the flash seems to be fine.

    But I cannot view my data on the cloud - 'My Things'.

    Could you please help me resolve this issue?

    INFO | Connecting to XDK device 'XDK Device 1' in port 'COM14'...
    INFO | Connection to port 'COM14' established
    INFO | Creating Firmware Over the Air (FOTA) Container
    INFO | Binary File: C:\Users\chand\XDK-Workspace\BoschXDKCloudConnectivity\debug\BoschXDKCloudConnectivity.bin
    INFO | Header Version: 0100
    INFO | Product Class: 0010
    INFO | Product Variant: 0000
    INFO | Firmware Version: 00000000
    INFO | Creating Firmware Over the Air (FOTA) Container
    INFO | Binary File: C:\Users\chand\XDK-Workspace\BoschXDKCloudConnectivity\debug\BoschXDKCloudConnectivity.bin
    INFO | Header Version: 0100
    INFO | Product Class: 0010
    INFO | Product Variant: 0000
    INFO | Firmware Version: 00000000
    INFO | Flashing file 'C:/Users/chand/XDK-Workspace/BoschXDKCloudConnectivity/debug/BoschXDKCloudConnectivity.bin'...
    INFO | XDK DEVICE 1: Ready
    INFO | XDK DEVICE 1: C
    INFO | XDK DEVICE 1: 
    INFO | XDK DEVICE 1: XMODEM Download Success
    INFO | XDK DEVICE 1: c
    INFO | XDK DEVICE 1: CRC of application area
    INFO | XDK DEVICE 1: CRC00004D94
    INFO | Application checksum '4d94' successfully verified.
    INFO | Transmission successfully completed!
    INFO | Booting application...
    INFO | XDK DEVICE 1: Performing application CRC validation (this will take a couple of seconds)
    INFO | XDK DEVICE 1: Jumping to application
    INFO | Port 'COM14' has been disconnected
    INFO | Connecting to XDK device 'XDK Device 1' in port 'COM14'...
    INFO | Connection to port 'COM14' established
    INFO | XDK DEVICE 1: Firmware Version : v3.6.0-0.0.0
    INFO | XDK DEVICE 1: Application Configuration:
    INFO | XDK DEVICE 1: [ SSID] = [OnePlus6T]
    INFO | XDK DEVICE 1: [ STATIC] * [NO] (DEFAULT)
    INFO | XDK DEVICE 1: [ STATICIP] * [] (DEFAULT)
    INFO | XDK DEVICE 1: [ DNSSERVER] * [] (DEFAULT)
    INFO | XDK DEVICE 1: [ GATEWAY] * [] (DEFAULT)
    INFO | XDK DEVICE 1: [ MASK] * [] (DEFAULT)
    INFO | XDK DEVICE 1: [ LWM2MDEFSRV] = [coaps://lwm2m.eu-1.bosch-iot-suite.com:5684]
    INFO | XDK DEVICE 1: [ LWM2MENDPOINT] = [229573156265943]
    INFO | XDK DEVICE 1: [ DTLSPSKIDENTITY] = [bosch.xdk\229573156265943]
    INFO | XDK DEVICE 1: [ DTLSPSKSECRETKEY] = [DCHCPLJLHRTITVEG]
    INFO | XDK DEVICE 1: [DTLSPSKSECRETKEYHEX] * [] (DEFAULT)
    INFO | XDK DEVICE 1: [ TESTMODE] * [MIX] (DEFAULT)
    INFO | XDK DEVICE 1: [ LWM2MLIFETIME] * [240] (DEFAULT)
    INFO | XDK DEVICE 1: [ LWM2MBINDING] * [U] (DEFAULT)
    INFO | XDK DEVICE 1: [ LWM2MCONNOTIFIES] * [NO] (DEFAULT)
    INFO | XDK DEVICE 1: [ ACTIVATEDTLSPSK] is deprecated and should be removed
    INFO | XDK DEVICE 1: Missing STATICIP !!!
    INFO | XDK DEVICE 1: Missing GATEWAY !!!
    INFO | XDK DEVICE 1: Missing DNSSERVER !!!
    INFO | XDK DEVICE 1: Missing MASK !!!
    INFO | XDK DEVICE 1: WLAN_Enable : 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: Connected to WPA network successfully
    INFO | XDK DEVICE 1: IP address of device 192.168.43.129
    INFO | XDK DEVICE 1: Mask 255.255.255.0
    INFO | XDK DEVICE 1: Gateway 192.168.43.93
    INFO | XDK DEVICE 1: DNS 192.168.43.93
    INFO | XDK DEVICE 1: WLANPersonalWPA2Connect : Connected to WPA network successfully.
    INFO | XDK DEVICE 1: srand(6100)
    INFO | XDK DEVICE 1: FOTA_EVENT_PARTITION_AGENT_INIT_OK
    INFO | XDK DEVICE 1: LWM2M_Enable : with DTLS (PSK)
    INFO | XDK DEVICE 1: SntpSentCallback : Success
    INFO | XDK DEVICE 1: SntpTimeCallback : received
    INFO | XDK DEVICE 1: LWM2M server resolved: coaps://52.29.220.52:5684
    INFO | XDK DEVICE 1: WLAN: connect status: --- online ---
    INFO | XDK DEVICE 1: Try refresh registration ENABLED (15 sec)
    INFO | XDK DEVICE 1: ==> registration retry
    INFO | XDK DEVICE 1: . Setting up the SSL/TLS structure...==> Waiting for successful registration 1!
    INFO | XDK DEVICE 1: Registration in 1 [s]
    INFO | XDK DEVICE 1: Registration succeeded
    INFO | XDK DEVICE 1: FOTA state machine run was successful
    INFO | XDK DEVICE 1: AppLWM2MStatusNotificationCB : Registration succeeded
    INFO | XDK DEVICE 1: REGISTERED (since 20 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 22 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 40 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 42 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 60 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 62 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 80 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 82 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 100 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 102 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 120 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 122 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 140 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 142 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 160 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 162 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 180 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 182 sec)
    INFO | XDK DEVICE 1: Try refresh registration REGISTERED (192 sec)
    INFO | XDK DEVICE 1: ==> registration update
    INFO | XDK DEVICE 1: ==> Waiting for successful registration 2!
    INFO | XDK DEVICE 1: Registration in 0 [s]
    INFO | XDK DEVICE 1: Registration update succeeded
    INFO | XDK DEVICE 1: AppLWM2MStatusNotificationCB : Registration update succeeded
    INFO | XDK DEVICE 1: REGISTERED (since 20 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 214 sec)
    INFO | XDK DEVICE 1: REGISTERED (since 40 sec, lifetime 240 sec)
    INFO | XDK DEVICE 1: DNS RESOLVED (since 234 sec)

    11 REPLIES 11
    Highlighted
    Senior Member

    Re: BoschXDKCloudConnectivity - Cannot publish sensor data to the Cloud

    Hi Chandan,

    BoschCloudConnectivity template application uses LWM2M protocol in backend to communicate with Bosch IOT suite.

    IOT suite going to stop LWM2M supported communication and  going to use MQTT.- I am not sure IOT suite already stopped supporting LWM2M, in this case BoschCloudConnectivity will not communicate with IOT suite things network.

    So, BoschCloudConnectivity  template application also will be migrated from lwm2m to mqtt. This development activity will be started soon and will be available in workbench in future release.

    Thank You 🙂

    Highlighted
    Senior Member

    Re: BoschXDKCloudConnectivity - Cannot publish sensor data to the Cloud

    Hi Chandan,

    Apart from the above info, i have flashed BoschXDKCloudConnectivity template application in my XDK device and i am able to communicate with Bosch IOT Things Network.

    - So you might faced Network issue.

    things.jpg

    Thank You 🙂

    Highlighted
    Member

    Re: BoschXDKCloudConnectivity - Cannot publish sensor data to the Cloud

    Hello,

    I am facing the same problem. The transmission of the sensor data from IoT Things-Service to my cloud application stopped at March, 3rd. When I tried to enter the dashboard of the Tings-Service in my Bosch IoT Suite account, I got the message that due to the "Limit for transaction count is exceeded for this subscription" the "Solution is blocked". I subscribed a free service plan. In that plan the number of transactions is limited to 100,000 per month. See link here.

    As far as I know, the limit of 100,000 transactions was not enforced in the past, until march 2020. I think this is the reason why the setting with the BoschXDKCloudConnectivity + Bosch IoT things + cloud worked quite well in the last months and now it doesnt't any more.

    The BoschXDKCloudConnectivity is configured in that way, that it sends data every 15 seconds. That makes 4 messages per minute, 240 per hour, 5760 per day and 172,800 per month. I have two XDK running, so I went out of quota very soon..

    I am waiting to the first of April, than I'll see if I am right. I the meantime I am posting my sensor data via HTTP-POST to my cloud app.

    I Hope, this was helpful for you.

    Best regards

    Matthias Salzmann

     

     

    Highlighted
    Senior Member

    Re: BoschXDKCloudConnectivity - Cannot publish sensor data to the Cloud

    Hi Chandhan,

    For tracking purpose of message threads, please ''accept as solution'' if you got solution.

    Thank You 🙂

    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