This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CMake error

Hi,

We are trying to install the nRF toolchain/SDK/SES etc. so that we can compile (modify for NB-IOT) and evaluate the nRF91 asset tracker.

We have followed all the steps in the Getting Started Assistant but the project is not compiling (see below).

Could you let me know where we are going wrong?

Thanks Ian

BTW:

During installation we got these error:

ERROR: pyocd 0.21.0 has requirement pyyaml<6.0,>=5.1, but you'll have pyyaml 4.2b4 which is incompatible.
ERROR: gitlint 0.11.0 has requirement Click==6.7, but you'll have click 7.0 which is incompatible

Loading solution asset_tracker.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=C:/Develop/nRF91_DK/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Develop/nRF91_DK/ncs/nrf/applications/asset_tracker/build -HC:/Develop/nRF91_DK/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/Develop/nRF91_DK/ses/arm_segger_embedded_studio_v418_win_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/Develop/nRF91_DK/ncs/nrf/applications/asset_tracker'
Zephyr version: 1.14.99
-- Selected BOARD nrf9160_pca10090
-- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.5.8", minimum required is "0.5.6")
-- Cache files will be written to: C:\Users\Ian\AppData\Local/.cache/zephyr
USING OUT OF TREE BOARD
CMake Error at C:/Develop/nRF91_DK/ncs/zephyr/cmake/compiler/gcc/generic.cmake:24 (message):
Executing the below command failed. Are permissions set correctly?

'C:/Users/Ian/Downloads/EmbeddedStudio_ARM_Nordic_v418_win_x64
(1)/arm_segger_embedded_studio_v418_win_x64_nordic/bin/cc.exe --version'

Call Stack (most recent call first):
C:/Develop/nRF91_DK/ncs/zephyr/cmake/generic_toolchain.cmake:68 (include)
C:/Develop/nRF91_DK/ncs/zephyr/cmake/app/boilerplate.cmake:483 (include)
CMakeLists.txt:11 (include)


-- Configuring incomplete, errors occurred!
See also "C:/Develop/nRF91_DK/ncs/nrf/applications/asset_tracker/build/CMakeFiles/CMakeOutput.log".
See also "C:/Develop/nRF91_DK/ncs/nrf/applications/asset_tracker/build/CMakeFiles/CMakeError.log".
Project load failed
Reported error: solution load command failed (1)

Parents
  • Hello Ian, 

    What version of the Getting Started Assistant are you using?

    ERROR: pyocd 0.21.0 has requirement pyyaml<6.0,>=5.1, but you'll have pyyaml 4.2b4 which is incompatible.
    ERROR: gitlint 0.11.0 has requirement Click==6.7, but you'll have click 7.0 which is incompatible

    Can you specify when you get these errors? 

    Selected BOARD nrf9160_pca10090

     You have selected the wrong board when compiling, this should be nrf9160_pca10090ns. This is due to the Secure Partition Manager.

    The following image shows how "Open nRF Connect SDK Project..." in SES should be configured.

    Kind regards,
    Øyvind

  • Hi Øyvind,

    We are using version 1.0.0.

    Thanks, that has fixed the error and we have successfully compiled the project.

    We have modified the project to work on nb-iot  but when we try to flash the DK we get and error.

    To download we are using SES>Target>Download Zephyr/merged.hex

    Are we doing something wrong?

    Thanks Ian

  • Have you tried using Build --> Build & Run in SES v4.18? For SES v4.16 we had a work-around to support flashing a multi-image project (SPM + APP). This should be fixed in v4.18.

    That said, you should not get the error you get when manually downloading the .hex file. I will report this internally.

    Kind regards,
    Øyvind

  • OK that worked, but only LED 3 is flashing (even after a wait) so I assume its not connecting?

    What is the best way to debug?

    We have set the unit to nb-iot mode, is that all we have to do?

    Also where are the source files for the project?

  • Yano said:
    OK that worked, but only LED 3 is flashing (even after a wait) so I assume its not connecting?

    Glad to hear you got it working. Yes, as long as LED3 is blinking alone, it is not connected.

    Please have a look at the Asset Tracker Application documentation

     

    Yano said:
    We have set the unit to nb-iot mode, is that all we have to do?

    Yes, this should be all you need to do. You can verify with issuing the command AT%XSYSTEMMODE=? in LTE Link Monitor.

    Yano said:
    What is the best way to debug?

    Using the LTE Link Monitor found in the nRF Connect for Desktop, you should be able to issue AT+CFUN? command. This should give much more information regarding your connection. If it does not work using Asset tracker, you may have to load the AT_client sample.

    Yano said:
    Also where are the source files for the project?

     You can find source files under <sourcecode_root>nrf\applications\asset_tracker, while AT_client is found under nrf\samples\nrf9160\at_client.


    Let me know how it works out for you.

    Kind regards,
    Øyvind

  • I didn't realise that the AT_client was there all the time!

    AT%XSYSTEMMODE=? just gives an error (which is strange) I assume you mean AT%XSYSTEMMODE? this responds with: %XSYSTEMMODE: 0,1,0,0 which I think is correct.

    All status is green except for LTE which is flashing yellow/red, what does that indicate?

    I think Vodafone Ireland requires you to set the APN with username and password but I did set these and save them but when I read back they're not set?

    AT+CGAUTH? gives an error for some reason.

    I tried these commands:

    AT+CGDCONT=0,"IP","ciot.vodafone.com"
    AT+CGAUTH=0,"PAP","vodafone","vodafone"

    I can't set them either when the modem is off or on?

    Is there a way to set them in the code?

    
    
    
    

    Below is the log could you have a look please?

    2019-07-11T11:40:16.810Z INFO Application data folder: C:\Users\Ian\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2019-07-11T11:40:18.723Z DEBUG App pc-nrfconnect-linkmonitor v1.0.0 official
    2019-07-11T11:40:18.723Z DEBUG App path: C:\Users\Ian\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2019-07-11T11:40:18.723Z DEBUG nRFConnect 3.0.0 is supported by the app (^3.0.0)
    2019-07-11T11:40:18.723Z DEBUG nRFConnect path: C:\Users\Ian\AppData\Local\Programs\nrfconnect\resources\app.asar
    2019-07-11T11:40:18.723Z DEBUG HomeDir: C:\Users\Ian
    2019-07-11T11:40:18.723Z DEBUG TmpDir: C:\Users\Ian\AppData\Local\Temp
    2019-07-11T11:40:21.719Z INFO Modem port is opened
    2019-07-11T11:40:21.723Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-07-11T11:40:21.739Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-07-11T11:40:21.740Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.755Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-07-11T11:40:21.772Z DEBUG modem << +CGSN: "352656100110413"\x0D\x0A
    2019-07-11T11:40:21.773Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:40:21.778Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-07-11T11:40:21.792Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-07-11T11:40:21.793Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.797Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-07-11T11:40:21.809Z DEBUG modem << nRF9160-SICA\x0D
    2019-07-11T11:40:21.812Z DEBUG modem << \x0A
    2019-07-11T11:40:21.813Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.816Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-07-11T11:40:21.829Z DEBUG modem << mfw_nrf9160_1.0.0\x0D
    2019-07-11T11:40:21.830Z DEBUG modem << \x0A
    2019-07-11T11:40:21.831Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:40:21.832Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100110413
    2019-07-11T11:40:21.834Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-07-11T11:40:21.846Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-07-11T11:40:21.848Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.852Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-07-11T11:40:21.868Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,19,20,25,26,28,66)\x0D\x0A
    2019-07-11T11:40:21.870Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.879Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-07-11T11:40:21.891Z DEBUG modem << +CMEE: 0\x0D
    2019-07-11T11:40:21.892Z DEBUG modem << \x0A
    2019-07-11T11:40:21.893Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.895Z DEBUG modem >> AT+CMEE=1\x0D\x0A
    2019-07-11T11:40:21.907Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:40:21.910Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-07-11T11:40:21.922Z DEBUG modem << +CNEC: 0\x0D\x0A
    2019-07-11T11:40:21.927Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.932Z DEBUG modem >> AT+CNEC=24\x0D\x0A
    2019-07-11T11:40:21.945Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.948Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-07-11T11:40:21.963Z DEBUG modem << +CGEREP: 0,0\x0D\x0A
    2019-07-11T11:40:21.964Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.968Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-07-11T11:40:21.982Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0\x0D\x0A
    2019-07-11T11:40:21.984Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:21.990Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-07-11T11:40:22.002Z DEBUG modem << +CGACT: 0,0\x0D\x0A
    2019-07-11T11:40:22.004Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.012Z DEBUG modem >> AT+CGEREP=1\x0D\x0A
    2019-07-11T11:40:22.025Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.030Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-07-11T11:40:22.045Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.049Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-07-11T11:40:22.061Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.065Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-07-11T11:40:22.081Z DEBUG modem << +CEREG: 2,2,"2332","02574A20",9\x0D\x0A
    2019-07-11T11:40:22.083Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:40:22.090Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-07-11T11:40:22.102Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.105Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:40:22.118Z DEBUG modem << +CESQ: 99,99,255,255,255,68\x0D\x0A
    2019-07-11T11:40:22.120Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:40:22.135Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-07-11T11:40:22.152Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.159Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-07-11T11:40:22.172Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-07-11T11:40:22.173Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.182Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-07-11T11:40:22.195Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-07-11T11:40:22.196Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.200Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-07-11T11:40:22.223Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-07-11T11:40:22.223Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.230Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-07-11T11:40:22.244Z DEBUG modem << 901280990314292\x0D\x0A
    2019-07-11T11:40:22.245Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:22.246Z INFO IMSIdentity: 901280990314292
    2019-07-11T11:40:28.468Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:40:28.491Z DEBUG modem << +CESQ: 99,99,255,255,255,68\x0D\x0A
    2019-07-11T11:40:28.495Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:38.468Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:40:38.482Z DEBUG modem << +CESQ: 99,99,255,255,255,68\x0D\x0A
    2019-07-11T11:40:38.483Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:48.470Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:40:48.483Z DEBUG modem << +CESQ: 99,99,255,255,255,68\x0D\x0A
    2019-07-11T11:40:48.485Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:40:48.889Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:40:48.893Z DEBUG modem << ERROR\x0D
    2019-07-11T11:40:48.894Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:40:51.277Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:40:51.283Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:40:51.284Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:40:52.519Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:40:52.533Z DEBUG modem << ERROR\x0D
    2019-07-11T11:40:52.534Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:40:53.405Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:40:53.419Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:40:53.420Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:40:53.854Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:40:53.859Z DEBUG modem << ERROR\x0D\x0A
    2019-07-11T11:40:53.860Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:40:54.619Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:40:54.632Z DEBUG modem << ERROR\x0D
    2019-07-11T11:40:54.633Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:40:58.470Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:40:58.488Z DEBUG modem << +CESQ: 99,99,255,255,255,68\x0D\x0A
    2019-07-11T11:40:58.489Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:08.468Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:41:08.503Z DEBUG modem << +CESQ: 99,99,255,255,255,68\x0D\x0A
    2019-07-11T11:41:08.505Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:15.380Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:41:15.393Z DEBUG modem << ERROR\x0D
    2019-07-11T11:41:15.395Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:41:18.467Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:41:18.494Z DEBUG modem << +CESQ: 99,99,255,255,255,68\x0D\x0A
    2019-07-11T11:41:18.496Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:36.282Z DEBUG modem >> AT+CFUN=4\x0D\x0A
    2019-07-11T11:41:36.340Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:39.357Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:41:39.370Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:41:39.372Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:41:40.450Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:41:40.463Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:41:40.464Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:41:51.540Z DEBUG modem >> AT+CFUN=1\x0D\x0A
    2019-07-11T11:41:51.582Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.292Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-07-11T11:41:54.296Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-07-11T11:41:54.303Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.310Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-07-11T11:41:54.315Z DEBUG modem << +CGSN: "352656100110413"\x0D\x0A
    2019-07-11T11:41:54.321Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.324Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-07-11T11:41:54.330Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-07-11T11:41:54.331Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.337Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-07-11T11:41:54.341Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-07-11T11:41:54.342Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.345Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-07-11T11:41:54.354Z DEBUG modem << mfw_nrf9160_1.0.0\x0D\x0A
    2019-07-11T11:41:54.355Z DEBUG modem << OK\x0D
    2019-07-11T11:41:54.356Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100110413
    2019-07-11T11:41:54.358Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-07-11T11:41:54.362Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-07-11T11:41:54.362Z DEBUG modem << OK\x0D
    2019-07-11T11:41:54.371Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-07-11T11:41:54.379Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,19,20,25,26,28,66)\x0D\x0A
    2019-07-11T11:41:54.380Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.388Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-07-11T11:41:54.393Z DEBUG modem << +CMEE: 1\x0D\x0A
    2019-07-11T11:41:54.394Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.397Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-07-11T11:41:54.403Z DEBUG modem << +CNEC: 24\x0D\x0A
    2019-07-11T11:41:54.404Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.407Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-07-11T11:41:54.411Z DEBUG modem << +CGEREP: 1,0\x0D\x0A
    2019-07-11T11:41:54.412Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.416Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-07-11T11:41:54.421Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:41:54.425Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-07-11T11:41:54.428Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.431Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-07-11T11:41:54.438Z DEBUG modem << +CEREG: 2,2,"2332","02574A20",9\x0D\x0A
    2019-07-11T11:41:54.439Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.443Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-07-11T11:41:54.447Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.455Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-07-11T11:41:54.460Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-07-11T11:41:54.461Z DEBUG modem << OK\x0D
    2019-07-11T11:41:54.465Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-07-11T11:41:54.471Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.475Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-07-11T11:41:54.478Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-07-11T11:41:54.479Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.487Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-07-11T11:41:54.491Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-07-11T11:41:54.492Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:41:54.496Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-07-11T11:41:54.509Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-07-11T11:41:54.511Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.514Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-07-11T11:41:54.522Z DEBUG modem << 901280990314292\x0D\x0A
    2019-07-11T11:41:54.523Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:41:54.523Z INFO IMSIdentity: 901280990314292
    2019-07-11T11:42:02.508Z DEBUG modem >> AT%XSYSTEMMODE=?\x0D\x0A
    2019-07-11T11:42:02.512Z DEBUG modem << ERROR\x0D
    2019-07-11T11:42:02.513Z ERROR Error: AT%XSYSTEMMODE=?
    failed
    2019-07-11T11:44:43.705Z DEBUG modem >> AT%XSYSTEMMODE?\x0D\x0A
    2019-07-11T11:44:43.719Z DEBUG modem << %XSYSTEMMODE: 0,1,0,0\x0D\x0A
    2019-07-11T11:44:43.720Z DEBUG modem << OK\x0D\x0A
    2019-07-11T11:50:08.133Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-07-11T11:50:08.147Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0\x0D
    2019-07-11T11:50:08.151Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:50:32.449Z DEBUG modem >> AT+CGAUTH?\x0D\x0A
    2019-07-11T11:50:32.453Z DEBUG modem << ERROR\x0D
    2019-07-11T11:50:32.454Z ERROR Error: AT+CGAUTH?
    failed
    2019-07-11T11:50:33.993Z DEBUG modem >> AT+CGAUTH?\x0D\x0A
    2019-07-11T11:50:34.009Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:50:34.011Z ERROR Error: AT+CGAUTH?
    failed
    2019-07-11T11:50:35.044Z DEBUG modem >> AT+CGAUTH?\x0D\x0A
    2019-07-11T11:50:35.048Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:50:35.048Z ERROR Error: AT+CGAUTH?
    failed
    2019-07-11T11:52:34.003Z DEBUG modem >> AT+CFUN=4\x0D\x0A
    2019-07-11T11:52:34.061Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:52:36.538Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:52:36.553Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:36.554Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:52:37.923Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:52:37.938Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:37.939Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:52:38.736Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:52:38.755Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:38.757Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:52:40.887Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:52:40.902Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:40.903Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:52:41.713Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:52:41.727Z DEBUG modem << ERROR\x0D
    2019-07-11T11:52:41.728Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:52:42.643Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:52:42.659Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:42.660Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:52:44.829Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:52:44.844Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:44.846Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed
    2019-07-11T11:52:45.663Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:52:45.678Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:45.679Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed
    2019-07-11T11:52:46.744Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:52:46.760Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:46.761Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed
    2019-07-11T11:52:48.218Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:52:48.237Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:52:48.238Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed
    2019-07-11T11:52:58.925Z DEBUG modem >> AT+CFUN=1\x0D\x0A
    2019-07-11T11:52:58.966Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:53:00.733Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:53:00.739Z DEBUG modem << ERROR\x0D\x0A
    2019-07-11T11:53:00.740Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:53:02.127Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:53:02.137Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:53:02.138Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:53:03.002Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:53:03.009Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:53:03.010Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed
    2019-07-11T11:53:03.650Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:53:03.657Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:53:03.658Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed
    2019-07-11T11:53:06.183Z DEBUG modem >> AT+CFUN=4\x0D\x0A
    2019-07-11T11:53:06.220Z DEBUG modem << OK\x0D\x0A\x00
    2019-07-11T11:53:12.270Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:53:12.289Z DEBUG modem << ERROR\x0D
    2019-07-11T11:53:12.290Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:53:13.238Z DEBUG modem >> AT+CGDCONT=0,"IP","ciot.vodafone.com"\x0D\x0A
    2019-07-11T11:53:13.256Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:53:13.257Z ERROR Error: AT+CGDCONT=0,"IP","ciot.vodafone.com"
    failed
    2019-07-11T11:53:14.334Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:53:14.356Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:53:14.357Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed
    2019-07-11T11:53:14.970Z DEBUG modem >> AT+CGAUTH=0,"PAP","vodafone","vodafone"\x0D\x0A
    2019-07-11T11:53:14.990Z DEBUG modem << ERROR\x0D\x0A\x00
    2019-07-11T11:53:14.991Z ERROR Error: AT+CGAUTH=0,"PAP","vodafone","vodafone"
    failed

  • From what I can see, this is correct. 

    Yano said:
    AT+CGDCONT=0,"IP","ciot.vodafone.com"

    This needs to be called before AT+CFUN=1. Please try to issue this first using the AT_client.

Reply Children
No Data
Related