BoschXDKCloudConnectivity
응답
19. 2. 21 오후 12:23

I've already run the BoschXDKCloudConnectivity home but when I wanted to run again in my job it doesnt work, I changed de WLAN Settings but I am still getting the same error. I tried again to conect in my place and also doesnt work, I changed the ID of the sensor but when I run again it is showing in the console different values as I have set for the DTLSPSKIDENTITY , DTLSPSKSECRETKEY , KVKTWLVWRADIRPNT, LWM2MENDPOINT values. 

INFO | XDK DEVICE 1:  WLANPersonalWPA2Connect : Error in WlanConnect_WPA 
 INFO | XDK DEVICE 1: AppControllerEnable : Failed 
 INFO | XDK DEVICE 1: Error in WLAN package.
 INFO | XDK DEVICE 1:     Package ID: 10    Module ID: 2    Severity code: 2    Error code: 67
 INFO | XDK DEVICE 1: asserted at Filename C:/Users/claud/XDK-Workspace/BoschXDKCloudConnectivity/source/AppController.c , line no  800 
 INFO | Creating Firmware Over the Air (FOTA) Container
 INFO | Binary File: C:\Users\claud\XDK-Workspace\BoschXDKCloudConnectivity\debug\BoschXDKCloudConnectivity.bin

 

Regards 

Claudia

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 2. 28 오전 4:53 as a reply to Claudia Anaguano.

Hi Claudia,

Please check your wifi connection. In the attachment the error shows us that their is connection error.

I would like to know if you are using SD card for configuration or AppController.h

Config.txt will be generated from bosch iot suite. Try to give the same configurations in AppController.h and also if you are not using SD card.

#define LWM2M_DTLS_PSK_IDENTITY_DEFAULT          "bosch.xdk\5137918597992246" 

Please adjust the value from the config.txt. In C a "\" escapes the character afterward, so replace the single "\" with a double "\\" in AppController.h

#define LWM2M_DTLS_PSK_IDENTITY_DEFAULT          "bosch.xdk\\5137918597992246"
+1 (1 투표)
RE: BoschXDKCloudConnectivity
응답
19. 3. 25 오전 11:42 as a reply to Priyashi Yadav.

Hey Priyashi, 

Thanks for your answer, indeed the problem is the configuration of the network in the company. Normally, It works. 

 

Regards 

Claudia

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 3. 25 오후 12:19 as a reply to Claudia Anaguano.

Hello,

im also having trouble with the BoschXDKCloudConnectivity.

I only changed my wifi settings and when i wanna flash it, the console says following: 

Flashing aborted due to not supported firmware size for XMODEM file transfer.
The supported size for this Bootloader is 614400 Bytes. Size of ... is 789280 Bytes.
Please have a look into the documentation. 

 

Maybe someone can help me what i could do.

Greetings

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 3. 29 오전 6:26 as a reply to Emily Lindner.

Hi Emily

Can you tell me which workbench version you are using ?

Please use our latest workench v3.6.0.

Thanks

Priyashi

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 4. 2 오전 10:44 as a reply to Priyashi Yadav.

Hi

I was using the v3.5.0, cause when im checking for updates it doesnt recommend me them.

Is it only possible if i reinstall it with v3.6.0?

Regards

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 4. 2 오전 11:25 as a reply to Emily Lindner.

Hi Emily

Yes you have to install workbench v3.6.0 as the issues relating to frmware size has been resolved.

Thanks

Priyashi

+1 (1 투표)
RE: BoschXDKCloudConnectivity
응답
19. 4. 2 오후 12:21 as a reply to Priyashi Yadav.

The update for the workbench worked now, thank you for that!

Now when i flash the BoschXDKCloudConnectivity on my device i see following on the console:

 

 INFO | XDK DEVICE 1: Firmware Version : v3.6.0-0.0.0 
 INFO | XDK DEVICE 1: Application Configuration:
 INFO | XDK DEVICE 1: [               SSID] = [FRITZ!Box Fon WLAN 7390]
 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] = [5491040892400973]
 INFO | XDK DEVICE 1: [    DTLSPSKIDENTITY] = [bosch.xdk\5491040892400973]
 INFO | XDK DEVICE 1: [   DTLSPSKSECRETKEY] = [AUQVPATWIRBUMXJX]
 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.188.24
 INFO | XDK DEVICE 1:               Mask    255.255.255.0
 INFO | XDK DEVICE 1:               Gateway 192.168.188.1
 INFO | XDK DEVICE 1:               DNS     192.168.188.1
 INFO | XDK DEVICE 1: WLANPersonalWPA2Connect : Connected to WPA network successfully. 
 INFO | XDK DEVICE 1: srand(4294963636)
 INFO | XDK DEVICE 1: FOTA_EVENT_PARTITION_AGENT_INIT_OK 
 INFO | XDK DEVICE 1: LWM2M_Enable : with DTLS (PSK) 
 INFO | XDK DEVICE 1: AppControllerFire : SNTP server time was not synchronized for '1' time. Retrying...

last keeps continue, any idea what could be a solution?

Regards

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 4. 3 오전 6:34 as a reply to Emily Lindner.

Hi Emily

Your SNTP time is not synchronised.

In AppController.h of BoschCloudConnectivity application do the following changes.

#define SNTP_SERVER_URL                     "0.de.pool.ntp.org"

If  "0.de.pool.ntp.org" is not working try using "time.nist.gov"

Make sure you have good internet connection.

Thanks

Priyashi

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 4. 3 오전 10:33 as a reply to Priyashi Yadav.

Hi Priyashi,

unfortunately its not getting better now im recieving following on my console (picture).

Do you know what the problem could be now? 

Regards

Emily

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 4. 4 오전 5:14 as a reply to Emily Lindner.

Hi Emily

Can you tell me if you are using SD card.

If yes then use config.txt which got generated from the iot suite without doing any changes in the AppController.h

If the error comes again try using another SD card.

Clean and build and flash the application.

Thanks

Priyashi

 

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 7. 11 오전 11:51 as a reply to Priyashi Yadav.

Hi @Priyashi Yadav

I'm trying to run an SD Card Application but it didn't work with the part of WLAN. Can you take a look at the following screenshot? Maybe you have a solution why the xdk wont connects :(

 

0 (0 투표)
RE: BoschXDKCloudConnectivity
응답
19. 7. 16 오전 8:17 as a reply to Henric Breuer.

Hi Henric

Will you explain in detail what version you are using and what are you trying to do.

Also which server you are using ?

As the info is not clear.

Thanks

Priyashi

0 (0 투표)