not able to get IP address using NB-IoT network using PPP.

Hi,

I am working on custom board which has nrf9160 as modem and stm32 as host controller.

here I am used lwip stack on stm32 controller to get the IP address.

I have NB-IoT SIM card on nrf9160 and I am trying to get IP address from it.

Now the issue is while using LWIP stack I am not the IP address.

Here I am attach the logs form LTE network which get the IP address from LWIP stack using PPP on Quectel Modem.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<INF> 17763 [CellularSe] client ppp_notify_phase_cb: PPP_PHASE_DEAD
>
<INF> 17763 [CellularSe] ppposif_client_dead
>
<L > 17763 [CellularSe] ppp_connect[0]: holdoff=0
>
<L > 17763 [CellularSe] ppp phase changed[0]: phase=3
>
<L > 18003 [TCP/IP ] sct calling h=dns_tmr t=0 arg=0x80ddf44
>
<L > 18003 [TCP/IP ] tcpip: dns_tmr()
>
<L > 18003 [TCP/IP ] dns_tmr: dns_check_entries
>
<L > 18003 [TCP/IP ] sys_timeout: 0x2007dde4 abs_time=19003 handler=dns_tmr arg=0x80ddf44
>
<INF> 18263 [CellularSe] client ppp_notify_phase_cb: PPP_PHASE_INITIALIZE
>
<L > 18263 [CellularSe] pppos_connect: unit 0: connecting
>
<L > 18263 [CellularSe] ppp_start[0]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

when I used NRF9160 modem I am not able to IP address from same LWIP stack using PPP.
here is the logs when I used NRF9160 as  modem (application used in nrf9160 Serial LTE modem (2.5.0)).

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<INF> 70841 [CellularSe] client ppp_notify_phase_cb: PPP_PHASE_DEAD
>
<INF> 70841 [CellularSe] ppposif_client_dead
>
<L > 70841 [CellularSe] ppp_connect[0]: holdoff=0
>
<L > 70841 [CellularSe] ppp phase changed[0]: phase=3
>
<L > 71012 [TCP/IP ] sct calling h=dns_tmr t=0 arg=0x80e5ebc
>
<L > 71012 [TCP/IP ] tcpip: dns_tmr()
>
<L > 71012 [TCP/IP ] dns_tmr: dns_check_entries
>
<L > 71012 [TCP/IP ] sys_timeout: 0x20083558 abs_time=72012 handler=dns_tmr arg=0x80e5ebc
>
<INF> 71341 [CellularSe] client ppp_notify_phase_cb: PPP_PHASE_INITIALIZE
>
<L > 71341 [CellularSe] pppos_connect: unit 0: connecting
>
<L > 71341 [CellularSe] ppp_start[0]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


is there any configuration from NRF9160 side, that we are missing in serial lte modem application.