Trying to connect nrf52833 with BG95 via PPP and creating a socket to ping google.com

I am trying to ping google.com using PPP connection using BG95 interfaced with nrf52833. I have used the gsm_modem sample code for PPP connection and when "Network connected" event occurs, creating a socket connection for http request. But when connect function is called it gives "Data Access Violation" error. In prj.conf file stack size configuration is "CONFIG_MAIN_STACK_SIZE=4096".

Here is the code file for the reference

kodiak-fw.zip

.

Parents Reply
  • I have added below config in prj.conf, It is showing warning on compile time. 
    CONFIG_PDN_DEFAULTS_OVERRIDE=y
    CONFIG_PDN=y

    It shows PDN dependency on NRF_MODEM_LIB and AT_MONITOR as they are by default set to "n".
    I have configured by setting both NRF_MODEM_LIB and AT_MONITOR to "y". And again it shows dependency on other configuration.

Children
Related