This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PDP Usage

Hi,

I'm trying to configure my LTE modem (Icarus Board + nRF 9160 + SDK 1.7) with an external SIM.

For that i have to use the PDP configuration.

I use in my prj.conf this method:

# LTE-M (LTE-CatM1)
CONFIG_NETWORKING=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_BSD_LIBRARY=y
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_NEWLIB_LIBC=y

CONFIG_LTE_LINK_CONTROL=y
#CONFIG_BOARD_SELECT_SIM_EXTERNAL=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n
CONFIG_LTE_PDP_CMD=y
CONFIG_LTE_PDP_CONTEXT="0,\"IPv4v6\",\"myapn\""

However, when compiling, i have the following error:

warning: attempt to assign the value 'y' to the undefined symbol LTE_PDP_CMD

Any ideas ?

Thanks !

Parents
  • Hi,

     

    There's unfortunately an API change in ncs v1.7.0 wrt. to this handling.

    Can you try to set these configurations?

    CONFIG_PDN=y
    CONFIG_PDN_DEFAULTS_OVERRIDE=y
    CONFIG_PDN_SYS_INIT=y
    # Note: "ip" is set by PDN_DEFAULT_FAM kconfig's
    # example:
    # AT+CGDCONT=1,"ip","apn" - below only sets APN field
    CONFIG_PDN_DEFAULT_APN="myapn"
    CONFIG_PDN_DEFAULT_FAM_IPV4V6=y

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    There's unfortunately an API change in ncs v1.7.0 wrt. to this handling.

    Can you try to set these configurations?

    CONFIG_PDN=y
    CONFIG_PDN_DEFAULTS_OVERRIDE=y
    CONFIG_PDN_SYS_INIT=y
    # Note: "ip" is set by PDN_DEFAULT_FAM kconfig's
    # example:
    # AT+CGDCONT=1,"ip","apn" - below only sets APN field
    CONFIG_PDN_DEFAULT_APN="myapn"
    CONFIG_PDN_DEFAULT_FAM_IPV4V6=y

     

    Kind regards,

    Håkon

Children
Related